File quiterss-list_qmfiles.patch of Package quiterss

From: Luigi Baldoni <aloisio@gmx.com>
Date: 2017-06-16 16:28:22 +0200
Subject: Don't use wildcard when installing .qm files

Create a file list of locale (.qm) files since Qt 5.9 has
problems with wildcards.

Index: quiterss-0.18.5/QuiteRSS.pro
===================================================================
--- quiterss-0.18.5.orig/QuiteRSS.pro
+++ quiterss-0.18.5/QuiteRSS.pro
@@ -299,7 +299,9 @@ unix:!mac {
   icon_128.path = $$quote($$PREFIX/share/icons/hicolor/128x128/apps)
   icon_256.path = $$quote($$PREFIX/share/icons/hicolor/256x256/apps)
 
-  translations.files = $$quote($$DESTDIR/lang/)*.qm
+  translations.files = $$TRANSLATIONS
+  translations.files ~= s,\\.ts$,.qm,g
+  translations.files ~= s,^,$$DESTDIR/,g
   translations.path =  $$quote($$DATA_DIR/lang)
   translations.CONFIG += no_check_exist
openSUSE Build Service is sponsored by