|
|
@ -1,18 +1,22 @@
|
|
|
|
# Generated by rust2rpm 13
|
|
|
|
# Generated by rust2rpm 16
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate bzip2-sys
|
|
|
|
%global crate bzip2-sys
|
|
|
|
|
|
|
|
%global upstream_version 0.1.10+1.0.8
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.1.9+1.0.8
|
|
|
|
Version: 0.1.10
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Bindings to libbzip2 for bzip2 compression and decompression exposed as Reader/Writer streams
|
|
|
|
Summary: Bindings to libbzip2 for bzip2 exposed as Reader/Writer streams
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/bzip2-sys
|
|
|
|
URL: https://crates.io/crates/bzip2-sys
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source %{crate} %{upstream_version}}
|
|
|
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * remove bzip2 version suffix
|
|
|
|
|
|
|
|
Patch0: bzip2-sys-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
@ -20,7 +24,6 @@ BuildArch: noarch
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: pkgconfig(bzip2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Bindings to libbzip2 for bzip2 compression and decompression exposed as
|
|
|
|
Bindings to libbzip2 for bzip2 compression and decompression exposed as
|
|
|
@ -39,9 +42,7 @@ This package contains library source intended for building other packages
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
# license texts currently only available for bzip2-rs,
|
|
|
|
%license LICENSE-APACHE LICENSE-MIT
|
|
|
|
# not for bzip2-rs/bzip2-sys
|
|
|
|
|
|
|
|
# see https://github.com/alexcrichton/bzip2-rs/pull/59
|
|
|
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
%package -n %{name}+default-devel
|
|
|
@ -57,13 +58,14 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{upstream_version} -p1
|
|
|
|
# remove the bundled copy to make sure we're linking against the system lib
|
|
|
|
# remove the bundled copy to make sure we're linking against the system lib
|
|
|
|
rm -vr bzip2-1.0.8
|
|
|
|
rm -vr bzip2-1.0.8
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
echo 'pkgconfig(bzip2)'
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
%cargo_build
|
|
|
@ -77,6 +79,10 @@ rm -vr bzip2-1.0.8
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Feb 08 2021 Fabio Valentini <decathorpe@gmail.com> - 0.1.10-1
|
|
|
|
|
|
|
|
- Update to version 0.1.10.
|
|
|
|
|
|
|
|
- Fixes RHBZ#1923764
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9+1.0.8-4
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9+1.0.8-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|