|
|
|
@ -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 <jistone@redhat.com> - 0.1.16-1
|
|
|
|
|
- Update to 0.1.16
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.15-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|