public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-crypto-hash] epel9: Regenerate with rust2rpm v24
Date: Sun, 25 Oct 2026 18:12:16 GMT [thread overview]
Message-ID: <179295193695.1.10909380809595233030.rpms-rust-crypto-hash-9b3893615c9a@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-crypto-hash
Branch : epel9
Commit : 9b3893615c9a175f22ff2e159b74cc33e5178c66
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2023-04-12T17:17:42+02:00
Stats : +37/-34 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-crypto-hash/c/9b3893615c9a175f22ff2e159b74cc33e5178c66?branch=epel9
Log:
Regenerate with rust2rpm v24
---
diff --git a/README.md b/README.md
deleted file mode 100644
index e8c3977..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-crypto-hash
-
-The rust-crypto-hash package
\ No newline at end of file
diff --git a/crypto-hash-fix-metadata-auto.diff b/crypto-hash-fix-metadata-auto.diff
new file mode 100644
index 0000000..d481a6c
--- /dev/null
+++ b/crypto-hash-fix-metadata-auto.diff
@@ -0,0 +1,16 @@
+--- crypto-hash-0.3.4/Cargo.toml 1970-01-01T00:00:00+00:00
++++ crypto-hash-0.3.4/Cargo.toml 2023-04-12T15:14:30.730034+00:00
+@@ -23,13 +23,8 @@
+ repository = "https://github.com/malept/crypto-hash"
+ [dependencies.hex]
+ version = "0.3"
+-[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.commoncrypto]
+-version = "0.2"
+ [target."cfg(not(any(target_os = \"windows\", target_os = \"macos\", target_os = \"ios\")))".dependencies.openssl]
+ version = "0.10"
+-[target."cfg(target_os = \"windows\")".dependencies.winapi]
+-version = "0.3"
+-features = ["minwindef", "wincrypt"]
+ [badges.appveyor]
+ repository = "malept/crypto-hash"
+
diff --git a/crypto-hash-fix-metadata.diff b/crypto-hash-fix-metadata.diff
index 837e394..d2fd619 100644
--- a/crypto-hash-fix-metadata.diff
+++ b/crypto-hash-fix-metadata.diff
@@ -1,18 +1,11 @@
--- crypto-hash-0.3.4/Cargo.toml 1970-01-01T00:00:00+00:00
-+++ crypto-hash-0.3.4/Cargo.toml 2019-12-07T02:35:23.895951+00:00
-@@ -22,14 +22,9 @@
++++ crypto-hash-0.3.4/Cargo.toml 2023-04-12T15:15:32.572267+00:00
+@@ -22,7 +22,7 @@
license = "MIT"
repository = "https://github.com/malept/crypto-hash"
[dependencies.hex]
-version = "0.3"
--[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.commoncrypto]
--version = "0.2"
+version = "0.4"
[target."cfg(not(any(target_os = \"windows\", target_os = \"macos\", target_os = \"ios\")))".dependencies.openssl]
version = "0.10"
--[target."cfg(target_os = \"windows\")".dependencies.winapi]
--version = "0.3"
--features = ["minwindef", "wincrypt"]
[badges.appveyor]
- repository = "malept/crypto-hash"
-
diff --git a/rust-crypto-hash.spec b/rust-crypto-hash.spec
index d0a25cc..a85bcff 100644
--- a/rust-crypto-hash.spec
+++ b/rust-crypto-hash.spec
@@ -1,32 +1,27 @@
-# Generated by rust2rpm 10
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate crypto-hash
-Name: rust-%{crate}
+Name: rust-crypto-hash
Version: 0.3.4
Release: %autorelease
Summary: Wrapper for OS-level cryptographic hash functions
-# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/crypto-hash
Source: %{crates_source}
-# Initial patched metadata
-# * Bump hex to 0.4: https://github.com/malept/crypto-hash/pull/13
-# * No windows/osx
-Patch0: crypto-hash-fix-metadata.diff
+# Automatically generated patch to strip foreign dependencies
+Patch: crypto-hash-fix-metadata-auto.diff
+# Manually created patch for downstream crate metadata changes
+# * bump hex from 0.3 to 0.4: https://github.com/malept/crypto-hash/pull/13
+Patch: crypto-hash-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
-Wrapper for OS-level cryptographic hash functions.}
+A wrapper for OS-level cryptographic hash functions.}
%description %{_description}
@@ -36,13 +31,15 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE
-%doc CONTRIBUTING.md NEWS.md README.md
-%{cargo_registry}/%{crate}-%{version}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/CONTRIBUTING.md
+%doc %{crate_instdir}/NEWS.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -50,11 +47,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
-This package contains library source intended for building other packages
-which use "default" feature of "%{crate}" crate.
+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}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
reply other threads:[~2026-10-25 18:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179295193695.1.10909380809595233030.rpms-rust-crypto-hash-9b3893615c9a@fedoraproject.org \
--to=decathorpe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox