public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-peeking_take_while] epel9: Regenerate with rust2rpm v24
@ 2026-10-25 18:17 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-10-25 18:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-peeking_take_while
Branch : epel9
Commit : cf2443c712a3f42568881d1981284de9ac01d396
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2023-03-20T19:24:04+01:00
Stats : +24/-25 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rust-peeking_take_while/c/cf2443c712a3f42568881d1981284de9ac01d396?branch=epel9
Log:
Regenerate with rust2rpm v24
---
diff --git a/README.md b/README.md
deleted file mode 100644
index a6d01e6..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-peeking_take_while
-
-The rust-peeking_take_while package
\ No newline at end of file
diff --git a/rust-peeking_take_while.spec b/rust-peeking_take_while.spec
index acf2b20..e95a013 100644
--- a/rust-peeking_take_while.spec
+++ b/rust-peeking_take_while.spec
@@ -1,28 +1,26 @@
-# Generated by rust2rpm
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate peeking_take_while
-Name: rust-%{crate}
+Name: rust-peeking_take_while
Version: 0.1.2
Release: %autorelease
-Summary: Like `Iterator::take_while`, but calls the predicate on a peeked value
+Summary: Like Iterator::take_while, but calls the predicate on a peeked value
# Upstream license specification: Apache-2.0/MIT
-License: ASL 2.0 or MIT
+License: Apache-2.0 OR MIT
URL: https://crates.io/crates/peeking_take_while
-Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
+Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
+BuildRequires: rust-packaging >= 21
-BuildRequires: rust-packaging
-
-%global _description \
-Like `Iterator::take_while`, but calls the predicate on a peeked value. This\
-allows you to use `Iterator::by_ref` and `Iterator::take_while` together, and\
-still get the first value for which the `take_while` predicate returned false\
-after dropping the `by_ref`.
+%global _description %{expand:
+Like `Iterator::take_while`, but calls the predicate on a peeked value.
+This allows you to use `Iterator::by_ref` and `Iterator::take_while`
+together, and still get the first value for which the `take_while`
+predicate returned false after dropping the `by_ref`.}
%description %{_description}
@@ -32,13 +30,14 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE-APACHE LICENSE-MIT
-%doc README.md
-%{cargo_registry}/%{crate}-%{version}/
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -46,16 +45,19 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
-This package contains library source intended for building other packages
-which use "default" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
-%autosetup -n %{crate}-%{version} -p1
+%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
+%generate_buildrequires
+%cargo_generate_buildrequires
+
%build
%cargo_build
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-25 18:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-25 18:17 [rpms/rust-peeking_take_while] epel9: Regenerate with rust2rpm v24 Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox