From d90f0967e6dad65cbcf6b021a40a54932c633a75 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 15 May 2020 10:12:45 -0700 Subject: [PATCH] Update to 0.1.16 --- .gitignore | 1 + .rust2rpm.conf | 5 +++++ rust-lzma-sys.spec | 17 ++++++++++------- sources | 2 +- 4 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 .rust2rpm.conf diff --git a/.gitignore b/.gitignore index edf56a6..b100fb4 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /lzma-sys-0.1.13.crate /lzma-sys-0.1.14.crate /lzma-sys-0.1.15.crate +/lzma-sys-0.1.16.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..02c41ff --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,5 @@ +[DEFAULT] +buildrequires = + (pkgconfig(liblzma) >= 5.2.4 with pkgconfig(liblzma) < 6.0.0) +lib.requires = + (pkgconfig(liblzma) >= 5.2.4 with pkgconfig(liblzma) < 6.0.0) diff --git a/rust-lzma-sys.spec b/rust-lzma-sys.spec index af4eec9..0ed3593 100644 --- a/rust-lzma-sys.spec +++ b/rust-lzma-sys.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate lzma-sys Name: rust-%{crate} -Version: 0.1.15 -Release: 2%{?dist} +Version: 0.1.16 +Release: 1%{?dist} Summary: Raw bindings to liblzma # Upstream license specification: MIT/Apache-2.0 @@ -20,7 +20,6 @@ BuildArch: noarch %endif BuildRequires: rust-packaging -BuildRequires: pkgconfig(liblzma) %global _description %{expand: Raw bindings to liblzma which contains an implementation of LZMA and xz stream @@ -31,8 +30,8 @@ High level Rust bindings are available in the `xz2` crate.} %package devel Summary: %{summary} -Requires: pkgconfig(liblzma) BuildArch: noarch +Requires: (pkgconfig(liblzma) >= 5.2.4 with pkgconfig(liblzma) < 6.0.0) %description devel %{_description} @@ -41,7 +40,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -53,7 +52,7 @@ 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 @@ -63,6 +62,7 @@ rm -vrf xz-* config.h %generate_buildrequires %cargo_generate_buildrequires +echo '(pkgconfig(liblzma) >= 5.2.4 with pkgconfig(liblzma) < 6.0.0)' %build %cargo_build @@ -76,6 +76,9 @@ rm -vrf xz-* config.h %endif %changelog +* Fri May 15 2020 Josh Stone - 0.1.16-1 +- Update to 0.1.16 + * Thu Jan 30 2020 Fedora Release Engineering - 0.1.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 1c5d298..60bf238 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lzma-sys-0.1.15.crate) = aa160b7038771ed39aa06b450ed3d2c80f76dae8b655e637e248f7507e0ccc37a01068ff20664fd59735aa4be253a2594837e709bad7e01bcc58905fb7865d91 +SHA512 (lzma-sys-0.1.16.crate) = b9c3ed5d383f96f886471e89d8f194c70b022359e5e5504c3926aedaee76ff755e301b2f0aed95e8717ff1d9f2ff4baeb84a91d7fa41f1e0e0d069a74879e757