From bab9622a5cf0bf2d51e27d59560047822b48d21a Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 5 Aug 2023 11:44:00 +0200 Subject: [PATCH] Regenerate with rust2rpm v24 --- README.md | 3 --- rust-hex-literal-impl.spec | 18 ++++++++---------- 2 files changed, 8 insertions(+), 13 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index c869c5e..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-hex-literal-impl - -The rust-hex-literal-impl package \ No newline at end of file diff --git a/rust-hex-literal-impl.spec b/rust-hex-literal-impl.spec index 90de80e..ba89645 100644 --- a/rust-hex-literal-impl.spec +++ b/rust-hex-literal-impl.spec @@ -1,22 +1,19 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate hex-literal-impl -Name: rust-%{crate} +Name: rust-hex-literal-impl Version: 0.2.3 Release: %autorelease Summary: Internal implementation of the hex-literal crate -# 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/hex-literal-impl Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Internal implementation of the hex-literal crate.} @@ -33,8 +30,9 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,7 +44,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1