commit a85f0d68ea588a0762b9160a00eb1a9e29f64dc7 Author: tigro Date: Mon Jan 15 22:09:13 2024 +0300 import rust-pest_derive-2.7.3-1.el9 diff --git a/.rust-pest_derive.metadata b/.rust-pest_derive.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/pest_derive-2.7.3.crate b/SOURCES/pest_derive-2.7.3.crate new file mode 100644 index 0000000..7e9b8fb Binary files /dev/null and b/SOURCES/pest_derive-2.7.3.crate differ diff --git a/SOURCES/pest_derive-fix-metadata.diff b/SOURCES/pest_derive-fix-metadata.diff new file mode 100644 index 0000000..2f60de5 --- /dev/null +++ b/SOURCES/pest_derive-fix-metadata.diff @@ -0,0 +1,10 @@ +--- pest_derive-2.7.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ pest_derive-2.7.3/Cargo.toml 2023-09-19T21:21:26.568423+00:00 +@@ -44,7 +44,6 @@ + [features] + default = ["std"] + grammar-extras = ["pest_generator/grammar-extras"] +-not-bootstrap-in-src = ["pest_generator/not-bootstrap-in-src"] + std = [ + "pest/std", + "pest_generator/std", diff --git a/SPECS/rust-pest_derive.spec b/SPECS/rust-pest_derive.spec new file mode 100644 index 0000000..cfc2f65 --- /dev/null +++ b/SPECS/rust-pest_derive.spec @@ -0,0 +1,210 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%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 24 +%bcond_without check +%global debug_package %{nil} + +%global crate pest_derive + +Name: rust-pest_derive +Version: 2.7.3 +Release: %autorelease +Summary: Pest's derive macro + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/pest_derive +Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * drop feature for bootstrap build mode +Patch: pest_derive-fix-metadata.diff + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Pest's derive macro.} + +%description %{_description} + +%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-APACHE +%license %{crate_instdir}/LICENSE-MIT +%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}+grammar-extras-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+grammar-extras-devel %{_description} + +This package contains library source intended for building other packages which +use the "grammar-extras" feature of the "%{crate}" crate. + +%files -n %{name}+grammar-extras-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Mon Jan 15 2024 Arkady L. Shane - 2.7.3-1 +- Rebuilt for MSVSphere 9.3 + +* Tue Sep 19 2023 Fabio Valentini - 2.7.3-1 +- Update to version 2.7.3; Fixes RHBZ#2236146 + +* Sun Aug 27 2023 Fabio Valentini - 2.7.2-1 +- Update to version 2.7.2; Fixes RHBZ#2228091 + +* Fri Jul 21 2023 Fedora Release Engineering - 2.7.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon Jul 17 2023 Fabio Valentini - 2.7.1-1 +- Update to version 2.7.1; Fixes RHBZ#2215706 + +* Thu May 04 2023 Fabio Valentini - 2.6.0-1 +- Update to version 2.6.0; Fixes RHBZ#2189951 + +* Sun Apr 02 2023 Fabio Valentini - 2.5.7-1 +- Update to version 2.5.7; Fixes RHBZ#2183405 + +* Thu Mar 16 2023 Fabio Valentini - 2.5.6-1 +- Update to version 2.5.6; Fixes RHBZ#2175456 + +* Tue Feb 28 2023 Fabio Valentini - 2.5.5-1 +- Update to version 2.5.5; Fixes RHBZ#2168005 + +* Fri Feb 03 2023 Fabio Valentini - 2.5.4-1 +- Update to version 2.5.4; Fixes RHBZ#2140177 + +* Sat Jan 21 2023 Fedora Release Engineering - 2.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Oct 08 2022 Fabio Valentini - 2.4.0-1 +- Update to version 2.4.0; Fixes RHBZ#2125968 + +* Sun Aug 21 2022 Fabio Valentini - 2.3.0-1 +- Update to version 2.3.0; Fixes RHBZ#2112464 + +* Sat Jul 23 2022 Fedora Release Engineering - 2.1.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 2.1.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 2.1.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 2.1.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 2.1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 2.1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 2.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jun 20 00:17:27 CEST 2019 Igor Gnatenko - 2.1.0-3 +- Regenerate + +* Sat Feb 02 2019 Fedora Release Engineering - 2.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jan 08 2019 Josh Stone - 2.1.0-1 +- Update to 2.1.0 + +* Sat Nov 10 2018 Igor Gnatenko - 2.0.1-1 +- Update to 2.0.1 + +* Fri Nov 09 2018 Josh Stone - 1.0.8-2 +- Adapt to new packaging + +* Sat Sep 08 2018 Josh Stone - 1.0.8-1 +- Update to 1.0.8 + +* Sat Jul 14 2018 Fedora Release Engineering - 1.0.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 14 2018 Igor Gnatenko - 1.0.7-1 +- Update to 1.0.7 + +* Fri Feb 23 2018 Igor Gnatenko - 1.0.6-2 +- Restore spec + +* Fri Feb 23 2018 Igor Gnatenko - 1.0.6-1 +- Update to 1.0.6 + +* Mon Feb 19 2018 Igor Gnatenko - 1.0.5-1 +- Update to 1.0.5 + +* Fri Feb 09 2018 Fedora Release Engineering - 1.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jan 26 2018 Igor Gnatenko - 1.0.3-1 +- Update to 1.0.3 + +* Tue Jan 23 2018 Igor Gnatenko - 1.0.2-1 +- Update to 1.0.2 + +* Sun Jan 21 2018 Igor Gnatenko - 1.0.1-1 +- Initial package +