diff --git a/.gitignore b/.gitignore index 6d336ed..3134a63 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /rand_hc-0.2.0.crate /rand_hc-0.3.0.crate /rand_hc-0.3.1.crate +/rand_hc-0.3.2.crate diff --git a/README.md b/README.md deleted file mode 100644 index 8d04bdb..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-rand_hc - -The rust-rand_hc package \ No newline at end of file diff --git a/rust-rand_hc.spec b/rust-rand_hc.spec index 0c76852..160de17 100644 --- a/rust-rand_hc.spec +++ b/rust-rand_hc.spec @@ -1,25 +1,19 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate rand_hc -Name: rust-%{crate} -Version: 0.3.1 +Name: rust-rand_hc +Version: 0.3.2 Release: %autorelease Summary: HC128 random number generator -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/rand_hc Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: HC128 random number generator.} @@ -33,12 +27,15 @@ 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 COPYRIGHT LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/COPYRIGHT +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 82ccce3..fc8375d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rand_hc-0.3.1.crate) = 582bb44b81c27e698eb57c6f06444b8a7c9d3f7ee73f4e14be8004c4bfd3bbfd9795c69f7294b5e87107e86b90fa3e91ad080964474af81c92705d356e43fbb5 +SHA512 (rand_hc-0.3.2.crate) = d2be113e3c409d6e799253df0aceb2f58ea42a0b322cecbb374b14fbdc32230beb64175b1d1d073996abb80a83b118288edbdd1d111ee227da51d7e83fb58252