diff --git a/.gitignore b/.gitignore index c70218e..bd648b2 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /libflate-1.1.0.crate /libflate-1.1.1.crate /libflate-1.1.2.crate +/libflate-1.2.0.crate diff --git a/rust-libflate.spec b/rust-libflate.spec index 7afe0db..1740ec1 100644 --- a/rust-libflate.spec +++ b/rust-libflate.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate libflate Name: rust-%{crate} -Version: 1.1.2 +Version: 1.2.0 Release: %autorelease Summary: Rust implementation of DEFLATE algorithm and related formats (ZLIB, GZIP) @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Rust implementation of DEFLATE algorithm and related formats (ZLIB, GZIP).} @@ -33,9 +33,9 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +47,7 @@ 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 8557f4f..39a390f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libflate-1.1.2.crate) = 7a25660231da05801f7152299f5a6993103f175ea661ec056dd6662994e1f348bb7028d6d2a6a712984a78fd4f6906a44fceafd8328064a45cdf916375fc8251 +SHA512 (libflate-1.2.0.crate) = a5e0448e56ab5a219952a4b4efc3407c8419d8d9a255670f42b8f1bca7f7fe5774c2711025b18285c4f1310d26d0347ab2090b0f734bae43b569a0879f67d1f2