Use rust2rpm 26 features to simplify packaging

epel10
Benjamin A. Beasley 10 months ago
parent 1a2fc498b7
commit 4d1b3922a2

@ -1,5 +1,5 @@
--- oxipng-9.0.0/Cargo.toml 1970-01-01T00:00:01+00:00 --- 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 @@ @@ -116,7 +116,6 @@
[features] [features]
binary = [ binary = [

@ -1,5 +1,5 @@
--- oxipng-9.0.0/Cargo.toml 1970-01-01T00:00:01+00:00 --- 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 @@ @@ -16,8 +16,15 @@
version = "9.0.0" version = "9.0.0"
authors = ["Joshua Holmer <jholmer.in@gmail.com>"] authors = ["Joshua Holmer <jholmer.in@gmail.com>"]

@ -1,4 +1,4 @@
# Generated by rust2rpm 25 # Generated by rust2rpm 26
%bcond_without check %bcond_without check
%global crate oxipng %global crate oxipng
@ -14,8 +14,8 @@ Source: %{crates_source}
# Automatically generated patch to strip dependencies and normalize metadata # Automatically generated patch to strip dependencies and normalize metadata
Patch: oxipng-fix-metadata-auto.diff Patch: oxipng-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes # Manually created patch for downstream crate metadata changes
# - Omit unnecessary files from the crate, as in “Exclude more files from the # * Omit unnecessary files from the crate, as in “Exclude more files from the
# published crate” https://github.com/shssoichiro/oxipng/pull/591 # published crate” https://github.com/shssoichiro/oxipng/pull/591
Patch: oxipng-fix-metadata.diff Patch: oxipng-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24 BuildRequires: cargo-rpm-macros >= 24

@ -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",
]
Loading…
Cancel
Save