1 --- rpm-5.3.1/macros/macros.rpmbuild.in.wiget 2010-03-31 14:22:06.000000000 +0200
2 +++ rpm-5.3.1/macros/macros.rpmbuild.in 2010-05-30 16:51:46.906008986 +0200
3 @@ -383,7 +383,7 @@ echo "Patch #%{__patch_number} (%{basena
4 %{?buildroot:%{__rm} -rf '%{buildroot}'; %{__mkdir_p} '%{buildroot}'}
5 %__spec_install_body %{___build_body}
7 -%{?__debug_package:%{__debug_install_post}}\
8 +%{expand:%%define __sip_%{?_enable_debug_packages} 1}%{?__sip_1:%{?__debug_package:%{__debug_install_post}}}%{expand:%%undefine __sip_%{?_enable_debug_packages}}\
9 %{__arch_install_post}\
12 --- rpm-5.3.1/macros/macros.in.wiget 2010-05-30 16:47:23.389365448 +0200
13 +++ rpm-5.3.1/macros/macros.in 2010-05-30 16:47:23.412699985 +0200
17 %global __debug_package 1\
20 Summary: Debug information for package %{name}\
21 +Summary(pl.UTF-8): Informacje dla debuggera dla pakietu %{name}\
22 Group: Development/Debug\
23 +Requires: filesystem-debuginfo >= 3.0-16\
26 +%description debuginfo\
27 This package provides debug information for package %{name}.\
28 Debug information is useful when developing applications that use this\
29 package or when debugging this package.\
30 -%files debug -f debugfiles.list\
31 +%description debuginfo -l pl.UTF-8\
32 +Ten pakiet dostarcza informacje dla debuggera dla pakietu %{name}.\
33 +Informacje te są przydatne przy rozwijaniu aplikacji używających tego\
34 +pakietu oraz przy odpluskwianiu samego pakietu.\
35 +%files debuginfo -f debugfiles.list\
36 %defattr(-,root,root)\
39 --- rpm-5.3.1/scripts/find-debuginfo.sh.wiget 2009-09-10 03:52:13.000000000 +0200
40 +++ rpm-5.3.1/scripts/find-debuginfo.sh 2010-05-30 16:53:33.275994510 +0200
41 @@ -92,7 +92,8 @@ strip_to_debug()
42 $strip_g && case "$(file -bi "$2")" in
43 application/x-sharedlib,*) g=-g ;;
45 - eu-strip --remove-comment $g -f "$1" "$2" || exit
46 + objcopy --only-keep-debug --remove-section .comment "$2" "$1" || exit
47 + objcopy --add-gnu-debuglink="$1" "$2" || exit
48 chmod 444 "$1" || exit