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-timeago] f45: Regenerate with rust2rpm v28
Date: Sat, 29 Aug 2026 15:27:46 GMT [thread overview]
Message-ID: <178801726662.1.7728582399622992267.rpms-rust-timeago-438c1b823d0c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-timeago
Branch : f45
Commit : 438c1b823d0cfb4ae762d73dc788ecc6a6edfe12
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-08-29T17:20:57+02:00
Stats : +21/-13 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-timeago/c/438c1b823d0cfb4ae762d73dc788ecc6a6edfe12?branch=f45
Log:
Regenerate with rust2rpm v28
---
diff --git a/rust-timeago.spec b/rust-timeago.spec
index 079c960..d159d40 100644
--- a/rust-timeago.spec
+++ b/rust-timeago.spec
@@ -1,7 +1,10 @@
-# Generated by rust2rpm 24
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
%global debug_package %{nil}
+# prevent executables from being installed
+%global cargo_install_bin 0
+
%global crate timeago
Name: rust-timeago
@@ -13,11 +16,10 @@ License: MIT OR Apache-2.0
URL: https://crates.io/crates/timeago
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
-# * prevent unwanted binary from being built and shipped
# * remove unused support for ISO 639 language codes
Patch: timeago-fix-metadata.diff
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 26
%global _description %{expand:
Given a Duration, lossily format it like in 'N days ago'. Parsing it
@@ -77,7 +79,7 @@ use the "translations" 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..ec43d46
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,6 @@
+[package]
+cargo-install-bin = false
+cargo-toml-patch-comments = [
+ "remove unused support for ISO 639 language codes",
+]
+
diff --git a/timeago-fix-metadata.diff b/timeago-fix-metadata.diff
index 4c67fad..a33fa1b 100644
--- a/timeago-fix-metadata.diff
+++ b/timeago-fix-metadata.diff
@@ -1,14 +1,14 @@
--- timeago-0.4.2/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ timeago-0.4.2/Cargo.toml 2023-09-18T21:46:53.398582+00:00
-@@ -18,6 +18,7 @@
- readme = "README.md"
- license = "MIT OR Apache-2.0"
- repository = "https://github.com/vi/timeago"
-+autobins = false
-
++++ timeago-0.4.2/Cargo.toml 2026-08-29T15:19:25.068434+00:00
+@@ -22,7 +22,6 @@
[package.metadata.docs.rs]
features = [
-@@ -30,14 +31,9 @@
+ "translations",
+- "isolang",
+ "chrono",
+ ]
+
+@@ -30,14 +29,9 @@
version = "0.4"
optional = true
reply other threads:[~2026-08-29 15:27 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=178801726662.1.7728582399622992267.rpms-rust-timeago-438c1b823d0c@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