public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-smart-default] epel10: Regenerate with rust2rpm v24
@ 2026-09-28 13:56 Aleksei Bavshin
0 siblings, 0 replies; only message in thread
From: Aleksei Bavshin @ 2026-09-28 13:56 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-smart-default
Branch : epel10
Commit : 4ab4ec068c9e6324010d9561abe6fff3746b65f0
Author : Aleksei Bavshin <alebastr@fedoraproject.org>
Date : 2023-06-08T07:22:28-07:00
Stats : +12/-17 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rust-smart-default/c/4ab4ec068c9e6324010d9561abe6fff3746b65f0?branch=epel10
Log:
Regenerate with rust2rpm v24
---
diff --git a/rust-smart-default.spec b/rust-smart-default.spec
index 15c6155..ce953b0 100644
--- a/rust-smart-default.spec
+++ b/rust-smart-default.spec
@@ -1,25 +1,19 @@
-# Generated by rust2rpm 13
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate smart-default
-Name: rust-%{crate}
+Name: rust-smart-default
Version: 0.6.0
Release: %autorelease
Summary: Rust custom-derive macro for Default with more control on the fields
-# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/smart-default
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Rust custom-derive macro for Default with more control on the fields.}
@@ -32,13 +26,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
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -46,11 +41,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
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-28 13:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-28 13:56 [rpms/rust-smart-default] epel10: Regenerate with rust2rpm v24 Aleksei Bavshin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox