Exclude more files from the published crate

https://bugzilla.redhat.com/show_bug.cgi?id=2259758#c2
epel10
Benjamin A. Beasley 1 year ago
parent 263150e806
commit 1395368670

@ -16,6 +16,8 @@ Source: %{crates_source}
#
# - Dont build the “zopfli” executable, which would conflict with the more
# widely used one provided by https://src.fedoraproject.org/rpms/zopfli.
# - Exclude more files from the published crate
# https://github.com/zopfli-rs/zopfli/pull/37
Patch: zopfli-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24

@ -1,6 +1,20 @@
--- zopfli-0.8.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ zopfli-0.8.0/Cargo.toml 2024-01-22T17:28:52.493168+00:00
@@ -25,20 +25,13 @@
+++ zopfli-0.8.0/Cargo.toml 2024-02-08T17:20:25.311181+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"
@@ -25,20 +30,13 @@
]
license = "Apache-2.0"
repository = "https://github.com/zopfli-rs/zopfli"

Loading…
Cancel
Save