[PyMca/f14] Fix binary permissions.

Jussi Lehtola jussilehtola at fedoraproject.org
Thu Jul 14 12:11:26 UTC 2011


commit 5cf72c02510cd4da42cd9e97bc255d1de0ae8557
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date:   Thu Jul 14 15:11:10 2011 +0300

    Fix binary permissions.

 PyMca.spec |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/PyMca.spec b/PyMca.spec
index 01b94b3..b045c93 100644
--- a/PyMca.spec
+++ b/PyMca.spec
@@ -10,7 +10,7 @@
 
 Name:		PyMca
 Version:	4.4.1
-Release:	3.%{plevel}%{?dist}
+Release:	4.%{plevel}%{?dist}
 Summary:	GUI for multi-channel analyser spectra visualization and analysis
 Group:		Applications/Engineering
 License:	GPLv2+
@@ -64,9 +64,9 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
 
 # Get rid of mention of buildroot in files in %{_bindir}
 for bin in %{buildroot}%{_bindir}/*; do
- sed 's|%{buildroot}||g' $bin > $bin.new &&
- touch -r $bin $bin.new &&
- mv $bin.new $bin
+ sed 's|%{buildroot}||g' $bin > $bin.new && \
+ touch -r $bin $bin.new && \
+ mv $bin.new $bin && \
  chmod 755 $bin
 done
 
@@ -81,7 +81,6 @@ for lib in %{buildroot}%{python_sitearch}/PyMca/*.py; do
  mv $lib.new $lib
 done
 
-
 %clean
 rm -rf %{buildroot}
 
@@ -99,6 +98,9 @@ rm -rf %{buildroot}
 %{_datadir}/applications/PyMca.desktop
 
 %changelog
+* Thu Jul 14 2011 Jussi Lehtola <jussilehtola at fedoraproject.org> - 4.4.1-4.p1
+- Fix binary permissions (BZ #721149).
+
 * Fri Feb 25 2011 Jussi Lehtola <jussilehtola at fedoraproject.org> - 4.4.1-3.p1
 - Update to 4.4.1p1.
 


More information about the scm-commits mailing list