diff --git a/.gitignore b/.gitignore index c75e5ce..83d5a66 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /cookie_store-0.12.0.crate /cookie_store-0.15.1.crate /cookie_store-0.16.1.crate +/cookie_store-0.20.0.crate diff --git a/rust-cookie_store.spec b/rust-cookie_store.spec index 3371ef4..a36984d 100644 --- a/rust-cookie_store.spec +++ b/rust-cookie_store.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate cookie_store Name: rust-cookie_store -Version: 0.16.1 +Version: 0.20.0 Release: %autorelease Summary: Implementation of Cookie storage and retrieval @@ -14,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/cookie_store Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Implementation of Cookie storage and retrieval.} @@ -62,6 +62,18 @@ use the "indexmap" feature of the "%{crate}" crate. %files -n %{name}+indexmap-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+log_secure_cookie_values-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+log_secure_cookie_values-devel %{_description} + +This package contains library source intended for building other packages which +use the "log_secure_cookie_values" feature of the "%{crate}" crate. + +%files -n %{name}+log_secure_cookie_values-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+preserve_order-devel Summary: %{summary} BuildArch: noarch @@ -74,8 +86,32 @@ use the "preserve_order" feature of the "%{crate}" crate. %files -n %{name}+preserve_order-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+public_suffix-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+public_suffix-devel %{_description} + +This package contains library source intended for building other packages which +use the "public_suffix" feature of the "%{crate}" crate. + +%files -n %{name}+public_suffix-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+publicsuffix-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+publicsuffix-devel %{_description} + +This package contains library source intended for building other packages which +use the "publicsuffix" feature of the "%{crate}" crate. + +%files -n %{name}+publicsuffix-devel +%ghost %{crate_instdir}/Cargo.toml + %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..da1cfd5 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[features] +hide = ["wasm-bindgen"] + diff --git a/sources b/sources index 9d7cd84..6a2269c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cookie_store-0.16.1.crate) = 7fecc8f55df4a03c93fc45865b0eec134de1f43ebbd3e46ae591b512d41c1946b6f5b0370199d0b5aa000fe94f71395d06945e291e2cd96c4cd3166d17b5928d +SHA512 (cookie_store-0.20.0.crate) = c2da6bd8e42c52ce91ef2a1a5c68bfdfa6a0125847cd5d3a8dc49ff9e46ac865ce5d10f9d4376ba640e4c0efbd6868ac88dcfa9ca85d91cedaea37d30be452e4