The package rpms/rust-sevctl.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-sevctl.git/commit/?id=9e6091558... https://src.fedoraproject.org/cgit/rpms/rust-sevctl.git/commit/?id=80b57c31b... https://src.fedoraproject.org/cgit/rpms/rust-sevctl.git/commit/?id=5a4fe28ad....
Change: -%ifarch %{supported_arches} +ExclusiveArch: x86_64 +%ifarch %{supported_arches}
Thanks.
Full change: ============
commit 9e609155823692c881b6a26b2ffbd9575af723b6 Author: Sergio Lopez slp@redhat.com Date: Wed May 28 05:47:24 2025 -0400
Regenerate with rust2rpm
diff --git a/rust-sevctl.spec b/rust-sevctl.spec index ff9b640..745f888 100644 --- a/rust-sevctl.spec +++ b/rust-sevctl.spec @@ -3,9 +3,6 @@
%global crate sevctl
-# compile and run tests only on supported architectures -%global supported_arches x86_64 - Name: rust-sevctl Version: 0.6.2 Release: %autorelease @@ -58,9 +55,7 @@ License: Apache-2.0 AND MIT %cargo_generate_buildrequires
%build -%ifarch %{supported_arches} %cargo_build -%endif %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies
@@ -68,11 +63,9 @@ License: Apache-2.0 AND MIT %cargo_install
%if %{with check} -%ifarch %{supported_arches} %check %cargo_test %endif -%endif
%changelog %autochangelog diff --git a/sevctl-fix-metadata.diff b/sevctl-fix-metadata.diff index 8ef4aad..edfeb43 100644 --- a/sevctl-fix-metadata.diff +++ b/sevctl-fix-metadata.diff @@ -1,5 +1,5 @@ --- sevctl-0.6.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ sevctl-0.6.2/Cargo.toml 2025-05-28T08:56:35.799442+00:00 ++++ sevctl-0.6.2/Cargo.toml 2025-05-28T09:45:47.385175+00:00 @@ -96,7 +96,7 @@ version = "0.15.0"
commit 80b57c31b1b1ecb679b21a82aa3c7378164ce369 Author: Sergio Lopez slp@redhat.com Date: Wed May 28 05:44:50 2025 -0400
Replace supported-arches with ExclusiveArch
diff --git a/rust-sevctl.spec b/rust-sevctl.spec index d0ca39a..ff9b640 100644 --- a/rust-sevctl.spec +++ b/rust-sevctl.spec @@ -19,6 +19,10 @@ Source: %{crates_source} # * Relax clap dependency Patch: sevctl-fix-metadata.diff
+# SEV is an AMD x86_64 CPU feature so doesn't make sense to +# try to build on other arches +ExclusiveArch: x86_64 + BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: diff --git a/rust2rpm.toml b/rust2rpm.toml index 2f8046c..bf33844 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -3,5 +3,3 @@ cargo-toml-patch-comments = [ "Drop vendored feature from openssl dependency", "Relax clap dependency", ] -supported-arches = ["x86_64"] -
commit 5a4fe28adafddba85435cdef9a9cd089c3bff42d Author: Sergio Lopez slp@redhat.com Date: Wed May 28 05:18:18 2025 -0400
Update to version 0.6.2 and switch to rust2rpm
diff --git a/rust-sevctl.spec b/rust-sevctl.spec index a3131a0..d0ca39a 100644 --- a/rust-sevctl.spec +++ b/rust-sevctl.spec @@ -1,26 +1,25 @@ -# Generated by rust2rpm 22 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1
%global crate sevctl
+# compile and run tests only on supported architectures +%global supported_arches x86_64 + Name: rust-sevctl -Version: 0.6.0 +Version: 0.6.2 Release: %autorelease Summary: Administrative utility for AMD SEV
License: Apache-2.0 URL: https://crates.io/crates/sevctl -Source0: %{crates_source} -Source1: LICENSE.dependencies -# Update crate dependencies -# Upstream PR: https://github.com/virtee/sevctl/pull/202 -Patch: sevctl-fix-deps.diff - -# SEV is an AMD x86_64 CPU feature so doesn't make sense to -# try to build on other arches -ExclusiveArch: x86_64 +Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * Drop vendored feature from openssl dependency +# * Relax clap dependency +Patch: sevctl-fix-metadata.diff
-BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: Administrative utility for AMD SEV.} @@ -43,27 +42,33 @@ License: Apache-2.0 AND MIT
%files -n %{crate} %license LICENSE +%license LICENSE.dependencies %doc README.md %{_bindir}/sevctl
%prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 -cp -pav %{SOURCE1} . +%autosetup -n %{crate}-%{version} -p1 %cargo_prep
%generate_buildrequires %cargo_generate_buildrequires
%build +%ifarch %{supported_arches} %cargo_build +%endif +%{cargo_license_summary} +%{cargo_license} > LICENSE.dependencies
%install %cargo_install
%if %{with check} +%ifarch %{supported_arches} %check %cargo_test %endif +%endif
%changelog %autochangelog diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..2f8046c --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,7 @@ +[package] +cargo-toml-patch-comments = [ + "Drop vendored feature from openssl dependency", + "Relax clap dependency", +] +supported-arches = ["x86_64"] + diff --git a/sevctl-fix-deps.diff b/sevctl-fix-metadata.diff similarity index 58% rename from sevctl-fix-deps.diff rename to sevctl-fix-metadata.diff index 0b610a2..8ef4aad 100644 --- a/sevctl-fix-deps.diff +++ b/sevctl-fix-metadata.diff @@ -1,8 +1,6 @@ -diff --git a/Cargo.toml b/Cargo.toml -index ff4307e..405e840 100644 ---- a/Cargo.toml -+++ b/Cargo.toml -@@ -82,7 +82,7 @@ version = "1.3.3" +--- sevctl-0.6.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ sevctl-0.6.2/Cargo.toml 2025-05-28T08:56:35.799442+00:00 +@@ -96,7 +96,7 @@ version = "0.15.0"
[dependencies.clap] @@ -11,7 +9,7 @@ index ff4307e..405e840 100644 features = ["derive"]
[dependencies.codicon] -@@ -105,7 +105,6 @@ version = "0.2.0" +@@ -119,7 +119,6 @@
[dependencies.openssl] version = "0.10" diff --git a/sources b/sources index 7c55e95..0101af4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sevctl-0.6.0.crate) = 5bc3a789df0957febef66de4af364b3eb0377f26c3259afcf0619b768aa775c5d32400b9127a79c55113eb25793985621dc46d3be0bc9f7b52543de62e3c3902 +SHA512 (sevctl-0.6.2.crate) = 0c5cec78ba76a3d5c290e58a212746c0b9af973cafefedaa8660a7222da65c07c05ef9fc657d92107230e639293c67dc0782b04a8c25e7f5eb0637421d3b6bf8
commit b5b38bfa3cbd9d3539815dab9e5bacfb12cb7f3e Author: Sergio Lopez slp@redhat.com Date: Wed May 28 02:50:35 2025 -0400
Convert to %autorelease and %autochangelog
[skip changelog]
diff --git a/changelog b/changelog new file mode 100644 index 0000000..a816022 --- /dev/null +++ b/changelog @@ -0,0 +1,70 @@ +* Thu Feb 06 2025 Fabio Valentini decathorpe@gmail.com - 0.6.0-4 +- Rebuild for openssl crate >= v0.10.70 (RUSTSEC-2025-0004) + +* Sun Jan 19 2025 Fedora Release Engineering releng@fedoraproject.org - 0.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Tue Nov 12 2024 Sergio Lopez slp@redhat.com - 0.6.0-1 +- Update to version 0.6.0 + +* Sat Jul 20 2024 Fedora Release Engineering releng@fedoraproject.org - 0.4.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Thu May 23 2024 Fabio Valentini decathorpe@gmail.com - 0.4.3-4 +- Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces. + +* Sat Jan 27 2024 Fedora Release Engineering releng@fedoraproject.org - 0.4.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Dec 01 2023 Fabio Valentini decathorpe@gmail.com - 0.4.3-2 +- Rebuild for openssl crate >= v0.10.60 (RUSTSEC-2023-0044, RUSTSEC-2023-0072) + +* Mon Aug 07 2023 Tyler Fanelli tfanelli@redhat.com - 0.4.3-1 +- Update to 0.4.3 + +* Wed Jul 19 2023 Tyler Fanelli tfanelli@redhat.com - 0.4.1-1 +- Update to 0.4.1 +- Remove patch to update sev dependency. + +* Wed May 03 2023 Fabio Valentini decathorpe@gmail.com - 0.3.2-4 +- Rebuild for openssl crate >= v0.10.48 (RUSTSEC-2023-{0022,0023,0024}) + +* Thu Feb 09 2023 Sergio Lopez slp@redhat.com - 0.3.2-3 +- Include a patch to update sev dependency + +* Sat Jan 21 2023 Fedora Release Engineering releng@fedoraproject.org - 0.3.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Nov 18 2022 Tyler Fanelli tfanelli@redhat.com - 0.3.2-1 +- Update to 0.3.2 (rhbz#2143857) + +* Thu Aug 25 2022 Fabio Valentini decathorpe@gmail.com - 0.3.0-2 +- Regenerate with rust2rpm v22 and specify License for binary package. + +* Thu Aug 25 2022 Cole Robinson crobinso@redhat.com - 0.3.0-1 +- Update to 0.3.0 (rhbz #2097875) + +* Sat Jul 23 2022 Fedora Release Engineering releng@fedoraproject.org - 0.2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek zbyszek@in.waw.pl - 0.2.0-4 +- Rebuild with package notes + +* Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek zbyszek@in.waw.pl - 0.2.0-3 +- Rebuild with package notes + +* Fri Jan 21 2022 Fedora Release Engineering releng@fedoraproject.org - 0.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jan 4 2022 Daniel P. Berrangé berrange@redhat.com - 0.2.0-1 +- Update to 0.2.0 release (rhbz #2034304) +- Restrict build arch to x86_64 only + +* Tue Sep 14 2021 Sahana Prasad sahana@redhat.com - 0.1.0-3 +- Rebuilt with OpenSSL 3.0.0 + +* Fri Jul 23 2021 Fedora Release Engineering releng@fedoraproject.org - 0.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Mar 30 2021 Connor Kuehl ckuehl@redhat.com - 0.1.0-1 +- Initial package diff --git a/rust-sevctl.spec b/rust-sevctl.spec index eedbb5a..a3131a0 100644 --- a/rust-sevctl.spec +++ b/rust-sevctl.spec @@ -5,7 +5,7 @@
Name: rust-sevctl Version: 0.6.0 -Release: 4%{?dist} +Release: %autorelease Summary: Administrative utility for AMD SEV
License: Apache-2.0 @@ -66,73 +66,4 @@ cp -pav %{SOURCE1} . %endif
%changelog -* Thu Feb 06 2025 Fabio Valentini decathorpe@gmail.com - 0.6.0-4 -- Rebuild for openssl crate >= v0.10.70 (RUSTSEC-2025-0004) - -* Sun Jan 19 2025 Fedora Release Engineering releng@fedoraproject.org - 0.6.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Tue Nov 12 2024 Sergio Lopez slp@redhat.com - 0.6.0-1 -- Update to version 0.6.0 - -* Sat Jul 20 2024 Fedora Release Engineering releng@fedoraproject.org - 0.4.3-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Thu May 23 2024 Fabio Valentini decathorpe@gmail.com - 0.4.3-4 -- Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces. - -* Sat Jan 27 2024 Fedora Release Engineering releng@fedoraproject.org - 0.4.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Dec 01 2023 Fabio Valentini decathorpe@gmail.com - 0.4.3-2 -- Rebuild for openssl crate >= v0.10.60 (RUSTSEC-2023-0044, RUSTSEC-2023-0072) - -* Mon Aug 07 2023 Tyler Fanelli tfanelli@redhat.com - 0.4.3-1 -- Update to 0.4.3 - -* Wed Jul 19 2023 Tyler Fanelli tfanelli@redhat.com - 0.4.1-1 -- Update to 0.4.1 -- Remove patch to update sev dependency. - -* Wed May 03 2023 Fabio Valentini decathorpe@gmail.com - 0.3.2-4 -- Rebuild for openssl crate >= v0.10.48 (RUSTSEC-2023-{0022,0023,0024}) - -* Thu Feb 09 2023 Sergio Lopez slp@redhat.com - 0.3.2-3 -- Include a patch to update sev dependency - -* Sat Jan 21 2023 Fedora Release Engineering releng@fedoraproject.org - 0.3.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Fri Nov 18 2022 Tyler Fanelli tfanelli@redhat.com - 0.3.2-1 -- Update to 0.3.2 (rhbz#2143857) - -* Thu Aug 25 2022 Fabio Valentini decathorpe@gmail.com - 0.3.0-2 -- Regenerate with rust2rpm v22 and specify License for binary package. - -* Thu Aug 25 2022 Cole Robinson crobinso@redhat.com - 0.3.0-1 -- Update to 0.3.0 (rhbz #2097875) - -* Sat Jul 23 2022 Fedora Release Engineering releng@fedoraproject.org - 0.2.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek zbyszek@in.waw.pl - 0.2.0-4 -- Rebuild with package notes - -* Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek zbyszek@in.waw.pl - 0.2.0-3 -- Rebuild with package notes - -* Fri Jan 21 2022 Fedora Release Engineering releng@fedoraproject.org - 0.2.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Tue Jan 4 2022 Daniel P. Berrangé berrange@redhat.com - 0.2.0-1 -- Update to 0.2.0 release (rhbz #2034304) -- Restrict build arch to x86_64 only - -* Tue Sep 14 2021 Sahana Prasad sahana@redhat.com - 0.1.0-3 -- Rebuilt with OpenSSL 3.0.0 - -* Fri Jul 23 2021 Fedora Release Engineering releng@fedoraproject.org - 0.1.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue Mar 30 2021 Connor Kuehl ckuehl@redhat.com - 0.1.0-1 -- Initial package +%autochangelog
arch-excludes@lists.fedoraproject.org