7090977 Remaining cddl licence parts.
--- a/specs/ibus-sunpinyin.spec Fri Sep 02 00:51:07 2011 +0900
+++ b/specs/ibus-sunpinyin.spec Sun Sep 18 00:14:10 2011 +0200
@@ -45,6 +45,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' . 2>/dev/null|xargs perl -i -ne 'print unless /The contents of this file are subject to the terms of either the GNU Lesser/ .. /to such option by the copyright holder./')
+
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
%clean