Update to version 0.5.0; Fixes RHBZ#2035116

epel10
Rémi Lauzier 3 years ago
parent 8cb4a16cd7
commit fc722f3c78
No known key found for this signature in database
GPG Key ID: D4B9ECD143336C1D

1
.gitignore vendored

@ -1 +1,2 @@
/zopfli-0.4.0.crate
/zopfli-0.5.0.crate

@ -1,10 +1,10 @@
# Generated by rust2rpm 17
# Generated by rust2rpm 20
%bcond_without check
%global crate zopfli
Name: rust-%{crate}
Version: 0.4.0
Version: 0.5.0
Release: %autorelease
Summary: Rust implementation of a compression algorithm
@ -12,11 +12,11 @@ Summary: Rust implementation of a compression algorithm
License: ASL 2.0
URL: https://crates.io/crates/zopfli
Source: %{crates_source}
# Initial patched metadata
# Downgrade typed-arena to version 1.7
Patch0: zopfli-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
@ -25,7 +25,6 @@ Rust implementation of the Zopfli compression algorithm.}
%description %{_description}
%if ! %{__cargo_skip_build}
%package -n %{crate}
Summary: %{summary}
# MIT
@ -38,9 +37,8 @@ License: MIT and ASL 2.0 and Unlicense and zlib
%files -n %{crate}
%license COPYING
%doc README.md
%{_bindir}/zopfli-rs
%endif
%doc CONTRIBUTING.md CONTRIBUTORS README.md
%{_bindir}/zopfli
%package devel
Summary: %{summary}
@ -53,7 +51,7 @@ which use "%{crate}" crate.
%files devel
%license COPYING
%doc README.md
%doc CONTRIBUTING.md CONTRIBUTORS README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
@ -62,8 +60,8 @@ 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.
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
@ -80,7 +78,6 @@ which use "default" feature of "%{crate}" crate.
%install
%cargo_install
mv %{buildroot}/usr/bin/zopfli %{buildroot}/usr/bin/zopfli-rs
%if %{with check}
%check

@ -1 +1 @@
SHA512 (zopfli-0.4.0.crate) = dbd231667d7550662f22a2a3e12774e2bf196b076f64dfdd5d914373356ead15c9b641983091bcae4bdd8f22128118c3933277b378caa9eac4f1074457957522
SHA512 (zopfli-0.5.0.crate) = f8ea69c3aea08a53851e177e3579c46076271d28f6fe2da55ebd46a5f6d918afd084c0dc372313f4a06798ceb35adb577ce30bf272f273b842ba95172be3c9ec

@ -0,0 +1,8 @@
--- zopfli-0.5.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ zopfli-0.5.0/Cargo.toml 2022-01-17T22:21:57.128813+00:00
@@ -35,4 +35,4 @@
version = "2"
[dependencies.typed-arena]
-version = "2"
+version = "1.7"
Loading…
Cancel
Save