1 diff -urN rpm-4.3.org/macros.in rpm-4.3/macros.in
2 --- rpm-4.3.org/macros.in 2004-05-20 22:09:48.582353920 +0200
3 +++ rpm-4.3/macros.in 2004-05-20 22:40:19.156064416 +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)\
28 @@ -1247,7 +1252,12 @@
32 -%install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\
34 +%if %{?_enable_debug_packages:1}%{!?_enable_debug_packages:0}\
35 +%if %{_enable_debug_packages}\
36 +%{?buildsubdir:%{debug_package}}\
44 if [ -d "$RPM_BUILD_ROOT" ]; then \
45 echo "Strip executable binaries, archives and shared object files."; \
46 - filelist=`find $RPM_BUILD_ROOT -type f ! -regex ".*ld-[0-9.]*so.*" %{?_noautostrip:! -regex "%{_noautostrip}"}`; \
47 + filelist=`find $RPM_BUILD_ROOT -type f ! -regex ".*ld-[0-9.]*so.*" ! -regex ".*/usr/lib[0-9]*/debug/.*\.debug" %{?_noautostrip:! -regex "%{_noautostrip}"}`; \
48 elfexelist=`echo $filelist | xargs -r file | \
49 awk '/ELF.*executable/ {print $1}' | cut -d: -f1`; \
50 elfsharedlist=`echo $filelist | xargs -r file | \