From 75d128d36327343cc3b01cd0362194c784393228 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 16:47:58 +0300 Subject: [PATCH] import rust-quickcheck0.9-0.9.2-11.el10 --- .gitignore | 1 + .rust-quickcheck0.9.metadata | 1 + SOURCES/quickcheck-fix-metadata.diff | 11 ++ SOURCES/rust2rpm.toml | 5 + SPECS/rust-quickcheck0.9.spec | 178 +++++++++++++++++++++++++++ 5 files changed, 196 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-quickcheck0.9.metadata create mode 100644 SOURCES/quickcheck-fix-metadata.diff create mode 100644 SOURCES/rust2rpm.toml create mode 100644 SPECS/rust-quickcheck0.9.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69346f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/quickcheck-0.9.2.crate diff --git a/.rust-quickcheck0.9.metadata b/.rust-quickcheck0.9.metadata new file mode 100644 index 0000000..0918db9 --- /dev/null +++ b/.rust-quickcheck0.9.metadata @@ -0,0 +1 @@ +5f7dabdcbcc7173add5a7b57e97178779ea28846 SOURCES/quickcheck-0.9.2.crate diff --git a/SOURCES/quickcheck-fix-metadata.diff b/SOURCES/quickcheck-fix-metadata.diff new file mode 100644 index 0000000..2f5d29f --- /dev/null +++ b/SOURCES/quickcheck-fix-metadata.diff @@ -0,0 +1,11 @@ +--- quickcheck-0.9.2/Cargo.toml 2020-01-14T14:10:18+00:00 ++++ quickcheck-0.9.2/Cargo.toml 2024-08-29T11:54:30.331748+00:00 +@@ -28,7 +28,7 @@ + [lib] + name = "quickcheck" + [dependencies.env_logger] +-version = "0.7.0" ++version = "0.8.0" + optional = true + default-features = false + diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..669b2cb --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,5 @@ +[package] +cargo-toml-patch-comments = [ + "bump env_logger dependency from 0.7 to 0.8", +] + diff --git a/SPECS/rust-quickcheck0.9.spec b/SPECS/rust-quickcheck0.9.spec new file mode 100644 index 0000000..0dd4a65 --- /dev/null +++ b/SPECS/rust-quickcheck0.9.spec @@ -0,0 +1,178 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.1) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 11; + 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 + +Name: rust-quickcheck0.9 +Version: 0.9.2 +Release: %autorelease +Summary: Automatic property based testing with shrinking + +# Upstream license specification: Unlicense/MIT +License: Unlicense OR MIT +URL: https://crates.io/crates/quickcheck +Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * bump env_logger dependency from 0.7 to 0.8 +Patch: quickcheck-fix-metadata.diff + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Automatic property based testing with shrinking.} + +%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 +%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}+env_logger-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+env_logger-devel %{_description} + +This package contains library source intended for building other packages which +use the "env_logger" feature of the "%{crate}" crate. + +%files -n %{name}+env_logger-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+log-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+log-devel %{_description} + +This package contains library source intended for building other packages which +use the "log" feature of the "%{crate}" crate. + +%files -n %{name}+log-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+regex-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+regex-devel %{_description} + +This package contains library source intended for building other packages which +use the "regex" feature of the "%{crate}" crate. + +%files -n %{name}+regex-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+unstable-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unstable-devel %{_description} + +This package contains library source intended for building other packages which +use the "unstable" feature of the "%{crate}" crate. + +%files -n %{name}+unstable-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+use_logging-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+use_logging-devel %{_description} + +This package contains library source intended for building other packages which +use the "use_logging" feature of the "%{crate}" crate. + +%files -n %{name}+use_logging-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 - 0.9.2-11 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Thu Aug 29 2024 Fabio Valentini - 0.9.2-11 +- Bump env_logger dependency from 0.7 to 0.8 + +* Sat Jul 20 2024 Fedora Release Engineering - 0.9.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.9.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.9.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed May 17 2023 Fabio Valentini - 0.9.2-7 +- Regenerate with rust2rpm v24 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.9.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.9.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.9.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.9.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Mar 25 2021 Fabio Valentini - 0.9.2-1 +- Initial compat package for quickcheck 0.9 + +## END: Generated by rpmautospec