From 7fec6b7f2efc140262aef698feb334c04c9dfd4d Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 16:48:08 +0300 Subject: [PATCH] import rust-quickcheck_macros-1.0.0-9.el10 --- .gitignore | 1 + .rust-quickcheck_macros.metadata | 1 + SOURCES/quickcheck_macros-fix-metadata.diff | 10 ++ SOURCES/rust2rpm.toml | 5 + SPECS/rust-quickcheck_macros.spec | 126 ++++++++++++++++++++ 5 files changed, 143 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-quickcheck_macros.metadata create mode 100644 SOURCES/quickcheck_macros-fix-metadata.diff create mode 100644 SOURCES/rust2rpm.toml create mode 100644 SPECS/rust-quickcheck_macros.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2e05e76 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/quickcheck_macros-1.0.0.crate diff --git a/.rust-quickcheck_macros.metadata b/.rust-quickcheck_macros.metadata new file mode 100644 index 0000000..1e98e16 --- /dev/null +++ b/.rust-quickcheck_macros.metadata @@ -0,0 +1 @@ +78c823dacafde7b5db1a9b92225f2b1e1f6c2255 SOURCES/quickcheck_macros-1.0.0.crate diff --git a/SOURCES/quickcheck_macros-fix-metadata.diff b/SOURCES/quickcheck_macros-fix-metadata.diff new file mode 100644 index 0000000..5e0bfcc --- /dev/null +++ b/SOURCES/quickcheck_macros-fix-metadata.diff @@ -0,0 +1,10 @@ +--- quickcheck_macros-1.0.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ quickcheck_macros-1.0.0/Cargo.toml 2024-09-14T12:44:40.272698+00:00 +@@ -18,7 +18,6 @@ + description = "A macro attribute for quickcheck." + homepage = "https://github.com/BurntSushi/quickcheck" + documentation = "https://docs.rs/quickcheck" +-readme = "../README.md" + keywords = ["testing", "quickcheck", "property", "shrinking", "fuzz"] + license = "Unlicense/MIT" + repository = "https://github.com/BurntSushi/quickcheck" diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..0034818 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,5 @@ +[package] +cargo-toml-patch-comments = [ + "remove reference to readme file that is not included in published crates", +] + diff --git a/SPECS/rust-quickcheck_macros.spec b/SPECS/rust-quickcheck_macros.spec new file mode 100644 index 0000000..a7a26e8 --- /dev/null +++ b/SPECS/rust-quickcheck_macros.spec @@ -0,0 +1,126 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%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 26 +%bcond_without check +%global debug_package %{nil} + +%global crate quickcheck_macros + +Name: rust-quickcheck_macros +Version: 1.0.0 +Release: %autorelease +Summary: Macro attribute for quickcheck + +# Upstream license specification: Unlicense/MIT +License: Unlicense OR MIT +URL: https://crates.io/crates/quickcheck_macros +Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * remove reference to readme file that is not included in published crates +Patch: quickcheck_macros-fix-metadata.diff + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A macro attribute for quickcheck.} + +%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}/COPYING +%license %{crate_instdir}/LICENSE-MIT +%license %{crate_instdir}/UNLICENSE +%{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.0.0-9 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Sep 14 2024 Fabio Valentini - 1.0.0-9 +- Remove reference to readme file that is not included in published crates + +* Sat Jul 20 2024 Fedora Release Engineering - 1.0.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 1.0.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 1.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 07 2023 Fabio Valentini - 1.0.0-5 +- Regenerate with rust2rpm v24 + +* Sat Jan 21 2023 Fedora Release Engineering - 1.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 1.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sat Nov 06 2021 Fabio Valentini - 1.0.0-1 +- Update to version 1.0.0; Fixes RHBZ#1914275 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.9.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.9.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.9.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Feb 28 19:39:11 CET 2020 Igor Raits - 0.9.1-1 +- Initial package + +## END: Generated by rpmautospec