[redhat-rpm-config] - enable minidebuginfo generation (#834073)
Panu Matilainen
pmatilai at fedoraproject.org
Wed Jun 27 10:33:25 UTC 2012
commit e95fc2098b7dcd11e9e0bb82bea29c2b69a2dd68
Author: Panu Matilainen <pmatilai at redhat.com>
Date: Wed Jun 27 13:32:42 2012 +0300
- enable minidebuginfo generation (#834073)
redhat-rpm-config-9.1.0-minidebuginfo.patch | 10 ++++++++++
redhat-rpm-config.spec | 7 ++++++-
2 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/redhat-rpm-config-9.1.0-minidebuginfo.patch b/redhat-rpm-config-9.1.0-minidebuginfo.patch
new file mode 100644
index 0000000..03f92d8
--- /dev/null
+++ b/redhat-rpm-config-9.1.0-minidebuginfo.patch
@@ -0,0 +1,10 @@
+--- redhat-rpm-config-9.1.0/macros 2012-06-11 11:48:58.144578684 +0200
++++ redhat-rpm-config-9.1.0/macros.minidebug 2012-06-11 11:49:18.444255286 +0200
+@@ -22,6 +22,7 @@
+ %_fmoddir %{_libdir}/gfortran/modules
+
+ %_enable_debug_packages 1
++%_include_minidebuginfo 1
+
+ #==============================================================================
+ # ---- configure and makeinstall.
diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec
index 23fc2d9..60d0a9d 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.1.0
-Release: 31%{?dist}
+Release: 32%{?dist}
# No version specified.
License: GPL+
Group: Development/System
@@ -30,6 +30,7 @@ Patch6: redhat-rpm-config-9.1.0-relro.patch
Patch7: redhat-rpm-config-9.1.0-hardened.patch
Patch8: redhat-rpm-config-9.1.0-ppc-no-minimal-toc.patch
Patch9: redhat-rpm-config-9.1.0-dwz.patch
+Patch10: redhat-rpm-config-9.1.0-minidebuginfo.patch
BuildArch: noarch
Requires: coreutils
Requires: perl-srpm-macros
@@ -52,6 +53,7 @@ Red Hat specific rpm configuration files.
%patch7 -p1
%patch8 -p1
%patch9 -p1
+%patch10 -p1
%build
@@ -73,6 +75,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_sysconfdir}/rpm/*
%changelog
+* Wed Jun 27 2012 Panu Matilainen <pmatilai at redhat.com> - 9.1.0-32
+- enable minidebuginfo generation (#834073)
+
* Mon Jun 25 2012 Panu Matilainen <pmatilai at redhat.com> - 9.1.0-31
- revert back to plain -g, -g3 seems to cancel dwz size improvements
More information about the scm-commits
mailing list