del runpath

Signed-off-by: cherry530 <xuping33@huawei.com>
(cherry picked from commit f7c4f415eb06209032fed12100c8b89ffe13fcbe)
This commit is contained in:
cherry530 2022-08-22 16:28:53 +08:00 committed by openeuler-sync-bot
parent 6b5574f27e
commit 5371d80b57

View File

@ -1,13 +1,13 @@
%global __provides_exclude_from ^(%{_qt5_archdatadir}/qml/.*\\.so|%{_qt5_plugindir}/.*\\.so)$
Name: qt5-qtsensors
Version: 5.15.2
Release: 1
Release: 2
Summary: The Qt5 Sensors library
License: LGPLv2 with exceptions or GPLv3 with exceptions
Url: http://www.qt.io/
%global majmin %(echo %{version} | cut -d. -f1-2)
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/qtsensors-everywhere-src-%{version}.tar.xz
BuildRequires: make
BuildRequires: make chrpath
BuildRequires: qt5-qtbase-devel >= %{version} qt5-qtbase-private-devel qt5-qtdeclarative-devel
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
@ -46,6 +46,8 @@ for prl_file in libQt5*.prl ; do
fi
done
popd
chrpath -d %{buildroot}%{_libdir}/qt5/examples/sensors/grue/sensors/libqtsensors_grue.so
chrpath -d %{buildroot}%{_libdir}/qt5/examples/sensors/grue/Grue/libdeclarative_grue.so
%ldconfig_scriptlets
@ -70,6 +72,9 @@ popd
%{_libdir}/qt5/mkspecs/modules/qt_lib_sensors*.pri
%changelog
* Mon Aug 22 2022 xu_ping <xuping33@h-partners.com> - 5.15.2-2
- del rpath in grue plugin
* Wed Oct 13 2021 peijiankang <peijiankang@kylinos.cn> - 5.15.2-1
- update to upstream version 5.15.2