From 7d7cf8386d4dc5b13b161168969923a5bc52f144 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 6 Aug 2023 00:38:19 +0200 Subject: [PATCH] Regenerate with rust2rpm v24 --- README.md | 3 --- rust-pathdiff.spec | 19 +++++++++---------- 2 files changed, 9 insertions(+), 13 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index 62ca63d..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-pathdiff - -The rust-pathdiff package \ No newline at end of file diff --git a/rust-pathdiff.spec b/rust-pathdiff.spec index 586ddb4..976a416 100644 --- a/rust-pathdiff.spec +++ b/rust-pathdiff.spec @@ -1,22 +1,20 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate pathdiff -Name: rust-%{crate} +Name: rust-pathdiff Version: 0.2.1 Release: %autorelease Summary: Library for diffing paths to obtain relative paths # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/pathdiff Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Library for diffing paths to obtain relative paths.} @@ -33,8 +31,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 +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}+camino-devel Summary: %{summary} @@ -58,7 +57,7 @@ This package contains library source intended for building other packages which use the "camino" feature of the "%{crate}" crate. %files -n %{name}+camino-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1