public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-cssparser] epel10: Re-generate spec file with rust2rpm 22
@ 2026-06-15 14:13 Kalev Lember
  0 siblings, 0 replies; only message in thread
From: Kalev Lember @ 2026-06-15 14:13 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-cssparser
Branch : epel10
Commit : 040eb7d2cd931683c2ab4a25d2be19d8d506908e
Author : Kalev Lember <klember@redhat.com>
Date   : 2022-10-04T10:26:22+02:00
Stats  : +25/-26 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-cssparser/c/040eb7d2cd931683c2ab4a25d2be19d8d506908e?branch=epel10

Log:
Re-generate spec file with rust2rpm 22

---
diff --git a/rust-cssparser.spec b/rust-cssparser.spec
index 2acd7ab..23fbeab 100644
--- a/rust-cssparser.spec
+++ b/rust-cssparser.spec
@@ -1,25 +1,21 @@
-# Generated by rust2rpm 17
+# Generated by rust2rpm 22
 %bcond_without check
 %global debug_package %{nil}
 
 %global crate cssparser
 
-Name:           rust-%{crate}
+Name:           rust-cssparser
 Version:        0.28.1
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Rust implementation of CSS Syntax Level 3
 
-# Upstream license specification: MPL-2.0
-License:        MPLv2.0
+License:        MPL-2.0
 URL:            https://crates.io/crates/cssparser
 Source:         %{crates_source}
 
 ExclusiveArch:  %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch:      noarch
-%endif
 
-BuildRequires:  rust-packaging
+BuildRequires:  rust-packaging >= 21
 
 %global _description %{expand:
 Rust implementation of CSS Syntax Level 3.}
@@ -32,13 +28,13 @@ 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}/README.md
+%{crate_instdir}/
 
 %package     -n %{name}+default-devel
 Summary:        %{summary}
@@ -46,11 +42,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}+bench-devel
 Summary:        %{summary}
@@ -58,11 +54,11 @@ BuildArch:      noarch
 
 %description -n %{name}+bench-devel %{_description}
 
-This package contains library source intended for building other packages
-which use "bench" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "bench" feature of the "%{crate}" crate.
 
 %files       -n %{name}+bench-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
 
 %package     -n %{name}+dummy_match_byte-devel
 Summary:        %{summary}
@@ -70,11 +66,11 @@ BuildArch:      noarch
 
 %description -n %{name}+dummy_match_byte-devel %{_description}
 
-This package contains library source intended for building other packages
-which use "dummy_match_byte" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "dummy_match_byte" feature of the "%{crate}" crate.
 
 %files       -n %{name}+dummy_match_byte-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
 
 %package     -n %{name}+serde-devel
 Summary:        %{summary}
@@ -82,11 +78,11 @@ 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
@@ -108,6 +104,9 @@ which use "serde" feature of "%{crate}" crate.
 %endif
 
 %changelog
+* Mon Sep 05 2022 Kalev Lember <klember@redhat.com> - 0.28.1-4
+- Re-generate spec file with rust2rpm 22
+
 * Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.28.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-15 14:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 14:13 [rpms/rust-cssparser] epel10: Re-generate spec file with rust2rpm 22 Kalev Lember

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox