From 986c0673a3956ced652fff5361a76d7cd8c143b4 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:10:40 +0300 Subject: [PATCH] import rust-cookie_store-0.21.0-2.el10 --- .gitignore | 1 + .rust-cookie_store.metadata | 1 + SOURCES/rust2rpm.toml | 3 + SPECS/rust-cookie_store.spec | 202 +++++++++++++++++++++++++++++++++++ 4 files changed, 207 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-cookie_store.metadata create mode 100644 SOURCES/rust2rpm.toml create mode 100644 SPECS/rust-cookie_store.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6936fb7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/cookie_store-0.21.0.crate diff --git a/.rust-cookie_store.metadata b/.rust-cookie_store.metadata new file mode 100644 index 0000000..e1d7133 --- /dev/null +++ b/.rust-cookie_store.metadata @@ -0,0 +1 @@ +3fe063f273408bafbff4106c085e5425111f4f36 SOURCES/cookie_store-0.21.0.crate 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 new file mode 100644 index 0000000..1dc3a81 --- /dev/null +++ b/SPECS/rust-cookie_store.spec @@ -0,0 +1,202 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 2; + 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 26 +%bcond_without check +%global debug_package %{nil} + +%global crate cookie_store + +Name: rust-cookie_store +Version: 0.21.0 +Release: %autorelease +Summary: Implementation of Cookie storage and retrieval + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/cookie_store +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Implementation of Cookie storage and retrieval.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%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} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+indexmap-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+indexmap-devel %{_description} + +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 %{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 + +%description -n %{name}+preserve_order-devel %{_description} + +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 %{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} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.21.0-2 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 0.21.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Thu Jun 27 2024 Fabio Valentini - 0.21.0-1 +- Update to version 0.21.0; Fixes RHBZ#2263438 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.20.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* 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 +- Update to version 0.16.1; Fixes RHBZ#2066409 + +* 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 +- Update to version 0.15.1; Fixes RHBZ#1938349 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.12.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.12.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Aug 26 2020 Josh Stone - 0.12.0-1 +- Update to 0.12.0 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.11.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jun 04 2020 Josh Stone - 0.11.0-1 +- Update to 0.11.0 + +* Tue Feb 11 11:25:51 CET 2020 Igor Raits - 0.10.0-1 +- Update to 0.10.0 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Dec 25 21:25:07 CET 2019 Igor Gnatenko - 0.7.0-1 +- Initial package + +## END: Generated by rpmautospec