Update to version 0.5.3; Fixes RHBZ#2020449

epel9
Fabio Valentini 2 years ago
parent 6366dba9c4
commit d27a1b0203
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -8,3 +8,4 @@
/miniz_oxide-0.3.7.crate /miniz_oxide-0.3.7.crate
/miniz_oxide-0.4.3.crate /miniz_oxide-0.4.3.crate
/miniz_oxide-0.4.4.crate /miniz_oxide-0.4.4.crate
/miniz_oxide-0.5.3.crate

@ -1,25 +1,21 @@
# Generated by rust2rpm 16 # Generated by rust2rpm 22
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate miniz_oxide %global crate miniz_oxide
Name: rust-%{crate} Name: rust-miniz_oxide
Version: 0.4.4 Version: 0.5.3
Release: %autorelease Release: %autorelease
Summary: DEFLATE compression and decompression library rewritten in Rust based on miniz Summary: DEFLATE compression and decompression library rewritten in Rust based on miniz
# Upstream license specification: MIT OR Zlib OR Apache-2.0 License: MIT OR Zlib OR Apache-2.0
License: MIT or zlib or ASL 2.0
URL: https://crates.io/crates/miniz_oxide URL: https://crates.io/crates/miniz_oxide
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
DEFLATE compression and decompression library rewritten in Rust based on miniz.} DEFLATE compression and decompression library rewritten in Rust based on miniz.}
@ -32,13 +28,16 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE LICENSE-APACHE.md LICENSE-MIT.md LICENSE-ZLIB.md %license %{crate_instdir}/LICENSE
%doc Readme.md %license %{crate_instdir}/LICENSE-APACHE.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %license %{crate_instdir}/LICENSE-MIT.md
%license %{crate_instdir}/LICENSE-ZLIB.md
%doc %{crate_instdir}/Readme.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -46,28 +45,14 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+no_extern_crate_alloc-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+no_extern_crate_alloc-devel %{_description}
This package contains library source intended for building other packages
which use "no_extern_crate_alloc" feature of "%{crate}" crate.
%files -n %{name}+no_extern_crate_alloc-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
# remove executable bit from build.rs, which breaks brp-mangle-shebangs
chmod -x build.rs
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -3,4 +3,6 @@ unwanted-features =
alloc alloc
compiler_builtins compiler_builtins
core core
simd-adler32
rustc-dep-of-std rustc-dep-of-std
simd

@ -1 +1 @@
SHA512 (miniz_oxide-0.4.4.crate) = 2c6e484a8a53c6b1fb84e2bf9518919e6e5ba84e7716c0bb8e33b53dc0d3432c35f28f19c18368e27c94f6df66b7674f514ef889cf1b19f546bedfb6e6ebaf6f SHA512 (miniz_oxide-0.5.3.crate) = cc2971ee2a2e891cdb05c1942f533b11a557199421910266ec2e4848a16dfe6882f1c08843035443935d695882720402356b4df4a50ed131a8f5fcc0591a72c5

Loading…
Cancel
Save