diff --git a/README.md b/README.md deleted file mode 100644 index 45a2106..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-quickcheck - -The rust-quickcheck package \ No newline at end of file diff --git a/rust-quickcheck.spec b/rust-quickcheck.spec index 4fa0a54..a390194 100644 --- a/rust-quickcheck.spec +++ b/rust-quickcheck.spec @@ -1,27 +1,20 @@ -# Generated by rust2rpm 19 -# * temporarily disable tests to work around LLVM codegen issue -# hopefully fixed by: https://src.fedoraproject.org/rpms/llvm11/pull-request/2 -%bcond_with check +# Generated by rust2rpm 24 +%bcond_without check %global debug_package %{nil} %global crate quickcheck -Name: rust-%{crate} +Name: rust-quickcheck Version: 1.0.3 Release: %autorelease Summary: Automatic property based testing with shrinking # Upstream license specification: Unlicense/MIT -License: Unlicense or 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 +BuildRequires: rust-packaging >= 21 %global _description %{expand: Automatic property based testing with shrinking.} @@ -35,12 +28,14 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate. %files devel -%license COPYING LICENSE-MIT UNLICENSE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%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} @@ -49,10 +44,10 @@ 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. +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+env_logger-devel Summary: %{summary} @@ -61,10 +56,10 @@ 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. +use the "env_logger" feature of the "%{crate}" crate. %files -n %{name}+env_logger-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+log-devel Summary: %{summary} @@ -73,10 +68,10 @@ 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. +use the "log" feature of the "%{crate}" crate. %files -n %{name}+log-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+regex-devel Summary: %{summary} @@ -85,10 +80,10 @@ 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. +use the "regex" feature of the "%{crate}" crate. %files -n %{name}+regex-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+use_logging-devel Summary: %{summary} @@ -97,10 +92,10 @@ 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. +use the "use_logging" feature of the "%{crate}" crate. %files -n %{name}+use_logging-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1