diff --git a/qt5-qtsensors.spec b/qt5-qtsensors.spec index f28a04e..16dd1c1 100644 --- a/qt5-qtsensors.spec +++ b/qt5-qtsensors.spec @@ -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 - 5.15.2-2 +- del rpath in grue plugin + * Wed Oct 13 2021 peijiankang - 5.15.2-1 - update to upstream version 5.15.2