commit 28e893e32c45e1a070f77d2bb647f3ca129c6ba6 Author: tigro Date: Mon Jan 15 20:44:26 2024 +0300 import rust-cfg-expr-0.15.6-1.el9 diff --git a/.rust-cfg-expr.metadata b/.rust-cfg-expr.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/cfg-expr-0.15.6.crate b/SOURCES/cfg-expr-0.15.6.crate new file mode 100644 index 0000000..3e9d591 Binary files /dev/null and b/SOURCES/cfg-expr-0.15.6.crate differ diff --git a/SPECS/rust-cfg-expr.spec b/SPECS/rust-cfg-expr.spec new file mode 100644 index 0000000..ffcd19b --- /dev/null +++ b/SPECS/rust-cfg-expr.spec @@ -0,0 +1,176 @@ +## 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 25 +%bcond_without check +%global debug_package %{nil} + +%global crate cfg-expr + +Name: rust-cfg-expr +Version: 0.15.6 +Release: %autorelease +Summary: Parser and evaluator for Rust cfg() expressions + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/cfg-expr +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A parser and evaluator for Rust `cfg()` expressions.} + +%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}/CHANGELOG.md +%doc %{crate_instdir}/CODE_OF_CONDUCT.md +%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}+target-lexicon-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+target-lexicon-devel %{_description} + +This package contains library source intended for building other packages which +use the "target-lexicon" feature of the "%{crate}" crate. + +%files -n %{name}+target-lexicon-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+targets-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+targets-devel %{_description} + +This package contains library source intended for building other packages which +use the "targets" feature of the "%{crate}" crate. + +%files -n %{name}+targets-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -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 - 0.15.6-1 +- Rebuilt for MSVSphere 9.3 + +* Wed Jan 03 2024 Fabio Valentini - 0.15.6-1 +- Update to version 0.15.6; Fixes RHBZ#2256441 + +* Tue Sep 19 2023 Fabio Valentini - 0.15.5-1 +- Update to version 0.15.5; Fixes RHBZ#2238016 + +* Fri Jul 28 2023 Fabio Valentini - 0.15.4-1 +- Update to version 0.15.4; Fixes RHBZ#2227323 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.15.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jun 23 2023 Fabio Valentini - 0.15.3-1 +- Update to version 0.15.3; Fixes RHBZ#2216010 + +* Fri Jun 02 2023 Fabio Valentini - 0.15.2-1 +- Update to version 0.15.2; Fixes RHBZ#2211907 + +* Thu May 04 2023 Fabio Valentini - 0.15.1-1 +- Update to version 0.15.1; Fixes RHBZ#2130184 + +* Mon Apr 17 2023 Fabio Valentini - 0.14.0-1 +- Update to version 0.14.0 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.11.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Dec 10 2022 Fabio Valentini - 0.11.0-1 +- Update to version 0.11.0 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.10.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon May 23 2022 Fabio Valentini - 0.10.3-1 +- Update to version 0.10.3; Fixes RHBZ#2088293 + +* Fri Feb 25 2022 Fabio Valentini - 0.10.2-1 +- Update to version 0.10.2; Fixes RHBZ#2050634 + +* Wed Feb 02 2022 Rémi Lauzier - 0.9.1-1 +- Update to version 0.9.1; Fixes RHBZ#2048915 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Nov 15 2021 Rémi Lauzier - 0.9.0-1 +- Update to version 0.9.0; Fixes RHBZ#1999486 + +* Thu Aug 05 2021 Rémi Lauzier - 0.8.1-1 +- Update to version 0.8.1; Fixes RHBZ#1990578 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.8.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sun Jul 18 2021 Rémi Lauzier - 0.8.0-3 +- Relax target-lexicon to version 0.12; Fixes RHBZ#1983368 + +* Fri Jul 16 2021 Rémi Lauzier - 0.8.0-2 +- Really update to version 0.8.0; Fixes RHBZ#1982978 + +* Fri Jul 16 2021 Rémi Lauzier - 0.8.0-1 +- Update to version 0.8.0; Fixes RHBZ#1982978 + +* Mon Jul 12 2021 Rémi Lauzier - 0.7.4-2 +- Update for target-lexicon 0.12; Fixes RHBZ#1981348 + +* Sat Jul 10 2021 Rémi Lauzier - 0.7.4-1 +- Initial package; Fixes RHBZ#1976529