diff --git a/.gitignore b/.gitignore index 15b7e14..72c3b55 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /paste-1.0.4.crate /paste-1.0.5.crate /paste-1.0.6.crate +/paste-1.0.7.crate diff --git a/rust-paste.spec b/rust-paste.spec index c08b67d..ae3d3b8 100644 --- a/rust-paste.spec +++ b/rust-paste.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 # * paste-test-suite is not packaged %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate paste Name: rust-%{crate} -Version: 1.0.6 +Version: 1.0.7 Release: %autorelease Summary: Macros for all your token pasting needs @@ -16,11 +16,8 @@ URL: https://crates.io/crates/paste Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Macros for all your token pasting needs.} @@ -33,13 +30,14 @@ 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 -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,11 +45,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 81c96f8..7245bce 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (paste-1.0.6.crate) = cf7795c64ded12c16ed7bc90a29bb36156abc8c424066c62d3eff8831a86b4133965d87b8b76b17ed5487ec286fc80e05fff1180833dee4b48f0429016bea25e +SHA512 (paste-1.0.7.crate) = 6f203485cd916f68c4acac6fe6193e2ed8c5a36a6f58865fecbbc4e112e14c6e849cf61cfdbe22fd5b6311d60f1831d726da519a51a1a936552c3b39f01c90f0