[PyMca] Fix binary permissions.

Jussi Lehtola jussilehtola at fedoraproject.org
Thu Jul 14 12:10:18 UTC 2011


commit 72f9c6446c905dfc10ec96c58edc911457082cad
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date:   Thu Jul 14 15:09:59 2011 +0300

    Fix binary permissions.

 PyMca.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/PyMca.spec b/PyMca.spec
index 672d2b3..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
 
@@ -98,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