The package rpms/rust-rsa.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-rsa.git/commit/?id=08b9576f0....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 08b9576f0c227456754dfe1cf4e4da04cef6fec3
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri Jun 23 20:45:42 2023 +0200
Regenerate with rust2rpm v24 and remove broken subpackage
diff --git a/README.md b/README.md
deleted file mode 100644
index 0fc8429..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-rsa
-
-The rust-rsa package
\ No newline at end of file
diff --git a/rsa-fix-metadata.diff b/rsa-fix-metadata.diff
new file mode 100644
index 0000000..29063ff
--- /dev/null
+++ b/rsa-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- rsa-0.5.0/Cargo.toml 1970-01-01T00:00:00+00:00
++++ rsa-0.5.0/Cargo.toml 2023-06-23T18:40:58.339813+00:00
+@@ -87,7 +87,7 @@
+ default-features = false
+
+ [dependencies.zeroize]
+-version = ">=1, <1.5"
++version = "1"
+ features = ["alloc", "zeroize_derive"]
+ [dev-dependencies.base64]
+ version = "0.13.0"
diff --git a/rsa-metadata.diff b/rsa-metadata.diff
deleted file mode 100644
index 4bea6a7..0000000
--- a/rsa-metadata.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- rsa-0.5.0/Cargo.toml.orig 2022-03-14 15:27:03.543900924 +0000
-+++ rsa-0.5.0/Cargo.toml 2022-03-14 15:29:05.024682199 +0000
-@@ -44,7 +44,7 @@
- features = ["spin_no_std"]
-
- [dependencies.num-bigint]
--version = "0.7.0"
-+version = ">=0.7.0"
- features = ["i128", "u64_digit", "prime",
"zeroize"]
- default-features = false
- package = "num-bigint-dig"
-@@ -87,7 +87,7 @@
- default-features = false
-
- [dependencies.zeroize]
--version = ">=1, <1.5"
-+version = ">=1"
- features = ["alloc", "zeroize_derive"]
- [dev-dependencies.base64]
- version = "0.13.0"
diff --git a/rust-rsa.spec b/rust-rsa.spec
index 62b9dcc..6573cb4 100644
--- a/rust-rsa.spec
+++ b/rust-rsa.spec
@@ -1,23 +1,22 @@
-# Generated by rust2rpm 20
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate rsa
-Name: rust-%{crate}
+Name: rust-rsa
Version: 0.5.0
Release: %autorelease
Summary: Pure Rust RSA implementation
-# Upstream license specification: MIT OR Apache-2.0
-License: MIT or ASL 2.0
+License: MIT OR Apache-2.0
URL:
https://crates.io/crates/rsa
Source: %{crates_source}
-Patch0: rsa-metadata.diff
+# Manually created patch for downstream crate metadata changes
+# * relax zeroize dependency (MSRV is not relevant for Fedora packages)
+Patch: rsa-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Pure Rust RSA implementation.}
@@ -34,9 +33,10 @@ This package contains library source intended for building other
packages which
use the "%{crate}" crate.
%files devel
-%license LICENSE-APACHE LICENSE-MIT
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -48,7 +48,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 +60,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}+expose-internals-devel
Summary: %{summary}
@@ -72,19 +72,7 @@ This package contains library source intended for building other
packages which
use the "expose-internals" feature of the "%{crate}" crate.
%files -n %{name}+expose-internals-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
-
-%package -n %{name}+nightly-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+nightly-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "nightly" feature of the "%{crate}" crate.
-
-%files -n %{name}+nightly-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+pem-devel
Summary: %{summary}
@@ -96,7 +84,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}+pkcs5-devel
Summary: %{summary}
@@ -108,7 +96,7 @@ This package contains library source intended for building other
packages which
use the "pkcs5" feature of the "%{crate}" crate.
%files -n %{name}+pkcs5-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
@@ -120,7 +108,7 @@ This package contains library source intended for building other
packages which
use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde_crate-devel
Summary: %{summary}
@@ -132,7 +120,7 @@ This package contains library source intended for building other
packages which
use the "serde_crate" feature of the "%{crate}" crate.
%files -n %{name}+serde_crate-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
@@ -144,7 +132,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
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/rust2rpm.conf b/rust2rpm.conf
new file mode 100644
index 0000000..1715b93
--- /dev/null
+++ b/rust2rpm.conf
@@ -0,0 +1,3 @@
+[DEFAULT]
+unwanted-features =
+ nightly
commit fa20788f8d5b0aabb9e897f542e242420d67c654
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri Jun 23 20:39:52 2023 +0200
Convert to %autorelease and %autochangelog
[skip changelog]
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..266541b
--- /dev/null
+++ b/changelog
@@ -0,0 +1,23 @@
+* Sat Jan 21 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Sun Feb 13 2022 Peter Robinson <pbrobinson(a)fedoraproject.org> - 0.5.0-1
+- Update to 0.5.0
+
+* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.0-5
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.0-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.0-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.0-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Thu Jul 16 2020 Peter Robinson <pbrobinson(a)fedoraproject.org> - 0.3.0-1
+- Initial package
diff --git a/rust-rsa.spec b/rust-rsa.spec
index 63a1b48..62b9dcc 100644
--- a/rust-rsa.spec
+++ b/rust-rsa.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.5.0
-Release: 3%{?dist}
+Release: %autorelease
Summary: Pure Rust RSA implementation
# Upstream license specification: MIT OR Apache-2.0
@@ -165,26 +165,4 @@ use the "std" feature of the "%{crate}" crate.
%endif
%changelog
-* Sat Jan 21 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
-
-* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Sun Feb 13 2022 Peter Robinson <pbrobinson(a)fedoraproject.org> - 0.5.0-1
-- Update to 0.5.0
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.0-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.0-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.0-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.0-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Thu Jul 16 2020 Peter Robinson <pbrobinson(a)fedoraproject.org> - 0.3.0-1
-- Initial package
+%autochangelog
commit e4e1e94dfbb2ce7c6e2836d3c9fd0670d384fa38
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jan 21 01:05:08 2023 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/rust-rsa.spec b/rust-rsa.spec
index c3ac540..63a1b48 100644
--- a/rust-rsa.spec
+++ b/rust-rsa.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.5.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Pure Rust RSA implementation
# Upstream license specification: MIT OR Apache-2.0
@@ -165,6 +165,9 @@ use the "std" feature of the "%{crate}" crate.
%endif
%changelog
+* Sat Jan 21 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild