|
|
@ -1,11 +1,11 @@
|
|
|
|
# Generated by rust2rpm 20
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate cookie
|
|
|
|
%global crate cookie
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.15.1
|
|
|
|
Version: 0.16.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: HTTP cookie parsing and cookie jar management
|
|
|
|
Summary: HTTP cookie parsing and cookie jar management
|
|
|
|
|
|
|
|
|
|
|
@ -13,18 +13,10 @@ Summary: HTTP cookie parsing and cookie jar management
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/cookie
|
|
|
|
URL: https://crates.io/crates/cookie
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * bump aes-gcm from 0.8 to 0.9
|
|
|
|
|
|
|
|
# * bump hkdf from 0.10 to 0.11
|
|
|
|
|
|
|
|
# * bump hmac from 0.10 to 0.11
|
|
|
|
|
|
|
|
Patch0: cookie-fix-metadata.diff
|
|
|
|
|
|
|
|
# * patch for crypto-mac API changes
|
|
|
|
|
|
|
|
# https://github.com/SergioBenitez/cookie-rs/commit/14b053a
|
|
|
|
|
|
|
|
Patch1: 0001-port-to-crypto-mac-0.11.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
HTTP cookie parsing and cookie jar management. Supports signed and private
|
|
|
|
HTTP cookie parsing and cookie jar management. Supports signed and private
|
|
|
@ -42,9 +34,11 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%license LICENSE-APACHE LICENSE-MIT
|
|
|
|
%license %{crate_instdir}/LICENSE-APACHE
|
|
|
|
%doc CHANGELOG.md README.md
|
|
|
|
%license %{crate_instdir}/LICENSE-MIT
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
%doc %{crate_instdir}/CHANGELOG.md
|
|
|
|
|
|
|
|
%doc %{crate_instdir}/README.md
|
|
|
|
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -56,7 +50,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+aes-gcm-devel
|
|
|
|
%package -n %{name}+aes-gcm-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -68,7 +62,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "aes-gcm" feature of the "%{crate}" crate.
|
|
|
|
use the "aes-gcm" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+aes-gcm-devel
|
|
|
|
%files -n %{name}+aes-gcm-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+base64-devel
|
|
|
|
%package -n %{name}+base64-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -80,7 +74,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "base64" feature of the "%{crate}" crate.
|
|
|
|
use the "base64" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+base64-devel
|
|
|
|
%files -n %{name}+base64-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+hkdf-devel
|
|
|
|
%package -n %{name}+hkdf-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -92,7 +86,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "hkdf" feature of the "%{crate}" crate.
|
|
|
|
use the "hkdf" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+hkdf-devel
|
|
|
|
%files -n %{name}+hkdf-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+hmac-devel
|
|
|
|
%package -n %{name}+hmac-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -104,7 +98,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "hmac" feature of the "%{crate}" crate.
|
|
|
|
use the "hmac" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+hmac-devel
|
|
|
|
%files -n %{name}+hmac-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+key-expansion-devel
|
|
|
|
%package -n %{name}+key-expansion-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -116,7 +110,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "key-expansion" feature of the "%{crate}" crate.
|
|
|
|
use the "key-expansion" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+key-expansion-devel
|
|
|
|
%files -n %{name}+key-expansion-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+percent-encode-devel
|
|
|
|
%package -n %{name}+percent-encode-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -128,7 +122,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "percent-encode" feature of the "%{crate}" crate.
|
|
|
|
use the "percent-encode" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+percent-encode-devel
|
|
|
|
%files -n %{name}+percent-encode-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+percent-encoding-devel
|
|
|
|
%package -n %{name}+percent-encoding-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -140,7 +134,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "percent-encoding" feature of the "%{crate}" crate.
|
|
|
|
use the "percent-encoding" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+percent-encoding-devel
|
|
|
|
%files -n %{name}+percent-encoding-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+private-devel
|
|
|
|
%package -n %{name}+private-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -152,7 +146,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "private" feature of the "%{crate}" crate.
|
|
|
|
use the "private" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+private-devel
|
|
|
|
%files -n %{name}+private-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+rand-devel
|
|
|
|
%package -n %{name}+rand-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -164,7 +158,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "rand" feature of the "%{crate}" crate.
|
|
|
|
use the "rand" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+rand-devel
|
|
|
|
%files -n %{name}+rand-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+secure-devel
|
|
|
|
%package -n %{name}+secure-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -176,7 +170,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "secure" feature of the "%{crate}" crate.
|
|
|
|
use the "secure" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+secure-devel
|
|
|
|
%files -n %{name}+secure-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+sha2-devel
|
|
|
|
%package -n %{name}+sha2-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -188,7 +182,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "sha2" feature of the "%{crate}" crate.
|
|
|
|
use the "sha2" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+sha2-devel
|
|
|
|
%files -n %{name}+sha2-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+signed-devel
|
|
|
|
%package -n %{name}+signed-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -200,7 +194,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "signed" feature of the "%{crate}" crate.
|
|
|
|
use the "signed" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+signed-devel
|
|
|
|
%files -n %{name}+signed-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+subtle-devel
|
|
|
|
%package -n %{name}+subtle-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -212,7 +206,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "subtle" feature of the "%{crate}" crate.
|
|
|
|
use the "subtle" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+subtle-devel
|
|
|
|
%files -n %{name}+subtle-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|