From 54f23d6c2431baee2b637ea790704aea1e5b6f68 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 14:50:35 +0300 Subject: [PATCH] import rust-atomic-0.6.0-2.el10 --- .gitignore | 1 + .rust-atomic.metadata | 1 + SPECS/rust-atomic.spec | 143 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 145 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-atomic.metadata create mode 100644 SPECS/rust-atomic.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..20dbca0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/atomic-0.6.0.crate diff --git a/.rust-atomic.metadata b/.rust-atomic.metadata new file mode 100644 index 0000000..2cc6744 --- /dev/null +++ b/.rust-atomic.metadata @@ -0,0 +1 @@ +1292c5c5b8fdbd41b955d0999522b4d473ee7a93 SOURCES/atomic-0.6.0.crate diff --git a/SPECS/rust-atomic.spec b/SPECS/rust-atomic.spec new file mode 100644 index 0000000..ec780b7 --- /dev/null +++ b/SPECS/rust-atomic.spec @@ -0,0 +1,143 @@ +## 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 +%bcond_without check +%global debug_package %{nil} + +%global crate atomic + +Name: rust-atomic +Version: 0.6.0 +Release: %autorelease +Summary: Generic Atomic wrapper type + +# Upstream license specification: Apache-2.0/MIT +License: Apache-2.0 OR MIT +URL: https://crates.io/crates/atomic +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Generic Atomic wrapper type.} + +%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}+fallback-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+fallback-devel %{_description} + +This package contains library source intended for building other packages which +use the "fallback" feature of the "%{crate}" crate. + +%files -n %{name}+fallback-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+nightly-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nightly-devel %{_description} + +This package contains library source intended for building other packages which +use the "nightly" feature of the "%{crate}" crate. + +%files -n %{name}+nightly-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} -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 - 0.6.0-2 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 0.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon May 13 2024 Fabio Valentini - 0.6.0-1 +- Update to version 0.6.0; Fixes RHBZ#2227387 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.5.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.5.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed May 17 2023 Fabio Valentini - 0.5.3-1 +- Update to version 0.5.3; Fixes RHBZ#2204483 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.5.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Feb 12 2022 Jan Baudisch - 0.5.1-1 +- Initial import (fedora#2005925). +## END: Generated by rpmautospec