## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 23 %bcond_without check %global crate pulldown-cmark Name: rust-pulldown-cmark Version: 0.9.2 Release: %autorelease Summary: Pull parser for CommonMark License: MIT URL: https://crates.io/crates/pulldown-cmark Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency to speed up builds Patch: pulldown-cmark-fix-metadata.diff BuildRequires: rust-packaging >= 23 %global _description %{expand: Pull parser for CommonMark.} %description %{_description} %package -n %{crate} Summary: %{summary} # MIT # MIT OR Apache-2.0 # Unlicense OR MIT License: MIT # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %license LICENSE.dependencies %doc CONTRIBUTING.md %doc README.md %{_bindir}/pulldown-cmark %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE %doc %{crate_instdir}/CONTRIBUTING.md %doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gen-tests-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gen-tests-devel %{_description} This package contains library source intended for building other packages which use the "gen-tests" feature of the "%{crate}" crate. %files -n %{name}+gen-tests-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+getopts-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+getopts-devel %{_description} This package contains library source intended for building other packages which use the "getopts" feature of the "%{crate}" crate. %files -n %{name}+getopts-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+simd-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+simd-devel %{_description} This package contains library source intended for building other packages which use the "simd" feature of the "%{crate}" crate. %files -n %{name}+simd-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -a %build %cargo_build %cargo_license_summary %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Thu Dec 15 2022 Fabio Valentini 0.9.2-1 - Update to version 0.9.2; Fixes RHBZ#2034952 * Fri Nov 04 2022 Fabio Valentini 0.8.0-9 - Drop unused, benchmark-only criterion dev-dependency * Sat Jul 23 2022 Fedora Release Engineering - 0.8.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek - 0.8.0-6 - Rebuild with package notes * Fri Jan 21 2022 Fedora Release Engineering - 0.8.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Aug 07 2021 Fabio Valentini - 0.8.0-4 - Rebuild with crossbeam-deque 0.8.1 / 0.7.4 for CVE-2021-32810 * Fri Jul 23 2021 Fedora Release Engineering - 0.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Dec 25 11:19:56 CET 2020 Igor Raits - 0.8.0-1 - Update to 0.8.0 * Wed Jul 29 2020 Fedora Release Engineering - 0.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 10 2020 Josh Stone - 0.7.2-1 - Update to 0.7.2 * Thu May 07 2020 Josh Stone - 0.7.1-1 - Update to 0.7.1 * Sat Feb 22 19:29:22 CET 2020 Igor Raits - 0.7.0-1 - Update to 0.7.0 * Sat Feb 15 16:29:57 CET 2020 Igor Raits - 0.6.1-3 - Update html5ever to 0.25 * Thu Jan 30 2020 Fedora Release Engineering - 0.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Nov 19 2019 Josh Stone - 0.6.1-1 - Update to 0.6.1 * Fri Sep 13 18:40:36 CEST 2019 Robert-André Mauchin - 0.6.0-1 - Update to 0.6.0 * Sun Jul 28 18:31:45 CEST 2019 Igor Gnatenko - 0.5.3-1 - Update to 0.5.3 * Fri Jul 26 2019 Fedora Release Engineering - 0.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Jun 22 20:31:59 CEST 2019 Igor Gnatenko - 0.5.2-2 - Regenerate * Fri May 31 15:34:29 CEST 2019 Igor Gnatenko - 0.5.2-1 - Update to 0.5.2 * Tue May 14 15:27:10 CEST 2019 Igor Gnatenko - 0.5.1-1 - Update to 0.5.1 * Tue Apr 16 2019 Josh Stone - 0.4.1-1 - Update to 0.4.1 * Thu Apr 04 07:55:23 CEST 2019 Igor Gnatenko - 0.4.0-1 - Update to 0.4.0 * Sat Feb 02 2019 Fedora Release Engineering - 0.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 21 2018 Igor Gnatenko - 0.1.2-1 - Update to 0.1.2 * Fri Feb 09 2018 Fedora Release Engineering - 0.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Igor Gnatenko - 0.1.0-2 - Rebuild for rust-packaging v5 * Mon Nov 13 2017 Igor Gnatenko - 0.1.0-1 - Initial package