bump miniz_oxide from 0.4.1 to 0.5

epel9
Fabio Valentini 3 years ago
parent 2eccca85d3
commit 84a3a57f5c
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,25 +1,25 @@
# Generated by rust2rpm 16 # Generated by rust2rpm 22
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate tiff %global crate tiff
Name: rust-%{crate} Name: rust-tiff
Version: 0.6.1 Version: 0.6.1
Release: 5%{?dist} Release: 6%{?dist}
Summary: TIFF decoding and encoding library in pure Rust Summary: TIFF decoding and encoding library in pure Rust
# Upstream license specification: MIT
License: MIT License: MIT
URL: https://crates.io/crates/tiff URL: https://crates.io/crates/tiff
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
# * bump miniz_oxide from 0.4.1 to 0.5
Patch: tiff-fix-metadata.diff
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:
TIFF decoding and encoding library in pure Rust.} TIFF decoding and encoding library in pure Rust.}
@ -32,14 +32,14 @@ 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 %{crate_instdir}/LICENSE
%doc README.md CHANGES.md %doc %{crate_instdir}/CHANGES.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README.md
%exclude %{cargo_registry}/%{crate}-%{version_no_tilde}/.github/ %{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -47,11 +47,11 @@ 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
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
@ -68,11 +68,14 @@ which use "default" feature of "%{crate}" crate.
%if %{with check} %if %{with check}
%check %check
# Test files are missing # * files that are required by doctests are not included in published crates
%cargo_test -- --doc %cargo_test -- --doc
%endif %endif
%changelog %changelog
* Tue Aug 09 2022 Fabio Valentini <decathorpe@gmail.com> - 0.6.1-6
- Bump miniz_oxide from 0.4.1 to 0.5.
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-5 * Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

@ -0,0 +1,14 @@
--- tiff-0.6.1/Cargo.toml 2020-12-12T19:23:19+00:00
+++ tiff-0.6.1/Cargo.toml 2022-08-09T09:24:26.267859+00:00
@@ -29,10 +29,7 @@
package = "jpeg-decoder"
[dependencies.miniz_oxide]
-version = "0.4.1"
-features = ["no_extern_crate_alloc"]
+version = "0.5"
[dependencies.weezl]
version = "0.1.0"
-[dev-dependencies.criterion]
-version = "0.3.1"
Loading…
Cancel
Save