https://bugzilla.redhat.com/show_bug.cgi?id=2431593



--- Comment #3 from Sergio Arroutbi <[email protected]> ---
Hello. Thanks for your review @yselkowi.

I implemented all the changes required:

1 - Changed permissions of .spec file
2 - Renamed the file to clevis-pin-trustee.spec
3 - Removed %global debug_package %{nil}
4 - Changed BuildRequires: rust-packaging to use BuildRequires:
cargo-rpm-macros instead.
5 - Included %autorelease and %autochangelog
6 - Commented about the requirement to use rust-tempfile+default-devel

The patch for all these changes is as follows:
--- clevis-pin-trustee-fedora.spec      2026-01-21 13:46:48.443210537 +0100
+++ clevis-pin-trustee.spec     2026-01-22 11:25:22.459306575 +0100
@@ -2,24 +2,22 @@
 #
 # SPDX-License-Identifier: MIT

-# Disable debuginfo generation for Rust binaries
-%global debug_package %{nil}
-
 # Fedora: Use system Rust libraries as josekit 0.7.4+ is available
 %global bundled_rust_deps 0

 Name:           clevis-pin-trustee
 Version:        0.1.0
-Release:        1%{?dist}
+Release:        %autorelease
 Summary:        Clevis PIN for Trustee attestation

 License:        MIT
 URL:            https://github.com/sarroutbi/clevis-pin-trustee
 Source0:       
https://github.com/sarroutbi/%{name}/archive/refs/tags/v%{version}.tar.gz

-BuildRequires:  rust-packaging >= 25
+BuildRequires:  cargo-rpm-macros
 BuildRequires:  openssl-devel
-BuildRequires:  rust-tempfile+default-devel
+# rust-tempfile required for test execution                                    
+BuildRequires:  rust-tempfile+default-devel 

 # Runtime dependencies
 Requires:       clevis
@@ -62,9 +60,4 @@
 %{_bindir}/clevis-decrypt-trustee

 %changelog
-* Wed Nov 26 2025 Sergio Arroutbi <[email protected]> - 0.1.0-1
-- Initial release
-- Clevis PIN for Trustee attestation
-- Support for multiple Trustee server URLs with failover
-- Certificate-based TLS authentication
-- Optional initdata for attestation context
+%autochangelog


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2431593

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202431593%23c3

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to