[liblouis] Fixed check for ELF binaries to prevent chrpath from failing.

Martin Gieseking mgieseki at fedoraproject.org
Mon Aug 18 10:25:40 UTC 2014


commit 1ca20fcdf106f1cc329a64988c5d2e6101f7aede
Author: Martin Gieseking <martin.gieseking at uos.de>
Date:   Mon Aug 18 12:06:52 2014 +0200

    Fixed check for ELF binaries to prevent chrpath from failing.

 liblouis.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/liblouis.spec b/liblouis.spec
index 842f912..d1fe727 100644
--- a/liblouis.spec
+++ b/liblouis.spec
@@ -6,7 +6,7 @@
 
 Name:           liblouis
 Version:        2.5.4
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Braille translation and back-translation library
 
 Group:          System Environment/Libraries
@@ -136,7 +136,7 @@ install -pm 0644 __init__.py %{buildroot}%{python3_sitelib}/louis/
 
 # Remove Rpaths from the executables. We must do that in the %%install section
 # because, otherwise, the test suite wouldn't build.
-for f in `find %{buildroot}%{_bindir} -exec file {} \; | grep executable | cut -d: -f1`; do
+for f in `find %{buildroot}%{_bindir} -exec file {} \; | grep 'ELF.*executable' | cut -d: -f1`; do
 	chrpath --delete $f
 done
 
@@ -195,6 +195,9 @@ fi
 
 
 %changelog
+* Mon Aug 18 2014 Martin Gieseking <martin.gieseking at uos.de> 2.5.4-5
+- Fixed check for ELF binaries to prevent chrpath from failing.
+
 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.5.4-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list