From 0fdcee89a7948468056b85dcced015c67f857598 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:10:30 +0300 Subject: [PATCH] import rust-cookie-0.18.1-2.el10 --- .gitignore | 1 + .rust-cookie.metadata | 1 + SOURCES/rust2rpm.toml | 6 + SPECS/rust-cookie.spec | 299 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 307 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-cookie.metadata create mode 100644 SOURCES/rust2rpm.toml create mode 100644 SPECS/rust-cookie.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..508053b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/cookie-0.18.1.crate diff --git a/.rust-cookie.metadata b/.rust-cookie.metadata new file mode 100644 index 0000000..96b47c8 --- /dev/null +++ b/.rust-cookie.metadata @@ -0,0 +1 @@ +a3c1b3085c49b1ab0dbb85e80ccfdbd7ffd95ecc SOURCES/cookie-0.18.1.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..2dde113 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,6 @@ +[package] +summary = "HTTP cookie parsing and cookie jar management" + +[features] +enable-all = true + diff --git a/SPECS/rust-cookie.spec b/SPECS/rust-cookie.spec new file mode 100644 index 0000000..a137923 --- /dev/null +++ b/SPECS/rust-cookie.spec @@ -0,0 +1,299 @@ +## 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 + +Name: rust-cookie +Version: 0.18.1 +Release: %autorelease +Summary: HTTP cookie parsing and cookie jar management + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/cookie +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +HTTP cookie parsing and cookie jar management. Supports signed and +private (encrypted, authenticated) jars.} + +%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}/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}+aes-gcm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+aes-gcm-devel %{_description} + +This package contains library source intended for building other packages which +use the "aes-gcm" feature of the "%{crate}" crate. + +%files -n %{name}+aes-gcm-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+base64-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+base64-devel %{_description} + +This package contains library source intended for building other packages which +use the "base64" feature of the "%{crate}" crate. + +%files -n %{name}+base64-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+hkdf-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+hkdf-devel %{_description} + +This package contains library source intended for building other packages which +use the "hkdf" feature of the "%{crate}" crate. + +%files -n %{name}+hkdf-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+hmac-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+hmac-devel %{_description} + +This package contains library source intended for building other packages which +use the "hmac" feature of the "%{crate}" crate. + +%files -n %{name}+hmac-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+key-expansion-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+key-expansion-devel %{_description} + +This package contains library source intended for building other packages which +use the "key-expansion" feature of the "%{crate}" crate. + +%files -n %{name}+key-expansion-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+percent-encode-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+percent-encode-devel %{_description} + +This package contains library source intended for building other packages which +use the "percent-encode" feature of the "%{crate}" crate. + +%files -n %{name}+percent-encode-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+percent-encoding-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+percent-encoding-devel %{_description} + +This package contains library source intended for building other packages which +use the "percent-encoding" feature of the "%{crate}" crate. + +%files -n %{name}+percent-encoding-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+private-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+private-devel %{_description} + +This package contains library source intended for building other packages which +use the "private" feature of the "%{crate}" crate. + +%files -n %{name}+private-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rand-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rand-devel %{_description} + +This package contains library source intended for building other packages which +use the "rand" feature of the "%{crate}" crate. + +%files -n %{name}+rand-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+secure-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+secure-devel %{_description} + +This package contains library source intended for building other packages which +use the "secure" feature of the "%{crate}" crate. + +%files -n %{name}+secure-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+sha2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+sha2-devel %{_description} + +This package contains library source intended for building other packages which +use the "sha2" feature of the "%{crate}" crate. + +%files -n %{name}+sha2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+signed-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+signed-devel %{_description} + +This package contains library source intended for building other packages which +use the "signed" feature of the "%{crate}" crate. + +%files -n %{name}+signed-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+subtle-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+subtle-devel %{_description} + +This package contains library source intended for building other packages which +use the "subtle" feature of the "%{crate}" crate. + +%files -n %{name}+subtle-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires -a + +%build +%cargo_build -a + +%install +%cargo_install -a + +%if %{with check} +%check +%cargo_test -a +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.18.1-2 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 0.18.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 14 2024 Fabio Valentini - 0.18.1-1 +- Update to version 0.18.1; Fixes RHBZ#2129682 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.17.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 08 2024 Fabio Valentini - 0.17.0-1 +- Update to version 0.17.0 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.16.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Mar 16 2023 Fabio Valentini - 0.16.1-1 +- Update to version 0.16.1 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.16.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.16.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue May 24 2022 Fabio Valentini - 0.16.0-1 +- Update to version 0.16.0; Fixes RHBZ#2036002 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.15.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Dec 09 2021 Fabio Valentini - 0.15.1-1 +- Update to version 0.15.1; Fixes RHBZ#1933189 + +* Fri Aug 27 2021 Fabio Valentini - 0.14.4-1 +- Update to version 0.14.4 + +* Tue Jul 27 2021 Fedora Release Engineering - 0.14.3-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.14.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Nov 06 2020 Fabio Valentini - 0.14.3-1 +- Update to version 0.14.3. + +* Wed Aug 26 2020 Josh Stone - 0.14.2-1 +- Update to 0.14.2 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.12.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.12.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Dec 17 20:10:36 CET 2019 Robert-André Mauchin - 0.12.0-1 +- Initial package + +## END: Generated by rpmautospec