From ed360f9c1d344aa794c7fd02b16e52a8a00d1807 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:19:14 +0300 Subject: [PATCH] import rust-derive_arbitrary-1.4.1-1.el10 --- .gitignore | 1 + .rust-derive_arbitrary.metadata | 1 + SPECS/rust-derive_arbitrary.spec | 144 +++++++++++++++++++++++++++++++ 3 files changed, 146 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-derive_arbitrary.metadata create mode 100644 SPECS/rust-derive_arbitrary.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..31074f5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/derive_arbitrary-1.4.1.crate diff --git a/.rust-derive_arbitrary.metadata b/.rust-derive_arbitrary.metadata new file mode 100644 index 0000000..ecf179b --- /dev/null +++ b/.rust-derive_arbitrary.metadata @@ -0,0 +1 @@ +37b03407b2f908c6bc05463e0a6cf90730eaaffe SOURCES/derive_arbitrary-1.4.1.crate diff --git a/SPECS/rust-derive_arbitrary.spec b/SPECS/rust-derive_arbitrary.spec new file mode 100644 index 0000000..936cb22 --- /dev/null +++ b/SPECS/rust-derive_arbitrary.spec @@ -0,0 +1,144 @@ +## 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 26 +%bcond_without check +%global debug_package %{nil} + +%global crate derive_arbitrary + +Name: rust-derive_arbitrary +Version: 1.4.1 +Release: %autorelease +Summary: Derives arbitrary traits + +# Upstream license specification: MIT/Apache-2.0 +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/derive_arbitrary +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Derives arbitrary traits.} + +%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 + +%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.4.1-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Wed Nov 13 2024 Fabio Valentini - 1.4.1-1 +- Update to version 1.4.1; Fixes RHBZ#2323717 + +* Mon Aug 05 2024 Fabio Valentini - 1.3.2-1 +- Update to version 1.3.2; Fixes RHBZ#2247106 + +* Fri Jul 19 2024 Fedora Release Engineering - 1.3.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 1.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 1.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jun 02 2023 Fabio Valentini - 1.3.1-1 +- Update to version 1.3.1; Fixes RHBZ#2211852 + +* Thu Mar 16 2023 Fabio Valentini - 1.3.0-1 +- Update to version 1.3.0; Fixes RHBZ#2177905 + +* Fri Feb 03 2023 Fabio Valentini - 1.2.3-1 +- Update to version 1.2.3; Fixes RHBZ#2158007 + +* Fri Jan 20 2023 Fedora Release Engineering - 1.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Dec 14 2022 Fabio Valentini - 1.2.1-1 +- Update to version 1.2.1; Fixes RHBZ#2136606 + +* Sat Sep 10 2022 Fabio Valentini - 1.1.6-1 +- Update to version 1.1.6; Fixes RHBZ#2122379 + +* Sat Jul 23 2022 Fedora Release Engineering - 1.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jul 16 2022 Fabio Valentini - 1.1.3-1 +- Update to version 1.1.3; Fixes RHBZ#2107528 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Apr 21 2021 Fabio Valentini - 1.0.0-1 +- Update to version 1.0.0. + +* Sun Feb 14 2021 Fabio Valentini - 0.4.7-1 +- Update to version 0.4.7. + +* Wed Jan 27 2021 Fedora Release Engineering - 0.4.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Aug 26 02:21:27 CEST 2020 Robert-André Mauchin - 0.4.6-1 +- Update to 0.4.6 + +* Tue Aug 25 12:01:19 BST 2020 Peter Robinson - 0.4.5-1 +- Initial package + +## END: Generated by rpmautospec