[jbrout] fix find cleaning .exe and .dll (closes #749425)

Matej Cepl mcepl at fedoraproject.org
Thu Oct 27 07:27:46 UTC 2011


commit b23387cf3b9cfa8ae0c9fbfcced493776dd3dc53
Author: Matěj Cepl <mcepl at redhat.com>
Date:   Thu Oct 27 09:28:47 2011 +0200

    fix find cleaning .exe and .dll (closes #749425)

 jbrout-clean-SVN-checkout.sh |    4 ++--
 jbrout.spec                  |    5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/jbrout-clean-SVN-checkout.sh b/jbrout-clean-SVN-checkout.sh
index aa67584..81ce06c 100644
--- a/jbrout-clean-SVN-checkout.sh
+++ b/jbrout-clean-SVN-checkout.sh
@@ -12,8 +12,8 @@ fi
 rm -rf dist
 rm -rvf jbrout/plugins/multiexport/libs/picasaweb/{atom,gdata}/
 
-find . -name \*.exe -o -name \*.dll -print -delete
-find . -name \*.py -o -name \*.glade -o -name \*.xsl -exec dos2unix -k '{}' \;
+find . \( -name \*.exe -o -name \*.dll \) -print -delete
+find . \( -name \*.py -o -name \*.glade -o -name \*.xsl \) -exec dos2unix -k '{}' \;
 find . -type f -executable -exec chmod -x {} \;
 find . -name \*.py -exec sed -i -e '/^#!\/usr.*\/bin\/.*python/d' '{}' \;
 
diff --git a/jbrout.spec b/jbrout.spec
index f73ba11..d522467 100644
--- a/jbrout.spec
+++ b/jbrout.spec
@@ -4,7 +4,7 @@
 Name:           jbrout
 Version:        0.3.%{revno}
 %if 0%{?svn_checkout}
-Release:        0.svn%{revno}.1%{?dist}.3
+Release:        0.4.svn%{revno}%{?dist}
 %else
 Release:        1%{?dist}
 %endif
@@ -99,6 +99,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/applications/jbrout.desktop
 
 %changelog
+* Thu Oct 27 2011 Matěj Cepl <mcepl at redhat.com> - 0.3.338-0.4.svn338
+- fix find cleaning .exe and .dll (closes #749425)
+
 * Mon Oct 24 2011 Matěj Cepl <mcepl at redhat.com> - 0.3.338-0.svn338.1.3
 - yet another new version of exiv2 library.
 


More information about the scm-commits mailing list