diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5fd7c78 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/cookie_store-0.20.0.crate diff --git a/.rust-cookie_store.metadata b/.rust-cookie_store.metadata index e69de29..a99473a 100644 --- a/.rust-cookie_store.metadata +++ b/.rust-cookie_store.metadata @@ -0,0 +1 @@ +fb9f422a4012e0ffd028c85f87ab9133d1f5aef1 SOURCES/cookie_store-0.20.0.crate diff --git a/SOURCES/cookie_store-0.16.1.crate b/SOURCES/cookie_store-0.16.1.crate deleted file mode 100644 index e85cd14..0000000 Binary files a/SOURCES/cookie_store-0.16.1.crate and /dev/null differ diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..da1cfd5 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,3 @@ +[features] +hide = ["wasm-bindgen"] + diff --git a/SPECS/rust-cookie_store.spec b/SPECS/rust-cookie_store.spec index c17bdf6..38ce114 100644 --- a/SPECS/rust-cookie_store.spec +++ b/SPECS/rust-cookie_store.spec @@ -1,31 +1,30 @@ ## START: Set by rpmautospec -## (rpmautospec version 0.3.0) +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: - release_number = 2; + release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec -# Generated by rust2rpm 21 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate cookie_store -Name: rust-%{crate} -Version: 0.16.1 +Name: rust-cookie_store +Version: 0.20.0 Release: %autorelease Summary: Implementation of Cookie storage and retrieval # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/cookie_store Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Implementation of Cookie storage and retrieval.} @@ -73,6 +72,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 @@ -85,8 +96,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 @@ -104,19 +139,31 @@ use the "preserve_order" feature of the "%{crate}" crate. %endif %changelog -* Mon Jan 15 2024 Arkady L. Shane - 0.16.1-2 +* Mon Jan 15 2024 Arkady L. Shane - 0.20.0-1 - Rebuilt for MSVSphere 9.3 -* Sat Jul 23 2022 Fedora Release Engineering 0.16.1-2 +* Mon Jan 08 2024 Fabio Valentini - 0.20.0-1 +- Update to version 0.20.0; Fixes RHBZ#2122457 + +* Sun Aug 06 2023 Fabio Valentini - 0.16.1-5 +- Regenerate with rust2rpm v24 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.16.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jan 20 2023 Fedora Release Engineering - 0.16.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.16.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild -* Sun Jul 17 2022 Fabio Valentini 0.16.1-1 +* Sun Jul 17 2022 Fabio Valentini - 0.16.1-1 - Update to version 0.16.1; Fixes RHBZ#2066409 -* Fri Jan 21 2022 Fedora Release Engineering 0.15.1-2 +* Fri Jan 21 2022 Fedora Release Engineering - 0.15.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild -* Wed Jan 05 2022 Fabio Valentini 0.15.1-1 +* Wed Jan 05 2022 Fabio Valentini - 0.15.1-1 - Update to version 0.15.1; Fixes RHBZ#1938349 * Fri Jul 23 2021 Fedora Release Engineering - 0.12.0-3