|
|
|
@ -1,7 +1,10 @@
|
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
# prevent executables from being installed
|
|
|
|
|
%global cargo_install_bin 0
|
|
|
|
|
|
|
|
|
|
%global crate zopfli
|
|
|
|
|
|
|
|
|
|
Name: rust-zopfli
|
|
|
|
@ -13,14 +16,11 @@ License: Apache-2.0
|
|
|
|
|
URL: https://crates.io/crates/zopfli
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
#
|
|
|
|
|
# - Don’t 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
|
|
|
|
|
# * 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
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 26
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
A Rust implementation of the Zopfli compression algorithm.}
|
|
|
|
|