Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent c37de4dc4e
commit a2844c2104
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,5 +1,5 @@
# Generated by rust2rpm
# * Tests are run in infrastructure
# Generated by rust2rpm 10
# * miniz.c is not included in distribution
%bcond_with check
%global debug_package %{nil}
@ -7,21 +7,23 @@
Name: rust-%{crate}
Version: 0.2.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: DEFLATE compression and decompression library rewritten in Rust based on miniz
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/miniz_oxide
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: (crate(adler32/default) >= 1.0.2 with crate(adler32/default) < 2.0.0)
%global _description \
DEFLATE compression and decompression library rewritten in Rust\
based on miniz.
%global _description %{expand:
DEFLATE compression and decompression library rewritten in Rust based on miniz.}
%description %{_description}
@ -52,9 +54,12 @@ which use "default" feature of "%{crate}" crate.
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -63,11 +68,13 @@ which use "default" feature of "%{crate}" crate.
%if %{with check}
%check
# miniz.c is not included in distribution
%cargo_test || :
%cargo_test
%endif
%changelog
* Sat Jun 22 09:38:31 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-3
- Regenerate
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save