diff --git a/.gitignore b/.gitignore index 53c0353..5d14486 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /shellexpand-2.0.0.crate /shellexpand-2.1.0.crate +/shellexpand-2.1.2.crate diff --git a/rust-shellexpand.spec b/rust-shellexpand.spec index 66c86e2..ebe5414 100644 --- a/rust-shellexpand.spec +++ b/rust-shellexpand.spec @@ -1,25 +1,22 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate shellexpand -Name: rust-%{crate} -Version: 2.1.0 +Name: rust-shellexpand +Version: 2.1.2 Release: %autorelease Summary: Shell-like expansions in strings # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/shellexpand Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Shell-like expansions in strings.} @@ -32,13 +29,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-MIT LICENSE-APACHE -%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} @@ -46,11 +44,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 42f50f1..1bdaf1c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (shellexpand-2.1.0.crate) = 90d32a5547691c9118a50748feb71bafca44718f0d5ff90cd5d4d9ee893ed4cad2d761a562917f7f26a8ea39154a4aba8dd6351fbf38f8bbf9157aa7c7947413 +SHA512 (shellexpand-2.1.2.crate) = 80242e9f39140b3406c604ddc771f6df93b98f34a67f8f7a1c08f78b463bf46dfde365759a0e8082b1da2704b96c71cb9341c4b789a238195cbb2db1cdcc7581