aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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