!5 fix rpath error
From: @wang_yue111 Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
aff6088937
@ -1,6 +1,6 @@
|
||||
Name: qt-mobility
|
||||
Version: 1.2.2
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Framwork of qt mobility
|
||||
License: LGPLv2 with exceptions
|
||||
URL: https://code.qt.io/cgit/qt-mobility/qt-mobility.git
|
||||
@ -11,7 +11,7 @@ Patch2: qt-mobility-opensource-src-1.2.2-sensors_ftbfs.patch
|
||||
|
||||
BuildRequires: gcc-c++ perl proj-devel pkgconfig(xv) pkgconfig(QtGui) pkgconfig(QtOpenGL)
|
||||
BuildRequires: pkgconfig(QtDeclarative) pkgconfig(QtCore) pkgconfig(libudev) pkgconfig(libnm)
|
||||
BuildRequires: pkgconfig(alsa) pkgconfig(blkid) pkgconfig(bluez) pkgconfig(libpulse)
|
||||
BuildRequires: pkgconfig(alsa) pkgconfig(blkid) pkgconfig(bluez) pkgconfig(libpulse) chrpath
|
||||
Requires: qt4
|
||||
|
||||
Provides: qt4-mobility = %{version}-%{release} qt4-mobility%{?_isa} = %{version}-%{release}
|
||||
@ -75,6 +75,13 @@ make install INSTALL_ROOT=%{buildroot}
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
cd $RPM_BUILD_ROOT/usr
|
||||
file `find -type f` | grep -w ELF | awk -F":" '{print $1}' | for i in `xargs`
|
||||
do
|
||||
chrpath -d $i
|
||||
done
|
||||
cd -
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license LICENSE.LGPL LGPL_EXCEPTION.txt
|
||||
%dir %{_qt4_importdir}/QtMobility/
|
||||
@ -98,5 +105,8 @@ make install INSTALL_ROOT=%{buildroot}
|
||||
%{_qt4_libdir}/pkgconfig/Qt*.pc
|
||||
|
||||
%changelog
|
||||
* Thu Sep 09 2021 wangyue <wangyue92@huawei.com> - 1.2.2-2
|
||||
- fix rpath error
|
||||
|
||||
* Thu Dec 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.2.2-1
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user