diff --git a/.gitignore b/.gitignore index ef57b05..b52b8dd 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /shlex-0.1.1.crate +/shlex-1.1.0.crate diff --git a/rust-shlex.spec b/rust-shlex.spec index a013d9b..95219b1 100644 --- a/rust-shlex.spec +++ b/rust-shlex.spec @@ -1,16 +1,15 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 18 %bcond_without check %global debug_package %{nil} %global crate shlex Name: rust-%{crate} -Version: 0.1.1 +Version: 1.1.0 Release: %autorelease Summary: Split a string into shell words, like Python's shlex -# Upstream license specification: MIT/Apache-2.0 -# https://github.com/comex/rust-shlex/issues/2 +# Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/shlex Source: %{crates_source} @@ -37,7 +36,9 @@ This package contains library source intended for building other packages which use "%{crate}" crate. %files devel -%{cargo_registry}/%{crate}-%{version}/ +%license LICENSE-MIT LICENSE-APACHE +%doc README.md CHANGELOG.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -49,7 +50,19 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%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 "std" feature of "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -70,4 +83,4 @@ which use "default" feature of "%{crate}" crate. %endif %changelog -%autochangelog +%autochangelog \ No newline at end of file diff --git a/sources b/sources index 791f773..f1468e5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (shlex-0.1.1.crate) = a4d202897861ca7955a3561dc1b0fd0307d77948c9b97aa0f8b9caff2b9721d2836a08760d308675973b0e9c7bae92e4d5fbd2a2497cba9e5aeefbe31075e069 +SHA512 (shlex-1.1.0.crate) = e51892298dd79dc7cf04d7e6f0a03e4850a57b15cd75e6e3b56e2a0b15d4cb85ee8afcc14e3727d193c8b91baec8c2864a9c800834ee4d18a1be584f17591752