public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-maybe-owned] rawhide: Re-generated spec file with current rust2rpm
Date: Thu, 20 Aug 2026 06:56:19 GMT [thread overview]
Message-ID: <178720897961.1.9956691499317368596.rpms-rust-maybe-owned-fc491f566aec@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-maybe-owned
Branch : rawhide
Commit : fc491f566aec286b1ecc2604c088a7a160fb4695
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-08-20T07:54:29+01:00
Stats : +27/-26 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rust-maybe-owned/c/fc491f566aec286b1ecc2604c088a7a160fb4695?branch=rawhide
Log:
Re-generated spec file with current rust2rpm
- Package reintroduced after previous retirement; close RHBZ#2516017
---
diff --git a/rust-maybe-owned.spec b/rust-maybe-owned.spec
index 618bc71..7d5ac5c 100644
--- a/rust-maybe-owned.spec
+++ b/rust-maybe-owned.spec
@@ -1,29 +1,24 @@
-# Generated by rust2rpm 17
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
%global debug_package %{nil}
%global crate maybe-owned
-Name: rust-%{crate}
+Name: rust-maybe-owned
Version: 0.3.4
Release: %autorelease
-Summary: Provides Rust enums MaybeOwned and MaybeOwnedMut
+Summary: Provides a MaybeOwned (and MaybeOwnedMut) type
-# Upstream license specification: MIT OR Apache-2.0
-License: MIT or ASL 2.0
+License: MIT OR Apache-2.0
URL: https://crates.io/crates/maybe-owned
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
-Provides a `MaybeOwned` (and `MaybeOwnedMut`) type similar to std's `Cow` but
-it implements `From<T>` and `From<&'a T>` and does not require `ToOwned`.}
+Provides a `MaybeOwned` (and `MaybeOwnedMut`) type similar to std's
+`Cow` but it implements `From<T>` and `From<&'a T>` and does not require
+`ToOwned`.}
%description %{_description}
@@ -33,13 +28,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
-%doc README.md
-%license LICENSE-APACHE LICENSE-MIT
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -47,11 +43,11 @@ 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_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
@@ -59,14 +55,14 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
-This package contains library source intended for building other packages
-which use "serde" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%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..6c57fb4
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,5 @@
+[package]
+# Upstream: “provides a `MaybeOwned` (and `MaybeOwnedMut`) type similar to
+# std's `Cow` but it implements `From<T>` and `From<&'a T>` and does not
+# require `ToOwned`”
+summary = "Provides a MaybeOwned (and MaybeOwnedMut) type"
reply other threads:[~2026-08-20 6:56 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=178720897961.1.9956691499317368596.rpms-rust-maybe-owned-fc491f566aec@fedoraproject.org \
--to=code@musicinmybrain.net \
--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