public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-hmac] epel9: Regenerate with rust2rpm v24
@ 2026-06-09  9:22 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-06-09  9:22 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-hmac
Branch : epel9
Commit : 11b8d9b5fac5e0e9ec07b370ab95ee8289d619eb
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2023-08-05T11:42:51+02:00
Stats  : +12/-16 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-hmac/c/11b8d9b5fac5e0e9ec07b370ab95ee8289d619eb?branch=epel9

Log:
Regenerate with rust2rpm v24

---
diff --git a/README.md b/README.md
deleted file mode 100644
index 8e942b0..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-hmac
-
-The rust-hmac package
\ No newline at end of file

diff --git a/rust-hmac.spec b/rust-hmac.spec
index 0d44d44..0cb181c 100644
--- a/rust-hmac.spec
+++ b/rust-hmac.spec
@@ -1,22 +1,19 @@
-# Generated by rust2rpm 20
+# Generated by rust2rpm 24
 %bcond_without check
 %global debug_package %{nil}
 
 %global crate hmac
 
-Name:           rust-%{crate}
+Name:           rust-hmac
 Version:        0.12.1
 Release:        %autorelease
 Summary:        Generic implementation of Hash-based Message Authentication Code (HMAC)
 
-# 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/hmac
 Source:         %{crates_source}
 
-ExclusiveArch:  %{rust_arches}
-
-BuildRequires:  rust-packaging
+BuildRequires:  rust-packaging >= 21
 
 %global _description %{expand:
 Generic implementation of Hash-based Message Authentication Code (HMAC).}
@@ -33,9 +30,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}
@@ -47,7 +46,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}+reset-devel
 Summary:        %{summary}
@@ -59,7 +58,7 @@ This package contains library source intended for building other packages which
 use the "reset" feature of the "%{crate}" crate.
 
 %files       -n %{name}+reset-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
 
 %package     -n %{name}+std-devel
 Summary:        %{summary}
@@ -71,7 +70,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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-09  9:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-09  9:22 [rpms/rust-hmac] epel9: Regenerate with rust2rpm v24 Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox