From 88f2a0702ad017842f21817ed62673f909fae312 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Wed, 12 Feb 2020 10:37:11 -0800 Subject: [PATCH] Update to 0.1.27 --- .gitignore | 1 + rust-libflate.spec | 25 ++++++++++++++----------- sources | 2 +- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 91b5fac..e6eb8f1 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /libflate-0.1.21.crate /libflate-0.1.22.crate /libflate-0.1.23.crate +/libflate-0.1.27.crate diff --git a/rust-libflate.spec b/rust-libflate.spec index 5332654..3eef8ec 100644 --- a/rust-libflate.spec +++ b/rust-libflate.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 9 +# Generated by rust2rpm 13 %bcond_with check %global debug_package %{nil} %global crate libflate Name: rust-%{crate} -Version: 0.1.23 -Release: 3%{?dist} +Version: 0.1.27 +Release: 1%{?dist} Summary: Rust implementation of DEFLATE algorithm and related formats (ZLIB, GZIP) # Upstream license specification: MIT @@ -15,14 +15,11 @@ URL: https://crates.io/crates/libflate Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(adler32/default) >= 1.0.0 with crate(adler32/default) < 2.0.0) -BuildRequires: (crate(byteorder/default) >= 1.0.0 with crate(byteorder/default) < 2.0.0) -BuildRequires: (crate(crc32fast/default) >= 1.0.0 with crate(crc32fast/default) < 2.0.0) -%if %{with check} -BuildRequires: (crate(clap/default) >= 2.0.0 with crate(clap/default) < 3.0.0) -%endif %global _description %{expand: Rust implementation of DEFLATE algorithm and related formats (ZLIB, GZIP).} @@ -41,7 +38,7 @@ which use "%{crate}" crate. %files devel %license LICENSE %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -53,12 +50,15 @@ 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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -71,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Wed Feb 12 2020 Josh Stone - 0.1.27-1 +- Update to 0.1.27 + * Thu Jan 30 2020 Fedora Release Engineering - 0.1.23-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 04e1c66..b06a574 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libflate-0.1.23.crate) = 68c085a12c3aad4ced228782fe38658e43ed620734bad9c1e1cc2d418ee70d19b9991c7c1d953014f69e5f97dd2dc1be57432c034b7a00d44bb1cea2ea8a2793 +SHA512 (libflate-0.1.27.crate) = 056ecd475079ebf366209a04d8204b0c175365ab865607e5b6364a9177c8ffe7d56550d0af8b9269ba12996ff60b3258a0470116158fac6ac3eb0e786eb87050