From afbcc91a7ec3c3f62f1a332f839d6f7a61e9bfd0 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 19 May 2024 07:43:16 -0400 Subject: [PATCH] Update to 0.8.1 (close RHBZ#2281428) --- .gitignore | 1 + rust-zopfli.spec | 7 +------ rust2rpm.toml | 3 --- sources | 2 +- zopfli-fix-metadata.diff | 16 ---------------- 5 files changed, 3 insertions(+), 26 deletions(-) delete mode 100644 zopfli-fix-metadata.diff diff --git a/.gitignore b/.gitignore index b30024e..a5cd5da 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /zopfli-0.4.0.crate /zopfli-0.5.0.crate /zopfli-0.8.0.crate +/zopfli-0.8.1.crate diff --git a/rust-zopfli.spec b/rust-zopfli.spec index 6aee402..35c0d49 100644 --- a/rust-zopfli.spec +++ b/rust-zopfli.spec @@ -8,17 +8,13 @@ %global crate zopfli Name: rust-zopfli -Version: 0.8.0 +Version: 0.8.1 Release: %autorelease Summary: Rust implementation of the Zopfli compression algorithm License: Apache-2.0 URL: https://crates.io/crates/zopfli Source: %{crates_source} -# Manually created patch for downstream crate metadata changes -# * Exclude more files from the published crate: -# https://github.com/zopfli-rs/zopfli/pull/37 -Patch: zopfli-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 26 @@ -38,7 +34,6 @@ use the "%{crate}" crate. %files devel %license %{crate_instdir}/COPYING -%doc %{crate_instdir}/CONTRIBUTING.md %doc %{crate_instdir}/CONTRIBUTORS %doc %{crate_instdir}/README.md %{crate_instdir}/ diff --git a/rust2rpm.toml b/rust2rpm.toml index 3dcb1ac..7da3974 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -2,9 +2,6 @@ # Don’t build the “zopfli” executable, which would conflict with the more # widely used one provided by https://src.fedoraproject.org/rpms/zopfli. cargo-install-bin = false -cargo-toml-patch-comments = [ - "Exclude more files from the published crate: https://github.com/zopfli-rs/zopfli/pull/37", -] [features] hide = [ diff --git a/sources b/sources index 41ac009..cca2f77 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zopfli-0.8.0.crate) = 3b788f0ca94a106ce690764d081bf277eddb364b07287c33be3855fdc63bd583b5e8aac95b709833b4ec4a8f153e7e1ea822b09da23d5db777137bc1dd49e17c +SHA512 (zopfli-0.8.1.crate) = 799e25c0cc9f0bf2119a7c03225b11ed94e7c3ac83f872a27da8ae15c90206245121c38f5e2b78fece131f5bb428f01fabbfd1b1e18ea456957940042d38f38d diff --git a/zopfli-fix-metadata.diff b/zopfli-fix-metadata.diff deleted file mode 100644 index d11d55e..0000000 --- a/zopfli-fix-metadata.diff +++ /dev/null @@ -1,16 +0,0 @@ ---- zopfli-0.8.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ zopfli-0.8.0/Cargo.toml 2024-03-14T15:41:14.859061+00:00 -@@ -14,7 +14,12 @@ - rust-version = "1.66" - name = "zopfli" - version = "0.8.0" --exclude = ["test/*"] -+exclude = [ -+ "Makefile", -+ "benchmark-builds/*", -+ "rustfmt.toml", -+ "test/*", -+] - description = "A Rust implementation of the Zopfli compression algorithm." - homepage = "https://github.com/zopfli-rs/zopfli" - readme = "README.md"