From 663febc61a93903dc64ddabc03e1a8a7766877e8 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: May 17 2023 12:16:22 +0000 Subject: Regenerate with rust2rpm v24 --- diff --git a/README.md b/README.md deleted file mode 100644 index f26e86a..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-users - -The rust-users package \ No newline at end of file diff --git a/rust-users.spec b/rust-users.spec index b1d4798..841faa9 100644 --- a/rust-users.spec +++ b/rust-users.spec @@ -1,25 +1,19 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate users -Name: rust-%{crate} +Name: rust-users Version: 0.11.0 Release: %autorelease Summary: Library for accessing Unix users and groups -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/users Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Library for accessing Unix users and groups.} @@ -32,13 +26,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 LICENCE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENCE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +40,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}+cache-devel Summary: %{summary} @@ -58,11 +52,11 @@ BuildArch: noarch %description -n %{name}+cache-devel %{_description} -This package contains library source intended for building other packages -which use "cache" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "cache" feature of the "%{crate}" crate. %files -n %{name}+cache-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+log-devel Summary: %{summary} @@ -70,11 +64,11 @@ BuildArch: noarch %description -n %{name}+log-devel %{_description} -This package contains library source intended for building other packages -which use "log" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "log" feature of the "%{crate}" crate. %files -n %{name}+log-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+logging-devel Summary: %{summary} @@ -82,11 +76,11 @@ BuildArch: noarch %description -n %{name}+logging-devel %{_description} -This package contains library source intended for building other packages -which use "logging" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "logging" feature of the "%{crate}" crate. %files -n %{name}+logging-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mock-devel Summary: %{summary} @@ -94,11 +88,11 @@ BuildArch: noarch %description -n %{name}+mock-devel %{_description} -This package contains library source intended for building other packages -which use "mock" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "mock" feature of the "%{crate}" crate. %files -n %{name}+mock-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1