From fb20a9ba428407deab74bc3d89158345b48bb8dc Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 25 Mar 2021 15:47:07 +0100 Subject: [PATCH] initial import (quickcheck 0.9 compat package) --- .gitignore | 1 + README.md | 3 - rust-quickcheck0.9.spec | 135 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 137 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 rust-quickcheck0.9.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d8912ba --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/quickcheck-0.9.2.crate diff --git a/README.md b/README.md deleted file mode 100644 index 9766a38..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-quickcheck0.9 - -The rust-quickcheck0.9 package diff --git a/rust-quickcheck0.9.spec b/rust-quickcheck0.9.spec new file mode 100644 index 0000000..ea942fa --- /dev/null +++ b/rust-quickcheck0.9.spec @@ -0,0 +1,135 @@ +# Generated by rust2rpm 13 +%bcond_without check +%global debug_package %{nil} + +%global crate quickcheck + +Name: rust-%{crate}0.9 +Version: 0.9.2 +Release: 1%{?dist} +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} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%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 "%{crate}" crate. + +%files devel +%license UNLICENSE LICENSE-MIT COPYING +%doc README.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%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 "default" feature of "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "env_logger" feature of "%{crate}" crate. + +%files -n %{name}+env_logger-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "log" feature of "%{crate}" crate. + +%files -n %{name}+log-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "regex" feature of "%{crate}" crate. + +%files -n %{name}+regex-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "unstable" feature of "%{crate}" crate. + +%files -n %{name}+unstable-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "use_logging" feature of "%{crate}" crate. + +%files -n %{name}+use_logging-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 +* Thu Mar 25 2021 Fabio Valentini - 0.9.2-1 +- Initial compat package for quickcheck 0.9 diff --git a/sources b/sources new file mode 100644 index 0000000..983de1b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (quickcheck-0.9.2.crate) = a136316dcf7daac3d879a660a61c768bd14b647fe53e7a5c2731f197106fa9a351456417ae8e588247d3b9da0c26707c6dc55c1e1fa6f8bf47e40727ce0d5030