From 94d706ac85b87bb4814aba4d34c80ac5ab30ca3a Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 14:45:55 +0300 Subject: [PATCH] import rust-arc-swap-1.7.1-2.el10 --- .gitignore | 1 + .rust-arc-swap.metadata | 1 + SOURCES/rust2rpm.toml | 4 + SPECS/rust-arc-swap.spec | 249 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 255 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-arc-swap.metadata create mode 100644 SOURCES/rust2rpm.toml create mode 100644 SPECS/rust-arc-swap.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..692a682 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/arc-swap-1.7.1.crate diff --git a/.rust-arc-swap.metadata b/.rust-arc-swap.metadata new file mode 100644 index 0000000..ddfa0e3 --- /dev/null +++ b/.rust-arc-swap.metadata @@ -0,0 +1 @@ +30769198ba2949770ddeac6bc8bbfc9a72685e69 SOURCES/arc-swap-1.7.1.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..2a0b482 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["missing dev-dependency: adaptive-barrier"] + diff --git a/SPECS/rust-arc-swap.spec b/SPECS/rust-arc-swap.spec new file mode 100644 index 0000000..d5b2d0d --- /dev/null +++ b/SPECS/rust-arc-swap.spec @@ -0,0 +1,249 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 2; + 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 26 +# * missing dev-dependency: adaptive-barrier +%bcond_with check +%global debug_package %{nil} + +%global crate arc-swap + +Name: rust-arc-swap +Version: 1.7.1 +Release: %autorelease +Summary: Atomically swappable Arc + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/arc-swap +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Atomically swappable Arc.} + +%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}/README.md +%doc %{crate_instdir}/TODO +%{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}+experimental-strategies-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+experimental-strategies-devel %{_description} + +This package contains library source intended for building other packages which +use the "experimental-strategies" feature of the "%{crate}" crate. + +%files -n %{name}+experimental-strategies-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+experimental-thread-local-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+experimental-thread-local-devel %{_description} + +This package contains library source intended for building other packages which +use the "experimental-thread-local" feature of the "%{crate}" crate. + +%files -n %{name}+experimental-thread-local-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+internal-test-strategies-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+internal-test-strategies-devel %{_description} + +This package contains library source intended for building other packages which +use the "internal-test-strategies" feature of the "%{crate}" crate. + +%files -n %{name}+internal-test-strategies-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}+weak-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+weak-devel %{_description} + +This package contains library source intended for building other packages which +use the "weak" feature of the "%{crate}" crate. + +%files -n %{name}+weak-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 +* Fri Dec 20 2024 MSVSphere Packaging Team - 1.7.1-2 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 1.7.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Apr 05 2024 blinxen - 1.7.1-1 +- Update to version 1.7.1; Fixes RHBZ#2271179 + +* Tue Mar 05 2024 Fabio Valentini - 1.7.0-1 +- Update to version 1.7.0; Fixes RHBZ#2267546 + +* Fri Jan 26 2024 Fedora Release Engineering - 1.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 1.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sun Jan 29 2023 Fabio Valentini - 1.6.0-1 +- Update to version 1.6.0; Fixes RHBZ#2157190 + +* Fri Jan 20 2023 Fedora Release Engineering - 1.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Aug 02 2022 Fabio Valentini - 1.5.1-1 +- Update to version 1.5.1; Fixes RHBZ#2112583 + +* Sat Jul 23 2022 Fedora Release Engineering - 1.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 1.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Nov 19 2021 Fabio Valentini - 1.5.0-1 +- Update to version 1.5.0; Fixes RHBZ#1996472 + +* Fri Jul 23 2021 Fedora Release Engineering - 1.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu May 27 2021 Fabio Valentini - 1.3.0-1 +- Update to version 1.3.0. +- Fixes RHBZ#1963743 + +* Thu May 06 2021 Fabio Valentini - 1.2.0-1 +- Update to version 1.2.0. + +* Wed Jan 27 2021 Fedora Release Engineering - 0.4.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.4.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jun 10 2020 Josh Stone - 0.4.7-1 +- Update to 0.4.7 + +* Tue Apr 21 2020 Josh Stone - 0.4.6-1 +- Update to 0.4.6 + +* Wed Mar 18 11:12:25 CET 2020 Igor Raits - 0.4.5-1 +- Update to 0.4.5 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.4.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Nov 19 08:08:12 CET 2019 Igor Gnatenko - 0.4.4-1 +- Update to 0.4.4 + +* Sat Sep 21 13:32:29 CEST 2019 Igor Gnatenko - 0.4.3-1 +- Update to 0.4.3 + +* Sun Sep 08 09:32:48 CEST 2019 Igor Gnatenko - 0.4.2-1 +- Update to 0.4.2 + +* Tue Aug 06 08:37:56 CEST 2019 Igor Gnatenko - 0.4.1-1 +- Update to 0.4.1 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.3.11-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jun 22 10:20:25 CEST 2019 Igor Gnatenko - 0.3.11-2 +- Regenerate + +* Mon Apr 15 2019 Josh Stone - 0.3.11-1 +- Update to 0.3.11 + +* Sat Apr 13 2019 Josh Stone - 0.3.10-1 +- Update to 0.3.10 + +* Sat Apr 06 11:05:36 CEST 2019 Igor Gnatenko - 0.3.9-1 +- Update to 0.3.9 + +* Wed Mar 27 22:00:24 CET 2019 Igor Gnatenko - 0.3.8-1 +- Update to 0.3.8 + +* Sat Feb 02 2019 Fedora Release Engineering - 0.3.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Jan 07 2019 Josh Stone - 0.3.7-1 +- Update to 0.3.7 + +* Thu Nov 29 2018 Josh Stone - 0.3.6-1 +- Update to 0.3.6 + +* Thu Nov 15 2018 Josh Stone - 0.3.5-1 +- Initial package + +## END: Generated by rpmautospec