diff --git a/mingw-qt5-qtlocation.spec b/mingw-qt5-qtlocation.spec index c0d2dac..86ec841 100644 --- a/mingw-qt5-qtlocation.spec +++ b/mingw-qt5-qtlocation.spec @@ -97,20 +97,9 @@ mkdir .git %install %mingw_make install INSTALL_ROOT=%{buildroot} -# .prl files aren't interesting for us - -# Create a list of .dll.debug files which need to be excluded from the main packages -# We do this to keep the %%files section as clean/readable as possible (otherwise every -# single file and directory would have to be mentioned individually in the %%files section) -# Note: the .dll.debug files aren't created yet at this point (as it happens after -# the %%install section). Therefore we have to assume that all .dll files will -# eventually get a .dll.debug counterpart -find %{buildroot}%{mingw32_prefix} | grep .dll | grep -v .dll.a | sed s@"^%{buildroot}"@"%%exclude "@ | sed s/".dll\$"/".dll.debug"/ > mingw32-qt5-%{qt_module}.excludes -find %{buildroot}%{mingw64_prefix} | grep .dll | grep -v .dll.a | sed s@"^%{buildroot}"@"%%exclude "@ | sed s/".dll\$"/".dll.debug"/ > mingw64-qt5-%{qt_module}.excludes - # Win32 -%files -n mingw32-qt5-%{qt_module} -f mingw32-qt5-%{qt_module}.excludes +%files -n mingw32-qt5-%{qt_module} %license LICENSE.LGPL* LICENSE.GPL* %{mingw32_bindir}/Qt5Location.dll %{mingw32_bindir}/Qt5Positioning.dll @@ -141,7 +130,7 @@ find %{buildroot}%{mingw64_prefix} | grep .dll | grep -v .dll.a | sed s@"^%{buil %{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_positioningquick_private.pri # Win64 -%files -n mingw64-qt5-%{qt_module} -f mingw64-qt5-%{qt_module}.excludes +%files -n mingw64-qt5-%{qt_module} %license LICENSE.LGPL* LICENSE.GPL* %{mingw64_bindir}/Qt5Location.dll %{mingw64_bindir}/Qt5Positioning.dll