diff --git a/.gitignore b/.gitignore index 6b43e9f..0a71f14 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /camino-1.0.4.crate /camino-1.0.5.crate /camino-1.0.7.crate +/camino-1.0.8.crate diff --git a/rust-camino.spec b/rust-camino.spec index 6edc9ef..aecffd9 100644 --- a/rust-camino.spec +++ b/rust-camino.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate camino Name: rust-%{crate} -Version: 1.0.7 +Version: 1.0.8 Release: %autorelease Summary: UTF-8 paths @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: UTF-8 paths.} @@ -33,9 +33,12 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md CODE_OF_CONDUCT.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/CODE_OF_CONDUCT.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +50,31 @@ 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}+proptest-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+proptest-devel %{_description} + +This package contains library source intended for building other packages which +use the "proptest" feature of the "%{crate}" crate. + +%files -n %{name}+proptest-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+proptest1-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+proptest1-devel %{_description} + +This package contains library source intended for building other packages which +use the "proptest1" feature of the "%{crate}" crate. + +%files -n %{name}+proptest1-devel +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -59,7 +86,7 @@ This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde1-devel Summary: %{summary} @@ -71,7 +98,7 @@ This package contains library source intended for building other packages which use the "serde1" feature of the "%{crate}" crate. %files -n %{name}+serde1-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 acd27d6..173cfd4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (camino-1.0.7.crate) = 0c22c9de3740d39d058de25b2c9b221928f11cf9340562412a15948ddfeaddcb6da38ed3f18321c322d2811847d7cb5cc1c78304f67e9702a2056e59da64bf33 +SHA512 (camino-1.0.8.crate) = 81b70ee09ea788e0093a86ede0733c8f487d22db05bf2c6e81914e19ece81378aafdad7b6cd12ae6d8dbc3c5ab65880fffaa58a02465e0772f4b79eef9f51973