diff --git a/.gitignore b/.gitignore index 5e910ce..908a24d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /shell-words-0.1.0.crate /shell-words-1.0.0.crate +/shell-words-1.1.0.crate diff --git a/rust-shell-words.spec b/rust-shell-words.spec index 2dcc891..046d6e0 100644 --- a/rust-shell-words.spec +++ b/rust-shell-words.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 15 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate shell-words Name: rust-%{crate} -Version: 1.0.0 +Version: 1.1.0 Release: %autorelease Summary: Process command line according to parsing rules of UNIX shell @@ -15,9 +15,6 @@ URL: https://crates.io/crates/shell-words Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -32,11 +29,11 @@ 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 +%license LICENSE-APACHE LICENSE-MIT %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ @@ -46,12 +43,24 @@ 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 +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index 7735cde..d359ee6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (shell-words-1.0.0.crate) = f1de4606bb249fca7dea437464ef560aa49839382716b9c940738547a5def28337501d9ba77d96a63ecb956d3c49867d6f4742f14946448a2c9d0b1ecea9ebc9 +SHA512 (shell-words-1.1.0.crate) = 05c280a8e1f65b205746560a82e397689a3b5ec934219b558ece3a25efbfdefe903f9172319240e96039b38fb2c4be6e070805aedbdfd10344d9144b9c93de00