Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'fixBuild' into 'master'
[packaging] Cleanup libqtposition_geoclue.so. Fixes JB#40423

See merge request !12
  • Loading branch information
rainemak committed Feb 2, 2018
2 parents f1866fe + 7d6ba0e commit 56fdcd7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rpm/qtlocation.spec
Expand Up @@ -148,6 +148,9 @@ rm -f %{buildroot}/%{_libdir}/*.la
# We don't need qt5/Qt/
rm -rf %{buildroot}/%{_includedir}/qt5/Qt

# Duke libqtposition_geoclue.so
rm -f %{buildroot}/%{_libdir}/qt5/plugins/position/libqtposition_geoclue.so

# Fix wrong path in pkgconfig files
find %{buildroot}%{_libdir}/pkgconfig -type f -name '*.pc' \
-exec perl -pi -e "s, -L%{_builddir}/?\S+,,g" {} \;
Expand All @@ -171,7 +174,6 @@ find %{buildroot}%{_libdir} -type f -name '*.prl' \
%defattr(-,root,root,-)
%{_libdir}/libQt5Positioning.so.5
%{_libdir}/libQt5Positioning.so.5.*
%exclude %{_libdir}/qt5/plugins/position/libqtposition_geoclue.so

%files -n qt5-qtpositioning-devel
%defattr(-,root,root,-)
Expand Down

0 comments on commit 56fdcd7

Please sign in to comment.