diff --git a/oxipng-fix-metadata-auto.diff b/oxipng-fix-metadata-auto.diff index 081c7b8..0578c3a 100644 --- a/oxipng-fix-metadata-auto.diff +++ b/oxipng-fix-metadata-auto.diff @@ -1,5 +1,5 @@ --- oxipng-9.0.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ oxipng-9.0.0/Cargo.toml 2024-02-17T11:43:41.461531+00:00 ++++ oxipng-9.0.0/Cargo.toml 2024-03-15T14:15:12.955385+00:00 @@ -116,7 +116,6 @@ [features] binary = [ diff --git a/oxipng-fix-metadata.diff b/oxipng-fix-metadata.diff index 4e62b30..154c408 100644 --- a/oxipng-fix-metadata.diff +++ b/oxipng-fix-metadata.diff @@ -1,5 +1,5 @@ --- oxipng-9.0.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ oxipng-9.0.0/Cargo.toml 2024-02-17T11:45:14.377789+00:00 ++++ oxipng-9.0.0/Cargo.toml 2024-03-15T14:15:24.992553+00:00 @@ -16,8 +16,15 @@ version = "9.0.0" authors = ["Joshua Holmer "] diff --git a/rust-oxipng.spec b/rust-oxipng.spec index 5a3878e..5518a7a 100644 --- a/rust-oxipng.spec +++ b/rust-oxipng.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 %bcond_without check %global crate oxipng @@ -14,8 +14,8 @@ Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: oxipng-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes -# - Omit unnecessary files from the crate, as in “Exclude more files from the -# published crate” https://github.com/shssoichiro/oxipng/pull/591 +# * Omit unnecessary files from the crate, as in “Exclude more files from the +# published crate” https://github.com/shssoichiro/oxipng/pull/591 Patch: oxipng-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..acc3361 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[package] +cargo-toml-patch-comments = [ + "Omit unnecessary files from the crate, as in “Exclude more files from the published crate” https://github.com/shssoichiro/oxipng/pull/591", +]