Regenerate with rust2rpm v24

epel10
Fabio Valentini 1 year ago
parent 5121194a22
commit 407c9e4a43
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,26 +1,23 @@
# Generated by rust2rpm 20 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate pkcs1 %global crate pkcs1
Name: rust-%{crate} Name: rust-pkcs1
Version: 0.2.4 Version: 0.2.4
Release: %autorelease Release: %autorelease
Summary: Pure Rust implementation of PKCS#1 (RFC 8017) Summary: Pure Rust implementation of PKCS#1 (RFC 8017)
# Upstream license specification: Apache-2.0 OR MIT License: Apache-2.0 OR MIT
License: ASL 2.0 or MIT
URL: https://crates.io/crates/pkcs1 URL: https://crates.io/crates/pkcs1
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #1: RSA Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #1:
Cryptography Specifications Version 2.2 (RFC 8017).} RSA Cryptography Specifications Version 2.2 (RFC 8017).}
%description %{_description} %description %{_description}
@ -34,9 +31,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}
@ -48,7 +47,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}+alloc-devel %package -n %{name}+alloc-devel
Summary: %{summary} Summary: %{summary}
@ -60,7 +59,7 @@ This package contains library source intended for building other packages which
use the "alloc" feature of the "%{crate}" crate. use the "alloc" feature of the "%{crate}" crate.
%files -n %{name}+alloc-devel %files -n %{name}+alloc-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+pem-devel %package -n %{name}+pem-devel
Summary: %{summary} Summary: %{summary}
@ -72,7 +71,7 @@ This package contains library source intended for building other packages which
use the "pem" feature of the "%{crate}" crate. use the "pem" feature of the "%{crate}" crate.
%files -n %{name}+pem-devel %files -n %{name}+pem-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+pem-rfc7468-devel %package -n %{name}+pem-rfc7468-devel
Summary: %{summary} Summary: %{summary}
@ -84,7 +83,7 @@ This package contains library source intended for building other packages which
use the "pem-rfc7468" feature of the "%{crate}" crate. use the "pem-rfc7468" feature of the "%{crate}" crate.
%files -n %{name}+pem-rfc7468-devel %files -n %{name}+pem-rfc7468-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -96,7 +95,7 @@ This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate. use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+zeroize-devel %package -n %{name}+zeroize-devel
Summary: %{summary} Summary: %{summary}
@ -108,7 +107,7 @@ This package contains library source intended for building other packages which
use the "zeroize" feature of the "%{crate}" crate. use the "zeroize" feature of the "%{crate}" crate.
%files -n %{name}+zeroize-devel %files -n %{name}+zeroize-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

@ -0,0 +1,2 @@
[DEFAULT]
summary = Pure Rust implementation of PKCS#1 (RFC 8017)
Loading…
Cancel
Save