diff --git a/.gitignore b/.gitignore index 63a2ab6..b23b335 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.src.rpm /psl-types-2.0.10.crate +/psl-types-2.0.11.crate diff --git a/rust-psl-types.spec b/rust-psl-types.spec index 178cb27..29cfbde 100644 --- a/rust-psl-types.spec +++ b/rust-psl-types.spec @@ -1,22 +1,22 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate psl-types -Name: rust-%{crate} -Version: 2.0.10 +Name: rust-psl-types +Version: 2.0.11 Release: %autorelease Summary: Common types for the public suffix implementation crates # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/psl-types Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Common types for the public suffix implementation crates.} @@ -33,9 +33,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE LICENSE-APACHE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%license %{crate_instdir}/LICENSE-APACHE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +48,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 52667ae..1919372 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (psl-types-2.0.10.crate) = 3ee7c50829d2468677896936f899c521b4acd5f78a8ed90b0e50b8245bcb6bfeec4838529654c443201e6ddc84cfc8dcdd767abd50fa7c3470a6595e5f3e5939 +SHA512 (psl-types-2.0.11.crate) = c609f6a414bc1f5f98c22f9ca73e3908ddaf10e33ef43f408ab8ae2f8c544c0f70cc1a73b1fcfa20ea53f2225f60922f6d28d2e5d31a9877550c2ef3520ee2b7