From fdafd4f00de70281c203ccf2ff81b124dae4ffc3 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 22 May 2023 20:14:30 +0200 Subject: [PATCH] Regenerate with rust2rpm v24 --- README.md | 3 --- rust-vte.spec | 50 +++++++++++++++++++++++--------------------------- 2 files changed, 23 insertions(+), 30 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index 8960628..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-vte - -The rust-vte package \ No newline at end of file diff --git a/rust-vte.spec b/rust-vte.spec index d81a222..5a1f6cf 100644 --- a/rust-vte.spec +++ b/rust-vte.spec @@ -1,25 +1,19 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate vte -Name: rust-%{crate} +Name: rust-vte Version: 0.10.1 Release: %autorelease Summary: Parser for implementing terminal emulators -# Upstream license specification: Apache-2.0 OR MIT -License: ASL 2.0 or MIT +License: Apache-2.0 OR MIT URL: https://crates.io/crates/vte Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Parser for implementing terminal emulators.} @@ -32,13 +26,15 @@ 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 CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%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}+arrayvec-devel Summary: %{summary} @@ -58,11 +54,11 @@ BuildArch: noarch %description -n %{name}+arrayvec-devel %{_description} -This package contains library source intended for building other packages -which use "arrayvec" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "arrayvec" feature of the "%{crate}" crate. %files -n %{name}+arrayvec-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+nightly-devel Summary: %{summary} @@ -70,11 +66,11 @@ BuildArch: noarch %description -n %{name}+nightly-devel %{_description} -This package contains library source intended for building other packages -which use "nightly" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "nightly" feature of the "%{crate}" crate. %files -n %{name}+nightly-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+no_std-devel Summary: %{summary} @@ -82,11 +78,11 @@ BuildArch: noarch %description -n %{name}+no_std-devel %{_description} -This package contains library source intended for building other packages -which use "no_std" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "no_std" feature of the "%{crate}" crate. %files -n %{name}+no_std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1