diff --git a/.gitignore b/.gitignore index c82ff61..fcdd2b8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /pathdiff-0.1.0.crate /pathdiff-0.2.0.crate +/pathdiff-0.2.1.crate diff --git a/rust-pathdiff.spec b/rust-pathdiff.spec index b58ee7f..586ddb4 100644 --- a/rust-pathdiff.spec +++ b/rust-pathdiff.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate pathdiff Name: rust-%{crate} -Version: 0.2.0 +Version: 0.2.1 Release: %autorelease Summary: Library for diffing paths to obtain relative paths @@ -15,9 +15,6 @@ URL: https://crates.io/crates/pathdiff 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -45,12 +42,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}+camino-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+camino-devel %{_description} + +This package contains library source intended for building other packages which +use the "camino" feature of the "%{crate}" crate. + +%files -n %{name}+camino-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 8d66c50..769c18c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pathdiff-0.2.0.crate) = 9527aa96b6f873014c216c6326e0d235f764951d244f5cf36e2eaa0b8182b25e7766a46967b5b0b936163c6ec4796a15e72540dd3faca8abfdcbeba651c21f71 +SHA512 (pathdiff-0.2.1.crate) = a646f271ce81d5f6d4a8e0d98a2c802a8796a961cf8fe8177911e7757bdaecd8b156ff22046f1663a9efcd5fef1e6f000e5509d3949dbaeb494126b7e8a546b7