diff --git a/.gitignore b/.gitignore index 3f15f1c..2983b0e 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /ppv-lite86-0.2.10.crate /ppv-lite86-0.2.15.crate /ppv-lite86-0.2.16.crate +/ppv-lite86-0.2.17.crate diff --git a/rust-ppv-lite86.spec b/rust-ppv-lite86.spec index ccd6348..7b97444 100644 --- a/rust-ppv-lite86.spec +++ b/rust-ppv-lite86.spec @@ -1,22 +1,20 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate ppv-lite86 -Name: rust-%{crate} -Version: 0.2.16 +Name: rust-ppv-lite86 +Version: 0.2.17 Release: %autorelease Summary: Implementation of the crypto-simd API for x86 # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/ppv-lite86 Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Implementation of the crypto-simd API for x86.} @@ -33,9 +31,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +46,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+no_simd-devel Summary: %{summary} @@ -59,7 +58,7 @@ This package contains library source intended for building other packages which use the "no_simd" feature of the "%{crate}" crate. %files -n %{name}+no_simd-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+simd-devel Summary: %{summary} @@ -71,7 +70,7 @@ This package contains library source intended for building other packages which use the "simd" feature of the "%{crate}" crate. %files -n %{name}+simd-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -83,7 +82,7 @@ This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-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 5e4306e..4e28948 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ppv-lite86-0.2.16.crate) = 264b916f7d1bb6f1c0c0d3cc45f40b72b638abc7174416b49241c3663fe500409509ef6c8241a24515a21a20288c2ba508035b6b37972e4ae7ad02ad19118b74 +SHA512 (ppv-lite86-0.2.17.crate) = 539d916e7e5869d832045c1aa88aec519bd000227f9b01d4dd0bfc9ffb640d5f5eb21b05eba718174773c97192a655ad3cb31b53ceb914dd19179a6699b3583a