diff --git a/.gitignore b/.gitignore index 0e6d389..c75e5ce 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /cookie_store-0.11.0.crate /cookie_store-0.12.0.crate /cookie_store-0.15.1.crate +/cookie_store-0.16.1.crate diff --git a/rust-cookie_store.spec b/rust-cookie_store.spec index 468ad7d..b75125d 100644 --- a/rust-cookie_store.spec +++ b/rust-cookie_store.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate cookie_store Name: rust-%{crate} -Version: 0.15.1 +Version: 0.16.1 Release: %autorelease Summary: Implementation of Cookie storage and retrieval @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Implementation of Cookie storage and retrieval.} @@ -33,9 +33,12 @@ 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 CONTRIBUTORS.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/CONTRIBUTORS.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +50,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}+indexmap-devel Summary: %{summary} @@ -59,7 +62,7 @@ This package contains library source intended for building other packages which use the "indexmap" feature of the "%{crate}" crate. %files -n %{name}+indexmap-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+preserve_order-devel Summary: %{summary} @@ -71,7 +74,7 @@ This package contains library source intended for building other packages which use the "preserve_order" feature of the "%{crate}" crate. %files -n %{name}+preserve_order-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 088fae5..9d7cd84 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cookie_store-0.15.1.crate) = 1e42149f4e811d441d46daa2a995b8c37e81f8202b300636ab1741ec82f4b1dccc0f881e4e4ace0cace67dae9af4858025b783e3a1a0cf5afb41beff67fb2b46 +SHA512 (cookie_store-0.16.1.crate) = 7fecc8f55df4a03c93fc45865b0eec134de1f43ebbd3e46ae591b512d41c1946b6f5b0370199d0b5aa000fe94f71395d06945e291e2cd96c4cd3166d17b5928d