From 5dcbc56efa4498bc0f779778fc4d8da06f5dc0e1 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 22 Jul 2009 20:26:37 +0000 Subject: [PATCH] Use XZ payload compression for binaries. --- redhat-rpm-config-9.0.3-xz-payload.patch | 13 +++++++++++++ redhat-rpm-config.spec | 7 ++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 redhat-rpm-config-9.0.3-xz-payload.patch diff --git a/redhat-rpm-config-9.0.3-xz-payload.patch b/redhat-rpm-config-9.0.3-xz-payload.patch new file mode 100644 index 0000000..6cc4e4c --- /dev/null +++ b/redhat-rpm-config-9.0.3-xz-payload.patch @@ -0,0 +1,13 @@ +diff -up redhat-rpm-config-9.0.3/macros.fu redhat-rpm-config-9.0.3/macros +--- redhat-rpm-config-9.0.3/macros.fu 2009-07-22 16:23:55.000000000 -0400 ++++ redhat-rpm-config-9.0.3/macros 2009-07-22 16:24:24.000000000 -0400 +@@ -173,6 +173,9 @@ unset DISPLAY\ + %_source_filedigest_algorithm 8 + %_binary_filedigest_algorithm 8 + ++# Use XZ compression for binary payloads ++%_binary_payload w7.xzdio ++ + %__find_provides /usr/lib/rpm/redhat/find-provides + %__find_requires /usr/lib/rpm/redhat/find-requires + diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index ce59bb7..be442e5 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -1,7 +1,7 @@ Summary: Red Hat specific rpm configuration files. Name: redhat-rpm-config Version: 9.0.3 -Release: 11%{?dist} +Release: 12%{?dist} # No version specified. License: GPL+ Group: Development/System @@ -12,6 +12,7 @@ Patch2: redhat-rpm-config-9.0.3-F-11-Architectures.patch Patch3: redhat-rpm-config-9.0.3-F-11-StrongerHashes.patch Patch4: redhat-rpm-config-9.0.3-F-12-Architectures.patch Patch5: redhat-rpm-config-9.0.3-always_delete_buildroot_at_install.patch +Patch6: redhat-rpm-config-9.0.3-xz-payload.patch BuildArch: noarch Requires: mktemp BuildRoot: %{_tmppath}/%{name}-root @@ -27,6 +28,7 @@ Red Hat specific rpm configuration files. %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 %install make DESTDIR=${RPM_BUILD_ROOT} install @@ -39,6 +41,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_prefix}/lib/rpm/redhat %changelog +* Wed Jul 22 2009 Bill Nottingham 9.0.3-11 +- use XZ payload compression for binary packages + * Tue Jul 21 2009 Tom "spot" Callaway - 9.0.3-10 - always delete %%buildroot as first step of %%install (as long as %buildroot is not /)