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-intl_pluralrules] f45: Regenerate with rust2rpm v28
Date: Tue, 25 Aug 2026 19:02:58 GMT [thread overview]
Message-ID: <178768457881.1.1862816732173699310.rpms-rust-intl_pluralrules-786baec8092e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-intl_pluralrules
Branch : f45
Commit : 786baec8092eccd12861beab6ff3f7ca785c0713
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-08-25T20:52:07+02:00
Stats : +40/-16 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-intl_pluralrules/c/786baec8092eccd12861beab6ff3f7ca785c0713?branch=f45
Log:
Regenerate with rust2rpm v28
---
diff --git a/README.md b/README.md
deleted file mode 100644
index 8e9f76c..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-intl_pluralrules
-
-The rust-intl_pluralrules package
diff --git a/intl_pluralrules-fix-metadata.diff b/intl_pluralrules-fix-metadata.diff
index 89bdcfc..ce25b14 100644
--- a/intl_pluralrules-fix-metadata.diff
+++ b/intl_pluralrules-fix-metadata.diff
@@ -1,6 +1,14 @@
--- intl_pluralrules-7.0.2/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ intl_pluralrules-7.0.2/Cargo.toml 2022-11-04T17:55:10.816566+00:00
-@@ -46,9 +46,6 @@
++++ intl_pluralrules-7.0.2/Cargo.toml 2026-08-25T18:50:02.693563+00:00
+@@ -22,6 +22,7 @@
+ "benches/*.rs",
+ "Cargo.toml",
+ "README.md",
++ "LICENSE-*",
+ ]
+ description = "Unicode Plural Rules categorizer for numeric input."
+ readme = "README.md"
+@@ -46,9 +47,6 @@
[dependencies.unic-langid]
version = "0.9"
diff --git a/rust-intl_pluralrules.spec b/rust-intl_pluralrules.spec
index 61564f5..aec1524 100644
--- a/rust-intl_pluralrules.spec
+++ b/rust-intl_pluralrules.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 intl_pluralrules
@@ -12,14 +12,14 @@ Summary: Unicode Plural Rules categorizer for numeric input
# Upstream license specification: Apache-2.0/MIT
License: Apache-2.0 OR MIT
URL: https://crates.io/crates/intl_pluralrules
-Source0: %{crates_source}
-Source1: https://github.com/zbraniecki/pluralrules/raw/48089b7/intl_pluralrules/LICENSE-APACHE
-Source2: https://github.com/zbraniecki/pluralrules/raw/48089b7/intl_pluralrules/LICENSE-MIT
+Source: %{crates_source}
+Source2: https://github.com/zbraniecki/pluralrules/raw/48089b7/intl_pluralrules/LICENSE-APACHE
+Source3: https://github.com/zbraniecki/pluralrules/raw/48089b7/intl_pluralrules/LICENSE-MIT
# Manually created patch for downstream crate metadata changes
-# * drop unused, benchmark-only criterion dev-dependency to speed up builds
+# * drop unused, benchmark-only criterion dev-dependency
Patch: intl_pluralrules-fix-metadata.diff
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Unicode Plural Rules categorizer for numeric input.}
@@ -36,8 +36,8 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
-%license LICENSE-APACHE
-%license LICENSE-MIT
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/
@@ -54,9 +54,9 @@ use the "default" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
-cp -pav %{SOURCE1} %{SOURCE2} .
+%autosetup -n %{crate}-%{version} -p1
%cargo_prep
+cp -pav %{SOURCE2} %{SOURCE3} .
%generate_buildrequires
%cargo_generate_buildrequires
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..992440b
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,19 @@
+[package]
+cargo-toml-patch-comments = [
+ "drop unused, benchmark-only criterion dev-dependency",
+]
+license-files = ["LICENSE-APACHE", "LICENSE-MIT"]
+
+[[package.extra-sources]]
+number = 2
+file = "https://github.com/zbraniecki/pluralrules/raw/48089b7/intl_pluralrules/LICENSE-APACHE"
+
+[[package.extra-sources]]
+number = 3
+file = "https://github.com/zbraniecki/pluralrules/raw/48089b7/intl_pluralrules/LICENSE-MIT"
+
+[scripts]
+prep.post = [
+ "cp -pav %{SOURCE2} %{SOURCE3} .",
+]
+
reply other threads:[~2026-08-25 19:02 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=178768457881.1.1862816732173699310.rpms-rust-intl_pluralrules-786baec8092e@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