From 722a64e06a94d7b9a351bbe118bdfb8ec73db499 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 14:55:28 +0300 Subject: [PATCH] import rust-bit_field-0.10.2-4.el10 --- .gitignore | 1 + .rust-bit_field.metadata | 1 + SOURCES/README.md | 3 ++ SPECS/rust-bit_field.spec | 103 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 108 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-bit_field.metadata create mode 100644 SOURCES/README.md create mode 100644 SPECS/rust-bit_field.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d674043 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/bit_field-0.10.2.crate diff --git a/.rust-bit_field.metadata b/.rust-bit_field.metadata new file mode 100644 index 0000000..68e0f2a --- /dev/null +++ b/.rust-bit_field.metadata @@ -0,0 +1 @@ +55d0d60450aac85471b935ae069bfc79af1d2834 SOURCES/bit_field-0.10.2.crate diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..cc34a29 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# rust-bit_field + +The rust-bit_field package diff --git a/SPECS/rust-bit_field.spec b/SPECS/rust-bit_field.spec new file mode 100644 index 0000000..f81215a --- /dev/null +++ b/SPECS/rust-bit_field.spec @@ -0,0 +1,103 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 4; + 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 bit_field + +Name: rust-bit_field +Version: 0.10.2 +Release: %autorelease +Summary: Simple bit field trait providing get_bit, get_bits, set_bit, and set_bits methods for Rust's integral types + +# Upstream license specification: Apache-2.0/MIT +License: Apache-2.0 OR MIT +URL: https://crates.io/crates/bit_field +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Simple bit field trait providing get_bit, get_bits, set_bit, and +set_bits methods for Rust's integral types.} + +%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 +%{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 + +%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 +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.10.2-4 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 0.10.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.10.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.10.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Feb 25 2023 Orion Poplawski - 0.10.2-1 +- Update to 0.10.2 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sun Aug 14 2022 Orion Poplawski - 0.10.1-1 +- Initial import +## END: Generated by rpmautospec