Use XZ payload compression for binaries.
This commit is contained in:
parent
32d33e8f11
commit
5dcbc56efa
13
redhat-rpm-config-9.0.3-xz-payload.patch
Normal file
13
redhat-rpm-config-9.0.3-xz-payload.patch
Normal file
@ -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
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Red Hat specific rpm configuration files.
|
Summary: Red Hat specific rpm configuration files.
|
||||||
Name: redhat-rpm-config
|
Name: redhat-rpm-config
|
||||||
Version: 9.0.3
|
Version: 9.0.3
|
||||||
Release: 11%{?dist}
|
Release: 12%{?dist}
|
||||||
# No version specified.
|
# No version specified.
|
||||||
License: GPL+
|
License: GPL+
|
||||||
Group: Development/System
|
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
|
Patch3: redhat-rpm-config-9.0.3-F-11-StrongerHashes.patch
|
||||||
Patch4: redhat-rpm-config-9.0.3-F-12-Architectures.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
|
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
|
BuildArch: noarch
|
||||||
Requires: mktemp
|
Requires: mktemp
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
@ -27,6 +28,7 @@ Red Hat specific rpm configuration files.
|
|||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
|
%patch6 -p1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=${RPM_BUILD_ROOT} install
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
||||||
@ -39,6 +41,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_prefix}/lib/rpm/redhat
|
%{_prefix}/lib/rpm/redhat
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 22 2009 Bill Nottingham <notting@redhat.com> 9.0.3-11
|
||||||
|
- use XZ payload compression for binary packages
|
||||||
|
|
||||||
* Tue Jul 21 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 9.0.3-10
|
* Tue Jul 21 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 9.0.3-10
|
||||||
- always delete %%buildroot as first step of %%install (as long as %buildroot is not /)
|
- always delete %%buildroot as first step of %%install (as long as %buildroot is not /)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user