|
|
@ -1,11 +1,11 @@
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate pkcs1
|
|
|
|
%global crate pkcs1
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-pkcs1
|
|
|
|
Name: rust-pkcs1
|
|
|
|
Version: 0.2.4
|
|
|
|
Version: 0.7.5
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Pure Rust implementation of PKCS#1 (RFC 8017)
|
|
|
|
Summary: Pure Rust implementation of PKCS#1 (RFC 8017)
|
|
|
|
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ License: Apache-2.0 OR MIT
|
|
|
|
URL: https://crates.io/crates/pkcs1
|
|
|
|
URL: https://crates.io/crates/pkcs1
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #1:
|
|
|
|
Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #1:
|
|
|
@ -73,16 +73,16 @@ use the "pem" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+pem-devel
|
|
|
|
%files -n %{name}+pem-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+pem-rfc7468-devel
|
|
|
|
%package -n %{name}+pkcs8-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+pem-rfc7468-devel %{_description}
|
|
|
|
%description -n %{name}+pkcs8-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
use the "pem-rfc7468" feature of the "%{crate}" crate.
|
|
|
|
use the "pkcs8" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+pem-rfc7468-devel
|
|
|
|
%files -n %{name}+pkcs8-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
%package -n %{name}+std-devel
|
|
|
@ -110,7 +110,7 @@ use the "zeroize" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|