|
|
|
@ -6,13 +6,16 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.1.9
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Raw bindings to liblzma
|
|
|
|
|
|
|
|
|
|
# https://github.com/alexcrichton/xz2-rs/pull/23
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
URL: https://crates.io/crates/lzma-sys
|
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * Bump filetime to 0.2, https://github.com/alexcrichton/xz2-rs/commit/696882cf490a4885976ab880aa717ae574c64de2
|
|
|
|
|
Patch0: lzma-sys-0.1.9-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
@ -21,7 +24,7 @@ BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
|
|
|
|
|
# [build-dependencies]
|
|
|
|
|
BuildRequires: (crate(cc) >= 1.0.0 with crate(cc) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(filetime) >= 0.1.0 with crate(filetime) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(filetime) >= 0.2.0 with crate(filetime) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(pkg-config) >= 0.3.0 with crate(pkg-config) < 0.4.0)
|
|
|
|
|
BuildRequires: pkgconfig(liblzma)
|
|
|
|
|
|
|
|
|
@ -63,6 +66,9 @@ rm -vrf xz-*
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Apr 25 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.9-3
|
|
|
|
|
- Bump filetime to 0.2
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|