From 5c011ea5329c4df7c59c8867713896ec72b6f853 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 5 Aug 2023 23:59:37 +0200 Subject: [PATCH] Regenerate with rust2rpm v24 --- README.md | 3 --- rust-version-sync.spec | 41 +++++++++++++++++++---------------------- rust2rpm.conf | 2 ++ 3 files changed, 21 insertions(+), 25 deletions(-) delete mode 100644 README.md create mode 100644 rust2rpm.conf diff --git a/README.md b/README.md deleted file mode 100644 index 2a770de..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-version-sync - -The rust-version-sync package \ No newline at end of file diff --git a/rust-version-sync.spec b/rust-version-sync.spec index cfca406..105dacb 100644 --- a/rust-version-sync.spec +++ b/rust-version-sync.spec @@ -1,26 +1,23 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate version-sync -Name: rust-%{crate} +Name: rust-version-sync Version: 0.9.4 Release: %autorelease Summary: Simple crate for ensuring that version numbers in README files are updated -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/version-sync Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Crate for ensuring that version numbers in README files and other files are -kept in sync with the crate version.} +Crate for ensuring that version numbers in README files and other files +are kept in sync with the crate version.} %description %{_description} @@ -34,9 +31,9 @@ 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} @@ -48,7 +45,7 @@ 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}+contains_regex-devel Summary: %{summary} @@ -60,7 +57,7 @@ This package contains library source intended for building other packages which use the "contains_regex" feature of the "%{crate}" crate. %files -n %{name}+contains_regex-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+html_root_url_updated-devel Summary: %{summary} @@ -72,7 +69,7 @@ This package contains library source intended for building other packages which use the "html_root_url_updated" feature of the "%{crate}" crate. %files -n %{name}+html_root_url_updated-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+markdown_deps_updated-devel Summary: %{summary} @@ -84,7 +81,7 @@ This package contains library source intended for building other packages which use the "markdown_deps_updated" feature of the "%{crate}" crate. %files -n %{name}+markdown_deps_updated-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+proc-macro2-devel Summary: %{summary} @@ -96,7 +93,7 @@ This package contains library source intended for building other packages which use the "proc-macro2" feature of the "%{crate}" crate. %files -n %{name}+proc-macro2-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pulldown-cmark-devel Summary: %{summary} @@ -108,7 +105,7 @@ This package contains library source intended for building other packages which use the "pulldown-cmark" feature of the "%{crate}" crate. %files -n %{name}+pulldown-cmark-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+regex-devel Summary: %{summary} @@ -120,7 +117,7 @@ This package contains library source intended for building other packages which use the "regex" feature of the "%{crate}" crate. %files -n %{name}+regex-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+semver-devel Summary: %{summary} @@ -132,7 +129,7 @@ This package contains library source intended for building other packages which use the "semver" feature of the "%{crate}" crate. %files -n %{name}+semver-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+syn-devel Summary: %{summary} @@ -144,7 +141,7 @@ This package contains library source intended for building other packages which use the "syn" feature of the "%{crate}" crate. %files -n %{name}+syn-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+toml-devel Summary: %{summary} @@ -156,7 +153,7 @@ This package contains library source intended for building other packages which use the "toml" feature of the "%{crate}" crate. %files -n %{name}+toml-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+url-devel Summary: %{summary} @@ -168,7 +165,7 @@ This package contains library source intended for building other packages which use the "url" feature of the "%{crate}" crate. %files -n %{name}+url-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/rust2rpm.conf b/rust2rpm.conf new file mode 100644 index 0000000..07c5778 --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,2 @@ +[DEFAULT] +summary = Simple crate for ensuring that version numbers in README files are updated