1 diff -urN rpm-4.3.org/macros.in rpm-4.3/macros.in
2 --- rpm-4.3.org/macros.in 2004-05-31 17:16:23.251095072 +0200
3 +++ rpm-4.3/macros.in 2004-05-31 17:35:47.653079064 +0200
7 %global __debug_package 1\
10 Summary: Debug information for package %{name}\
11 +Summary(pl): Informacje dla debuggera dla pakietu %{name}\
12 Group: Development/Debug\
15 +%description debuginfo\
16 This package provides debug information for package %{name}.\
17 Debug information is useful when developing applications that use this\
18 package or when debugging this package.\
19 -%files debug -f debugfiles.list\
20 +%description debuginfo -l pl\
21 +Ten pakiet dostarcza informacje dla debuggera dla pakietu %{name}.\
22 +Informacje te s± przydatne przy rozwijaniu aplikacji u¿ywaj±cych tego\
23 +pakietu oraz przy odpluskwianiu samego pakietu.\
24 +%files debuginfo -f debugfiles.list\
25 %defattr(-,root,root)\
29 %__spec_install_pre %{___build_pre}
30 %__spec_install_body %{___build_body}
32 -%{?__debug_package:%{__debug_install_post}}\
33 +%{expand:%%define __sip_%{?_enable_debug_packages} 1}%{?__sip_1:%{?__debug_package:%{__debug_install_post}}}%{expand:%%undefine __sip_%{?_enable_debug_packages}}\
34 %{__arch_install_post}\
37 --- rpm-4.4.3/scripts/find-debuginfo.sh.orig 2005-08-25 19:38:36.000000000 +0200
38 +++ rpm-4.4.3/scripts/find-debuginfo.sh 2005-11-19 00:21:45.007754032 +0100
43 - eu-strip --remove-comment -f "$1" "$2" || :
44 + eu-strip --remove-comment -f "$1" -o "${2}.tmp" "$2" || :
50 [ -f "${debugfn}" ] && continue
52 echo extracting debug info from $f
53 - /usr/lib/rpm/debugedit -b "$RPM_BUILD_DIR" -d /usr/src/debug -l "$SOURCEFILE" "$f"
54 + /usr/bin/debugedit -b "$RPM_BUILD_DIR" -d /usr/src/debug -l "$SOURCEFILE" "$f"
56 # A binary already copied into /usr/lib/debug doesn't get stripped,
57 # just has its file names collected and adjusted.
58 --- rpm-4.3/platform.in.orig 2004-07-28 21:35:25.000000000 +0200
59 +++ rpm-4.3/platform.in 2004-07-28 21:37:22.000000000 +0200
64 - %{?__debug_package:%{__debug_install_post}}\
65 + %{expand:%%define __sip_%{?_enable_debug_packages} 1}%{?__sip_1:%{?__debug_package:%{__debug_install_post}}}%{expand:%%undefine __sip_%{?_enable_debug_packages}}\
66 %{__arch_install_post}\