SOURCES: rpm.macros - no binaries should be in %{_includedir} -- s...
glen
glen at pld-linux.org
Tue Jan 2 19:07:55 CET 2007
Author: glen Date: Tue Jan 2 18:07:55 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- no binaries should be in %{_includedir} -- skip chrpath and strip there
---- Files affected:
SOURCES:
rpm.macros (1.359 -> 1.360)
---- Diffs:
================================================================
Index: SOURCES/rpm.macros
diff -u SOURCES/rpm.macros:1.359 SOURCES/rpm.macros:1.360
--- SOURCES/rpm.macros:1.359 Tue Dec 26 22:29:50 2006
+++ SOURCES/rpm.macros Tue Jan 2 19:07:50 2007
@@ -350,7 +350,7 @@
%__spec_install_post_strip {%{!?debug: \
%{!?no_install_post_strip:__spec_install_post_strip() { \
if [ -d "$RPM_BUILD_ROOT" ]; then \
- filelist=`find $RPM_BUILD_ROOT -type f ! -regex ".*ld-[0-9.]*so.*" ! -regex ".*/usr/lib[0-9]*/debug/.*\.debug" ! -regex ".*%{_docdir}/.*" %{?_noautostrip:! -regex "%{_noautostrip}"}`; \
+ filelist=`find $RPM_BUILD_ROOT -type f ! -regex ".*ld-[0-9.]*so.*" ! -regex ".*/usr/lib[0-9]*/debug/.*\.debug" ! -regex ".*%{_docdir}/.*" ! -regex ".*%{_includedir}/.*" %{?_noautostrip:! -regex "%{_noautostrip}"}`; \
if [ -z "$filelist" ]; then \
return; \
fi; \
@@ -387,7 +387,7 @@
%__spec_install_post_chrpath {%{!?debug: \
%{!?no_install_post_chrpath: __spec_install_post_chrpath() { \
if [ -d "$RPM_BUILD_ROOT" ]; then \
- files=`find $RPM_BUILD_ROOT -type f ! -regex ".*ld-[0-9.]*so.*" ! -regex ".*/usr/lib[0-9]*/debug/.*" ! -regex ".*%{_docdir}/.*" %{?_noautochrpath:! -regex "%{_noautochrpath}"}`; \
+ files=`find $RPM_BUILD_ROOT -type f ! -regex ".*ld-[0-9.]*so.*" ! -regex ".*/usr/lib[0-9]*/debug/.*" ! -regex ".*%{_docdir}/.*" ! -regex ".*%{_includedir}/.*" %{?_noautochrpath:! -regex "%{_noautochrpath}"}`; \
if [ -n "$files" ]; then \
objs=`echo "$files" | xargs -r -d'\\n' file | awk -F: '/ELF.*(executable.*dynamically linked|shared object)/ {print $1}'`; \
fi
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/rpm.macros?r1=1.359&r2=1.360&f=u
More information about the pld-cvs-commit
mailing list