1 diff -ur rpm.org/macros.in rpm/macros.in
2 --- rpm.org/macros.in 2007-10-02 20:31:56.905775000 +0200
3 +++ rpm/macros.in 2007-10-02 20:35:30.122401828 +0200
7 %global __debug_package 1\
10 Summary: Debug information for package %{name}\
11 +Summary(pl.UTF-8): Informacje dla debuggera dla pakietu %{name}\
12 Group: Development/Debug\
13 +Requires: filesystem-debuginfo >= 3.0-16\
16 +%description debuginfo\
17 This package provides debug information for package %{name}.\
18 Debug information is useful when developing applications that use this\
19 package or when debugging this package.\
20 -%files debug -f debugfiles.list\
21 +%description debuginfo -l pl.UTF-8\
22 +Ten pakiet dostarcza informacje dla debuggera dla pakietu %{name}.\
23 +Informacje te są przydatne przy rozwijaniu aplikacji używających tego\
24 +pakietu oraz przy odpluskwianiu samego pakietu.\
25 +%files debuginfo -f debugfiles.list\
26 %defattr(-,root,root)\
30 %{?buildroot:%{__rm} -rf '%{buildroot}'}
31 %__spec_install_body %{___build_body}
33 -%{?__debug_package:%{__debug_install_post}}\
34 +%{expand:%%define __sip_%{?_enable_debug_packages} 1}%{?__sip_1:%{?__debug_package:%{__debug_install_post}}}%{expand:%%undefine __sip_%{?_enable_debug_packages}}\
35 %{__arch_install_post}\
38 --- rpm.org/scripts/find-debuginfo.sh 2007-09-06 09:36:38.000000000 +0200
39 +++ rpm/scripts/find-debuginfo.sh 2007-10-02 20:38:57.745519759 +0200
41 $strip_g && case "$(file -bi "$2")" in
42 application/x-sharedlib,*) g=-g ;;
44 - eu-strip --remove-comment $g -f "$1" "$2" || exit
45 + objcopy --only-keep-debug --remove-section .comment "$2" "$1" || exit
46 + objcopy --add-gnu-debuglink="$1" "$2" || exit
49 # Make a relative symlink to $1 called $3$2