Fixed check for ELF binaries to prevent chrpath from failing.
This commit is contained in:
parent
82046f9539
commit
1ca20fcdf1
@ -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@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@lists.fedoraproject.org> - 2.5.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user