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-sptr] rawhide: Regenerate with rust2rpm v28
Date: Wed, 05 Aug 2026 13:54:44 GMT [thread overview]
Message-ID: <178593808426.1.6129082076038710441.rpms-rust-sptr-60b8e671ed4a@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-sptr
Branch : rawhide
Commit : 60b8e671ed4a235a3dcad5718862fd7bbd2c7be5
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-08-05T15:54:29+02:00
Stats : +16/-10 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-sptr/c/60b8e671ed4a235a3dcad5718862fd7bbd2c7be5?branch=rawhide
Log:
Regenerate with rust2rpm v28
---
diff --git a/README.md b/README.md
deleted file mode 100644
index ce559a4..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-sptr
-
-The rust-sptr package
diff --git a/rust-sptr.spec b/rust-sptr.spec
index d16d9cc..ef79ab3 100644
--- a/rust-sptr.spec
+++ b/rust-sptr.spec
@@ -1,5 +1,5 @@
-# Generated by rust2rpm 23
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
%global debug_package %{nil}
%global crate sptr
@@ -12,10 +12,10 @@ Summary: Sptr: The Strict Provenance Polyfill
License: MIT OR Apache-2.0
URL: https://crates.io/crates/sptr
Source: %{crates_source}
-# https://github.com/Gankra/sptr/issues/13
-Patch: https://patch-diff.githubusercontent.com/raw/Gankra/sptr/pull/14.patch#/sptr-add-license.diff
+# * https://github.com/Gankra/sptr/issues/13
+Patch2: sptr-add-license.diff
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Sptr: The Strict Provenance Polyfill.}
@@ -32,7 +32,8 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
-%license %{crate_instdir}/LICENSE-*
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/
@@ -73,7 +74,7 @@ use the "uptr" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..93cde4f
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,8 @@
+[package]
+license-files = ["LICENSE-APACHE", "LICENSE-MIT"]
+
+[[package.extra-patches]]
+number = 2
+file = "sptr-add-license.diff"
+comments = ["https://github.com/Gankra/sptr/issues/13"]
+
reply other threads:[~2026-08-05 13:54 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=178593808426.1.6129082076038710441.rpms-rust-sptr-60b8e671ed4a@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