- don't delete examples *.py
authorArtur Frysiak <artur@frysiak.net>
Wed, 23 Feb 2005 15:43:29 +0000 (15:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drpython.spec -> 1.45

drpython.spec

index e4aaa5bedfd8b2a1e5553e094d28412ef1460e12..b10ef61e6bc1f97c3af9df76f0e4cae03e39d695 100644 (file)
@@ -48,7 +48,7 @@ chmod 755 $RPM_BUILD_ROOT%{_bindir}/drpython
 %py_comp $RPM_BUILD_ROOT%{_datadir}/drpython
 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/drpython
 
-find $RPM_BUILD_ROOT%{_datadir} -name \*.py | xargs rm -f
+find $RPM_BUILD_ROOT%{_datadir} -not -wholename '*/drpython/examples/*' -name \*.py -exec rm -f {} \;
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.031027 seconds and 4 git commands to generate.