# Generated by rust2rpm 16 %bcond_without check %global debug_package %{nil} %global crate miniz_oxide Name: rust-%{crate} Version: 0.4.4 Release: 3%{?dist} 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 ASL 2.0 URL: https://crates.io/crates/miniz_oxide Source: %{crates_source} ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: DEFLATE compression and decompression library rewritten in Rust based on miniz.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use "%{crate}" crate. %files devel %license LICENSE LICENSE-APACHE.md LICENSE-MIT.md LICENSE-ZLIB.md %doc Readme.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} 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_no_tilde}/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 %autosetup -n %{crate}-%{version_no_tilde} -p1 # remove executable bit from build.rs, which breaks brp-mangle-shebangs chmod -x build.rs %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Fri Jan 21 2022 Fedora Release Engineering - 0.4.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.4.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Feb 25 2021 Fabio Valentini - 0.4.4-1 - Update to version 0.4.4. - Fixes RHBZ#1933081 * Wed Jan 27 2021 Fedora Release Engineering - 0.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Nov 07 2020 Fabio Valentini - 0.4.3-2 - Reintroduce accidentally dropped no_extern_crate_alloc feature. * Mon Oct 26 2020 Fabio Valentini - 0.4.3-1 - Update to version 0.4.3. * Wed Jul 29 2020 Fedora Release Engineering - 0.3.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jun 10 2020 Josh Stone - 0.3.7-1 - Update to 0.3.7 * Thu Feb 06 2020 Josh Stone - 0.3.6-1 - Update to 0.3.6 * Thu Jan 30 2020 Fedora Release Engineering - 0.3.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Nov 19 2019 Josh Stone - 0.3.5-1 - Update to 0.3.5 * Tue Sep 17 14:50:15 CEST 2019 Igor Gnatenko - 0.3.2-1 - Update to 0.3.2 * Fri Jul 26 2019 Fedora Release Engineering - 0.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Jun 22 09:38:31 CEST 2019 Igor Gnatenko - 0.2.1-3 - Regenerate * Sat Feb 02 2019 Fedora Release Engineering - 0.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Jan 23 2019 Josh Stone - 0.2.1-1 - Update to 0.2.1 * Sun Nov 04 2018 Igor Gnatenko - 0.2.0-2 - Adapt to new packaging * Mon Oct 22 2018 Josh Stone - 0.2.0-1 - Update to 0.2.0 * Sat Jul 14 2018 Fedora Release Engineering - 0.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jun 24 2018 Igor Gnatenko - 0.1.3-1 - Update to 0.1.3 * Fri Feb 09 2018 Fedora Release Engineering - 0.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jan 10 2018 Igor Gnatenko - 0.1.2-1 - Initial package