Compare commits

..

No commits in common. 'epel10' and 'epel9' have entirely different histories.

1
.gitignore vendored

@ -2,4 +2,3 @@
/*.src.rpm /*.src.rpm
/pkcs1-0.2.4.crate /pkcs1-0.2.4.crate
/pkcs1-0.7.5.crate

@ -1,23 +1,26 @@
# Generated by rust2rpm 25 # Generated by rust2rpm 20
%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-%{crate}
Version: 0.7.5 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)
License: Apache-2.0 OR MIT # Upstream license specification: 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}
BuildRequires: cargo-rpm-macros >= 24 ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%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: RSA
RSA Cryptography Specifications Version 2.2 (RFC 8017).} Cryptography Specifications Version 2.2 (RFC 8017).}
%description %{_description} %description %{_description}
@ -31,11 +34,9 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license %{crate_instdir}/LICENSE-APACHE %license LICENSE-APACHE LICENSE-MIT
%license %{crate_instdir}/LICENSE-MIT %doc CHANGELOG.md README.md
%doc %{crate_instdir}/CHANGELOG.md %{cargo_registry}/%{crate}-%{version_no_tilde}/
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -47,7 +48,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 %{crate_instdir}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+alloc-devel %package -n %{name}+alloc-devel
Summary: %{summary} Summary: %{summary}
@ -59,7 +60,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 %{crate_instdir}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+pem-devel %package -n %{name}+pem-devel
Summary: %{summary} Summary: %{summary}
@ -71,19 +72,19 @@ 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 %{crate_instdir}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+pkcs8-devel %package -n %{name}+pem-rfc7468-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+pkcs8-devel %{_description} %description -n %{name}+pem-rfc7468-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 "pkcs8" feature of the "%{crate}" crate. use the "pem-rfc7468" feature of the "%{crate}" crate.
%files -n %{name}+pkcs8-devel %files -n %{name}+pem-rfc7468-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -95,7 +96,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 %{crate_instdir}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+zeroize-devel %package -n %{name}+zeroize-devel
Summary: %{summary} Summary: %{summary}
@ -107,10 +108,10 @@ 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 %{crate_instdir}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -1,3 +0,0 @@
[package]
summary = "Pure Rust implementation of PKCS#1 (RFC 8017)"

@ -1 +1 @@
SHA512 (pkcs1-0.7.5.crate) = a3584ce492116d6e617a733a0d3d5696404aa7b10ae95070313b4a41dbc21d0940850870b711e375ac8b54fdd179b4083d61c48e902e6efd8a3a11cb630076a3 SHA512 (pkcs1-0.2.4.crate) = 35421e2c1c3110f5ee977604c513699ec836cca166b99b0f7533c74bc3fa08b4bb9e5304c88a93fcf081c7591ab983022e80f1a4c09a1cdfa01e64a50e97365b

Loading…
Cancel
Save