[drupal7-lang_dropdown] Updated find command in %%prep for el5 compatibility

Shawn Iwinski siwinski at fedoraproject.org
Mon Dec 9 20:22:42 UTC 2013


commit f488b2f8b087ede5961b8368c9fbb3ee552345e9
Author: Shawn Iwinski <siwinski at redhat.com>
Date:   Mon Dec 9 15:22:34 2013 -0500

    Updated find command in %%prep for el5 compatibility

 drupal7-lang_dropdown.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/drupal7-lang_dropdown.spec b/drupal7-lang_dropdown.spec
index 2f658ff..084e1de 100644
--- a/drupal7-lang_dropdown.spec
+++ b/drupal7-lang_dropdown.spec
@@ -4,7 +4,7 @@
 
 Name:          drupal7-%{module_name}
 Version:       2.1
-Release:       1%{?dist}
+Release:       2%{?dist}
 Summary:       Provides a dropdown select to switch between available languages
 
 Group:         Applications/Publishing
@@ -38,7 +38,7 @@ This package provides the following Drupal module:
 cp -p %{SOURCE1} .
 
 # Remove executable bits from all files
-find . -type f -executable -print0 | xargs -0 chmod -x
+find . -type f -perm /+x -print0 | xargs -0 chmod -x
 
 
 %build
@@ -63,6 +63,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Dec 09 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 2.1-2
+- Updated find command in %%prep for el5 compatibility
+
 * Mon Dec 09 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 2.1-1
 - Updated to 2.1
 


More information about the scm-commits mailing list