commit 176f43a9e46351cf46c43659842888bd0a597ac1 Author: tigro Date: Mon Jan 15 13:29:09 2024 +0300 import rust-bitmaps-2.1.0-9.el9 diff --git a/.rust-bitmaps.metadata b/.rust-bitmaps.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/bitmaps-2.1.0.crate b/SOURCES/bitmaps-2.1.0.crate new file mode 100644 index 0000000..a36a012 Binary files /dev/null and b/SOURCES/bitmaps-2.1.0.crate differ diff --git a/SOURCES/bitmaps-fix-metadata.diff b/SOURCES/bitmaps-fix-metadata.diff new file mode 100644 index 0000000..13d0983 --- /dev/null +++ b/SOURCES/bitmaps-fix-metadata.diff @@ -0,0 +1,15 @@ +--- bitmaps-2.1.0/Cargo.toml 2020-03-26T13:33:13+00:00 ++++ bitmaps-2.1.0/Cargo.toml 2022-12-20T20:41:13.080777+00:00 +@@ -25,10 +25,10 @@ + [dependencies.typenum] + version = "1.10.0" + [dev-dependencies.proptest] +-version = "0.9.1" ++version = "1.0.0" + + [dev-dependencies.proptest-derive] +-version = "0.1.0" ++version = "0.3.0" + + [features] + default = ["std"] diff --git a/SPECS/rust-bitmaps.spec b/SPECS/rust-bitmaps.spec new file mode 100644 index 0000000..3f344ac --- /dev/null +++ b/SPECS/rust-bitmaps.spec @@ -0,0 +1,124 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.0) +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 9; + 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 23 +%bcond_without check +%global debug_package %{nil} + +%global crate bitmaps + +Name: rust-bitmaps +Version: 2.1.0 +Release: %autorelease +Summary: Fixed size boolean arrays + +License: MPL-2.0+ +URL: https://crates.io/crates/bitmaps +Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * bump proptest dev-dependency from 0.9 to 1.0 +# * bump proptest-derive dev-dependency from 0.1 to 0.3 +Patch: bitmaps-fix-metadata.diff + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Fixed size boolean arrays.} + +%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}/LICENCE.md +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/CODE_OF_CONDUCT.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}+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 +* Mon Jan 15 2024 Arkady L. Shane - 2.1.0-9 +- Rebuilt for MSVSphere 9.3 + +* Tue Dec 20 2022 Fabio Valentini 2.1.0-9 +- Bump to proptest 1.0 and proptest-derive 0.3 + +* Sat Jul 23 2022 Fedora Release Engineering - 2.1.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 2.1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 2.1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 2.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Sep 25 2020 Fabio Valentini - 2.1.0-3 +- Bump proptest to 0.10 and proptest-derive to 0.2. + +* Wed Jul 29 2020 Fedora Release Engineering - 2.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Apr 01 2020 Josh Stone - 2.1.0-1 +- Update to 2.1.0 + +* Sat Feb 15 12:48:54 CET 2020 Igor Raits - 2.0.0-1 +- Initial package +