]>
Commit | Line | Data |
---|---|---|
66a155ad ER |
1 | --- ./macros.in.~1~ 2005-06-22 10:38:30.000000000 +0300 |
2 | +++ ./macros.in 2005-06-22 10:38:30.000000000 +0300 | |
3 | @@ -132,7 +132,10 @@ | |
4 | unset LINGUAS ||:\ | |
5 | %{nil} | |
6 | ||
7 | -%install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\ | |
8 | +%install \ | |
9 | +%if 0%{?_enable_debug_packages}\ | |
10 | +%{?buildsubdir:%{debug_package}}\ | |
11 | +%endif\ | |
12 | %%install\ | |
13 | LANG=C\ | |
14 | export LANG\ | |
15 | @@ -296,7 +299,7 @@ | |
16 | %{?verbose:set -x;} \ | |
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 | \ |