Remove lib64 rpaths
This commit is contained in:
parent
35d818214b
commit
713b9b14c0
@ -14,6 +14,7 @@ BuildRequires: python-devel >= 2.5
|
|||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
|
BuildRequires: chrpath
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
BuildRequires: libffi-devel
|
BuildRequires: libffi-devel
|
||||||
BuildRequires: mesa-libGL-devel
|
BuildRequires: mesa-libGL-devel
|
||||||
@ -58,6 +59,11 @@ make %{?_smp_mflags} V=1
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
|
# Remove lib64 rpaths
|
||||||
|
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/g-ir-compiler
|
||||||
|
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/g-ir-generate
|
||||||
|
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/g-ir-inspect
|
||||||
|
|
||||||
# Die libtool, die.
|
# Die libtool, die.
|
||||||
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
||||||
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
|
||||||
@ -91,6 +97,7 @@ find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
|
|||||||
%changelog
|
%changelog
|
||||||
* Fri Mar 17 2017 Kalev Lember <klember@redhat.com> - 1.51.5-1
|
* Fri Mar 17 2017 Kalev Lember <klember@redhat.com> - 1.51.5-1
|
||||||
- Update to 1.51.5
|
- Update to 1.51.5
|
||||||
|
- Remove lib64 rpaths
|
||||||
|
|
||||||
* Tue Feb 14 2017 Richard Hughes <rhughes@redhat.com> - 1.51.3-1
|
* Tue Feb 14 2017 Richard Hughes <rhughes@redhat.com> - 1.51.3-1
|
||||||
- Update to 1.51.3
|
- Update to 1.51.3
|
||||||
|
Loading…
Reference in New Issue
Block a user