specs/ibus.spec
changeset 707 dfbe6c035259
parent 704 a4910901d2e7
child 714 7e428d437ae9
--- a/specs/ibus.spec	Sat Aug 27 04:34:21 2011 +0900
+++ b/specs/ibus.spec	Wed Aug 24 22:46:04 2011 +0200
@@ -145,6 +145,9 @@
 find ${RPM_BUILD_ROOT} -name "*.a" -exec rm  {} \; -print
 find ${RPM_BUILD_ROOT} -name "*.la" -exec rm {} \; -print
 
+# removing CDDL from copies of source/text files delivered to the binary product
+(cd ${RPM_BUILD_ROOT}; ggrep -rlF 'CDDL HEADER START' . 2>/dev/null|xargs perl -i -ne 'print unless /CDDL HEADER START/ .. /CDDL HEADER END/')
+
 %post
 %include update-gtk-immodules.script