The package rpms/rust-pkcs1.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-pkcs1.git/commit/?id=407c9e4....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 8da52a7d27a383cc4755ffe25c0266c53e7ac624
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue Jan 30 01:13:38 2024 +0100
Update to version 0.7.5; Fixes RHBZ#2041237
diff --git a/.gitignore b/.gitignore
index 58d74f0..3c07384 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/*.src.rpm
/pkcs1-0.2.4.crate
+/pkcs1-0.7.5.crate
diff --git a/rust-pkcs1.spec b/rust-pkcs1.spec
index 30be5c7..855dad1 100644
--- a/rust-pkcs1.spec
+++ b/rust-pkcs1.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 24
+# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate pkcs1
Name: rust-pkcs1
-Version: 0.2.4
+Version: 0.7.5
Release: %autorelease
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
Source: %{crates_source}
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
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
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+pem-rfc7468-devel
+%package -n %{name}+pkcs8-devel
Summary: %{summary}
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
-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
%package -n %{name}+std-devel
@@ -110,7 +110,7 @@ use the "zeroize" feature of the "%{crate}"
crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
diff --git a/rust2rpm.conf b/rust2rpm.conf
deleted file mode 100644
index 60007b3..0000000
--- a/rust2rpm.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-[DEFAULT]
-summary = Pure Rust implementation of PKCS#1 (RFC 8017)
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..fceeba6
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,3 @@
+[package]
+summary = "Pure Rust implementation of PKCS#1 (RFC 8017)"
+
diff --git a/sources b/sources
index 6050590..4cb0728 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pkcs1-0.2.4.crate) =
35421e2c1c3110f5ee977604c513699ec836cca166b99b0f7533c74bc3fa08b4bb9e5304c88a93fcf081c7591ab983022e80f1a4c09a1cdfa01e64a50e97365b
+SHA512 (pkcs1-0.7.5.crate) =
a3584ce492116d6e617a733a0d3d5696404aa7b10ae95070313b4a41dbc21d0940850870b711e375ac8b54fdd179b4083d61c48e902e6efd8a3a11cb630076a3
commit 07d744b7ee7cb36ef04265f55cfac540d3e3a70b
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 26 22:56:24 2024 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
commit 407c9e4a43ff1ecd2f3117ba4dc7b395b57cf226
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat Aug 5 23:49:01 2023 +0200
Regenerate with rust2rpm v24
diff --git a/rust-pkcs1.spec b/rust-pkcs1.spec
index 7fa0303..30be5c7 100644
--- a/rust-pkcs1.spec
+++ b/rust-pkcs1.spec
@@ -1,26 +1,23 @@
-# Generated by rust2rpm 20
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate pkcs1
-Name: rust-%{crate}
+Name: rust-pkcs1
Version: 0.2.4
Release: %autorelease
Summary: Pure Rust implementation of PKCS#1 (RFC 8017)
-# Upstream license specification: Apache-2.0 OR MIT
-License: ASL 2.0 or MIT
+License: Apache-2.0 OR MIT
URL:
https://crates.io/crates/pkcs1
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
-Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #1: RSA
-Cryptography Specifications Version 2.2 (RFC 8017).}
+Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #1:
+RSA Cryptography Specifications Version 2.2 (RFC 8017).}
%description %{_description}
@@ -34,9 +31,11 @@ This package contains library source intended for building other
packages which
use the "%{crate}" crate.
%files devel
-%license LICENSE-APACHE LICENSE-MIT
-%doc CHANGELOG.md README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%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}
@@ -48,7 +47,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+alloc-devel
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.
%files -n %{name}+alloc-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+pem-devel
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.
%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
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.
%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
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.
%files -n %{name}+std-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+zeroize-devel
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.
%files -n %{name}+zeroize-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/rust2rpm.conf b/rust2rpm.conf
new file mode 100644
index 0000000..60007b3
--- /dev/null
+++ b/rust2rpm.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+summary = Pure Rust implementation of PKCS#1 (RFC 8017)
commit 5121194a2254d73475a5d9445f9fde2b43db4960
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 21 22:30:02 2023 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>