]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-debuginfo.patch
- compress debuginfo sections with zlib (reduce /usr/lib/debug size).
[packages/rpm.git] / rpm-debuginfo.patch
index a08ef0e4eb479185d8cf1a8fb9c49266a9968af7..537f8bcf4cc426f4227f65486be5185c23063a63 100644 (file)
@@ -1,25 +1,47 @@
---- rpm-4.3/macros.in.alreadey_patched 2004-05-31 16:47:32.496632272 +0200
-+++ rpm-4.3/macros.in  2004-05-31 16:46:14.976417136 +0200
-@@ -107,12 +107,16 @@
- #     The location of the rpm database file(s) after "rpm --rebuilddb".
- %_dbpath_rebuild      %{_dbpath}
--#
--#     Path to script that creates debug symbols in a /usr/lib/debug
--#     shadow tree.
--%__debug_install_post   \
--   @RPMCONFIGDIR@/find-debuginfo.sh %{_builddir}/%{?buildsubdir}\
--%{nil}
-+#------------------------------------------------------------------
-+# Path to script that creates debug symbols in a /usr/lib/debug
-+# shadow tree.
-+#%no_debug_install_post 1
-+%__debug_install_post { \
-+%{!?no_debug_install_post: \
-+      /usr/lib/rpm/find-debuginfo.sh %{_builddir}/%{?buildsubdir}\
-+      %{nil}\
-+} }
-+#------------------------------------------------------------------
- #     Template for debug information sub-package.
+--- rpm-4.4.9.orig/macros.in   2008-01-31 19:20:08.798315963 +0200
++++ rpm-4.4.9/macros.in        2008-01-31 19:20:50.850567944 +0200
+@@ -188,15 +188,21 @@
  %debug_package \
+ %ifnarch noarch\
+ %global __debug_package 1\
+-%package debug\
++%package debuginfo\
+ Summary: Debug information for package %{name}\
++Summary(pl.UTF-8): Informacje dla debuggera dla pakietu %{name}\
+ Group: Development/Debug\
++Requires: filesystem-debuginfo >= 3.0-16\
+ AutoReqProv: 0\
+-%description debug\
++%description debuginfo\
+ This package provides debug information for package %{name}.\
+ Debug information is useful when developing applications that use this\
+ package or when debugging this package.\
+-%files debug -f debugfiles.list\
++%description debuginfo -l pl.UTF-8\
++Ten pakiet dostarcza informacje dla debuggera dla pakietu %{name}.\
++Informacje te są przydatne przy rozwijaniu aplikacji używających tego\
++pakietu oraz przy odpluskwianiu samego pakietu.\
++%files debuginfo -f debugfiles.list\
+ %defattr(-,root,root)\
+ %endif\
+ %{nil}
+@@ -1046,7 +1052,7 @@
+ %{?buildroot:%{__rm} -rf '%{buildroot}'}
+ %__spec_install_body  %{___build_body}
+ %__spec_install_post\
+-%{?__debug_package:%{__debug_install_post}}\
++%{expand:%%define __sip_%{?_enable_debug_packages} 1}%{?__sip_1:%{?__debug_package:%{__debug_install_post}}}%{expand:%%undefine __sip_%{?_enable_debug_packages}}\
+ %{__arch_install_post}\
+ %{__os_install_post}\
+ %{nil}
+--- rpm-4.4.9.orig/platform.in 2008-01-31 19:20:08.676303626 +0200
++++ rpm-4.4.9/platform.in      2008-01-31 19:20:50.844567337 +0200
+@@ -61,7 +61,7 @@
+ %{nil}
+ %__spec_install_post\
+-    %{?__debug_package:%{__debug_install_post}}\
++    %{expand:%%define __sip_%{?_enable_debug_packages} 1}%{?__sip_1:%{?__debug_package:%{__debug_install_post}}}%{expand:%%undefine __sip_%{?_enable_debug_packages}}\
+     %{__arch_install_post}\
+     %{__os_install_post}\
+ %{nil}
This page took 0.246363 seconds and 4 git commands to generate.