commit 1ae4261c3b11d2a33aca3f61f729b43ea56ac5a3 Author: tigro Date: Tue Nov 21 13:19:02 2023 +0300 import rust-atomic-0.5.3-1.el9 diff --git a/.rust-atomic.metadata b/.rust-atomic.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/atomic-0.5.3.crate b/SOURCES/atomic-0.5.3.crate new file mode 100644 index 0000000..81287bf Binary files /dev/null and b/SOURCES/atomic-0.5.3.crate differ diff --git a/SPECS/rust-atomic.spec b/SPECS/rust-atomic.spec new file mode 100644 index 0000000..961a4e3 --- /dev/null +++ b/SPECS/rust-atomic.spec @@ -0,0 +1,129 @@ +## 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 atomic + +Name: rust-atomic +Version: 0.5.3 +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: rust-packaging >= 21 + +%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_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Tue Nov 21 2023 Arkady L. Shane - 0.5.3-1 +- Rebuilt for MSVSphere 9.2 + +* 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).