1 --- ./macros.in.~1~ 2005-06-22 10:38:30.000000000 +0300
2 +++ ./macros.in 2005-06-22 10:38:30.000000000 +0300
7 -%install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\
9 +%if 0%{?_enable_debug_packages}\
10 +%{?buildsubdir:%{debug_package}}\
17 if [ -d "$RPM_BUILD_ROOT" ]; then \
18 echo "Strip executable binaries, archives and shared object files."; \
19 - filelist=`find $RPM_BUILD_ROOT -type f ! -regex ".*ld-[0-9.]*so.*" %{?_noautostrip:! -regex "%{_noautostrip}"}`; \
20 + filelist=`find $RPM_BUILD_ROOT -type f ! -regex ".*ld-[0-9.]*so.*" ! -regex ".*/usr/lib[0-9]*/debug/.*\.debug" %{?_noautostrip:! -regex "%{_noautostrip}"}`; \
21 elfexelist=`echo $filelist | xargs -r file | \
22 awk '/ELF.*executable/ {print $1}' | cut -d: -f1`; \
23 elfsharedlist=`echo $filelist | xargs -r file | \