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-uriparse] rawhide: Regenerate with rust2rpm v28
Date: Fri, 31 Jul 2026 20:55:21 GMT	[thread overview]
Message-ID: <178553132110.1.1810221605013700969.rpms-rust-uriparse-33e4343218f0@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-uriparse
Branch : rawhide
Commit : 33e4343218f0284f6498dfb38cbca86987f9a290
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-07-31T22:55:01+02:00
Stats  : +30/-44 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-uriparse/c/33e4343218f0284f6498dfb38cbca86987f9a290?branch=rawhide

Log:
Regenerate with rust2rpm v28

---
diff --git a/1000-Drop-optional-devel-dependencies-criterion.patch b/1000-Drop-optional-devel-dependencies-criterion.patch
deleted file mode 100644
index a614d6c..0000000
--- a/1000-Drop-optional-devel-dependencies-criterion.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 5f500e4a3f99faea26d6a9fc2f08740fd8f1d1d1 Mon Sep 17 00:00:00 2001
-From: Jan Macku <jamacku@redhat.com>
-Date: Wed, 2 Nov 2022 08:47:24 +0100
-Subject: [PATCH] Drop optional devel dependencies (criterion)
-
-fedora-only
----
- Cargo.toml | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/Cargo.toml b/Cargo.toml
-index 69b2283..18887e9 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -34,8 +34,6 @@ version = "1.4.0"
- version = "1.0.115"
- features = ["derive"]
- optional = true
--[dev-dependencies.criterion]
--version = "0.2.10"
- 
- [dev-dependencies.serde_json]
- version = "1.0.57"
--- 
-2.38.1
-

diff --git a/README.md b/README.md
deleted file mode 100644
index 37f6227..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-uriparse
-
-The rust-uriparse package

diff --git a/rust-uriparse.spec b/rust-uriparse.spec
index 73030f7..48acaf5 100644
--- a/rust-uriparse.spec
+++ b/rust-uriparse.spec
@@ -1,5 +1,5 @@
-# Generated by rust2rpm 22
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
 %global debug_package %{nil}
 
 %global crate uriparse
@@ -12,22 +12,15 @@ Summary:        URI parser including relative references
 License:        MIT
 URL:            https://crates.io/crates/uriparse
 Source:         %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * drop unused, benchmark-only criterion dev-dependency
+Patch:          uriparse-fix-metadata.diff
 
-ExclusiveArch:  %{rust_arches}
-
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
 BuildRequires:  dos2unix
 
-# Upstream patches -- official upstream patches released by upstream since the
-# ----------------    last release that are necessary for any reason:
-# Patch0001: ....patch
-
-# Downstream patches -- these should be always included when doing rebase:
-# ------------------
-Patch1000:      1000-Drop-optional-devel-dependencies-criterion.patch
-
 %global _description %{expand:
-URI parser including relative references.}
+A URI parser including relative references.}
 
 %description %{_description}
 
@@ -71,7 +64,7 @@ use the "serde" 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
 find -type f -print0 | xargs -0 dos2unix
 

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..650613e
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,11 @@
+[package]
+cargo-toml-patch-comments = [
+    "drop unused, benchmark-only criterion dev-dependency",
+]
+
+[requires]
+build = ["dos2unix"]
+
+[scripts]
+prep.post = ["find -type f -print0 | xargs -0 dos2unix"]
+

diff --git a/uriparse-fix-metadata.diff b/uriparse-fix-metadata.diff
new file mode 100644
index 0000000..8249fc1
--- /dev/null
+++ b/uriparse-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- uriparse-0.6.4/Cargo.toml	1970-01-01T00:00:01+00:00
++++ uriparse-0.6.4/Cargo.toml	2026-07-31T20:53:58.716202+00:00
+@@ -34,8 +34,6 @@
+ version = "1.0.115"
+ features = ["derive"]
+ optional = true
+-[dev-dependencies.criterion]
+-version = "0.2.10"
+ 
+ [dev-dependencies.serde_json]
+ version = "1.0.57"

                 reply	other threads:[~2026-07-31 20:55 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=178553132110.1.1810221605013700969.rpms-rust-uriparse-33e4343218f0@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