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-proc-macro-hack] f45: Regenerate with rust2rpm v28
Date: Sun, 16 Aug 2026 21:17:08 GMT	[thread overview]
Message-ID: <178691502894.1.10322341110055147570.rpms-rust-proc-macro-hack-969d02215c92@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-proc-macro-hack
Branch : f45
Commit : 969d02215c9224eb9ad152ec36e8793ab8ad1a26
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-08-16T23:09:18+02:00
Stats  : +29/-24 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-proc-macro-hack/c/969d02215c9224eb9ad152ec36e8793ab8ad1a26?branch=f45

Log:
Regenerate with rust2rpm v28

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

diff --git a/proc-macro-hack-fix-metadata-auto.diff b/proc-macro-hack-fix-metadata-auto.diff
new file mode 100644
index 0000000..391b4b1
--- /dev/null
+++ b/proc-macro-hack-fix-metadata-auto.diff
@@ -0,0 +1,16 @@
+--- proc-macro-hack-0.5.20+deprecated/Cargo.toml	1970-01-01T00:00:01+00:00
++++ proc-macro-hack-0.5.20+deprecated/Cargo.toml	2026-08-16T21:08:21.691923+00:00
+@@ -13,7 +13,7 @@
+ edition = "2018"
+ rust-version = "1.31"
+ name = "proc-macro-hack"
+-version = "0.5.20+deprecated"
++version = "0.5.20"
+ authors = ["David Tolnay <dtolnay@gmail.com>"]
+ description = "Procedural macros in expression position"
+ readme = "README.md"
+@@ -45,3 +45,4 @@
+ [dev-dependencies.trybuild]
+ version = "1.0.49"
+ features = ["diff"]
++

diff --git a/proc-macro-hack-fix-metadata.diff b/proc-macro-hack-fix-metadata.diff
deleted file mode 100644
index f4c0773..0000000
--- a/proc-macro-hack-fix-metadata.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- proc-macro-hack-0.5.20+deprecated/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ proc-macro-hack-0.5.20+deprecated/Cargo.toml	2023-02-03T13:45:03.794589+00:00
-@@ -13,7 +13,7 @@
- edition = "2018"
- rust-version = "1.31"
- name = "proc-macro-hack"
--version = "0.5.20+deprecated"
-+version = "0.5.20"
- authors = ["David Tolnay <dtolnay@gmail.com>"]
- description = "Procedural macros in expression position"
- readme = "README.md"

diff --git a/rust-proc-macro-hack.spec b/rust-proc-macro-hack.spec
index 8500d3d..351ec04 100644
--- a/rust-proc-macro-hack.spec
+++ b/rust-proc-macro-hack.spec
@@ -1,10 +1,10 @@
-# Generated by rust2rpm 23
-# * demo-hack is not packaged
-%bcond_with check
+# Generated by rust2rpm 28
+# * missing dev-dependency: demo-hack
+%bcond check 0
 %global debug_package %{nil}
 
 %global crate proc-macro-hack
-%global upstream_version 0.5.20+deprecated
+%global crate_version 0.5.20+deprecated
 
 Name:           rust-proc-macro-hack
 Version:        0.5.20
@@ -13,12 +13,11 @@ Summary:        Procedural macros in expression position
 
 License:        MIT OR Apache-2.0
 URL:            https://crates.io/crates/proc-macro-hack
-Source:         %{crates_source %{crate} %{upstream_version}}
-# Manually created patch for downstream crate metadata changes
-# * remove "deprecated" specifier from version string
-Patch:          proc-macro-hack-fix-metadata.diff
+Source:         %{crates_source %{crate} %{crate_version}}
+# Automatically generated patch to strip dependencies and normalize metadata
+Patch:          proc-macro-hack-fix-metadata-auto.diff
 
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
 Procedural macros in expression position.}
@@ -55,7 +54,7 @@ use the "default" feature of the "%{crate}" crate.
 %ghost %{crate_instdir}/Cargo.toml
 
 %prep
-%autosetup -n %{crate}-%{upstream_version} -p1
+%autosetup -n %{crate}-%{crate_version} -p1
 %cargo_prep
 
 %generate_buildrequires

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..bbb4143
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,4 @@
+[tests]
+run = false
+comments = ["missing dev-dependency: demo-hack"]
+

                 reply	other threads:[~2026-08-16 21:17 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=178691502894.1.10322341110055147570.rpms-rust-proc-macro-hack-969d02215c92@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