commit 9b765f74a971644f63998ee71bcf6e7e33fca4e9 Author: MSVSphere Packaging Team Date: Fri Dec 20 17:24:08 2024 +0300 import rust-sync_wrapper-1.0.2-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..24e7d71 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/sync_wrapper-1.0.2.crate diff --git a/.rust-sync_wrapper.metadata b/.rust-sync_wrapper.metadata new file mode 100644 index 0000000..c1f9472 --- /dev/null +++ b/.rust-sync_wrapper.metadata @@ -0,0 +1 @@ +0faaa04fbbdf75dbdbf519df25f574b68ea32d5d SOURCES/sync_wrapper-1.0.2.crate diff --git a/SPECS/rust-sync_wrapper.spec b/SPECS/rust-sync_wrapper.spec new file mode 100644 index 0000000..0e065a4 --- /dev/null +++ b/SPECS/rust-sync_wrapper.spec @@ -0,0 +1,124 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## 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 27 +%bcond check 1 +%global debug_package %{nil} + +%global crate sync_wrapper + +Name: rust-sync_wrapper +Version: 1.0.2 +Release: %autorelease +Summary: Tool for enlisting the compiler's help in proving the absence of concurrency + +License: Apache-2.0 +URL: https://crates.io/crates/sync_wrapper +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A tool for enlisting the compiler's help in proving the absence of +concurrency.} + +%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 +%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}+futures-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+futures-devel %{_description} + +This package contains library source intended for building other packages which +use the "futures" feature of the "%{crate}" crate. + +%files -n %{name}+futures-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+futures-core-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+futures-core-devel %{_description} + +This package contains library source intended for building other packages which +use the "futures-core" feature of the "%{crate}" crate. + +%files -n %{name}+futures-core-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.0.2-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Tue Nov 26 2024 Fabio Valentini - 1.0.2-1 +- Update to version 1.0.2; Fixes RHBZ#2327629 + +* Sat Jul 20 2024 Fedora Release Engineering - 1.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Tue Apr 30 2024 Benjamin A. Beasley - 1.0.1-1 +- Update to version 1.0.1; Fixes RHBZ#2269632 + +* Sat Jan 27 2024 Fedora Release Engineering - 0.1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jul 06 2023 Fabio Valentini - 0.1.2-1 +- Initial import (#2214389) +## END: Generated by rpmautospec