aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2018-09-24 10:02:01 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2018-09-24 10:02:48 +0200
commit69c50cd61f4c793ac37df0d43255671f5e3c960a (patch)
tree0bc32cde78329fafa1dacb723b9b871c2ee101ca
parent66b4ba1903ed5de492e470d71e8337dd35da793d (diff)
downloadrpm-setup-69c50cd61f4c793ac37df0d43255671f5e3c960a.tar
rpm-setup-69c50cd61f4c793ac37df0d43255671f5e3c960a.tar.gz
rpm-setup-69c50cd61f4c793ac37df0d43255671f5e3c960a.tar.bz2
rpm-setup-69c50cd61f4c793ac37df0d43255671f5e3c960a.tar.xz
rpm-setup-69c50cd61f4c793ac37df0d43255671f5e3c960a.zip
binary payload is chosen at build time
-rw-r--r--build.macros.in3
-rw-r--r--macros.in3
2 files changed, 3 insertions, 3 deletions
diff --git a/build.macros.in b/build.macros.in
index 262b3d2..d7e93eb 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -469,5 +469,8 @@ popd
%_source_filedigest_algorithm 8
%_binary_filedigest_algorithm 8
+# Use XZ compression for binary payloads
+%_binary_payload w5.xzdio
+
# Automatically trim changelog entries after 2 years
%_changelog_trimtime %{lua:print(os.time() - 2 * 365 * 86400)}
diff --git a/macros.in b/macros.in
index 2adc4ec..b75a4d6 100644
--- a/macros.in
+++ b/macros.in
@@ -19,9 +19,6 @@
%_host %{_host_cpu}-%{_real_vendor}-%{_host_os}%{?_gnu}
-# use LZMA to compress binary packages:
-%_binary_payload w5.xzdio
-
#==============================================================================
# ---- GPG/PGP/PGP5 signature macros.
# Macro(s) to hold the arguments passed to GPG/PGP for package