From 3af10c10c39a153fe571c1cfd62a8ad599f19e5ace7f330275b69d4dc28c6a52 Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Tue, 12 Jan 2021 21:07:40 +0000 Subject: [PATCH] osc copypac from project:home:Vogtinator:qmlautoreqprov package:qtdeclarative-imports-provides revision:7 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt5/qtdeclarative-imports-provides?expand=0&rev=2 --- qtdeclarative-imports-provides.changes | 6 ++++++ qtdeclarative-imports-provides.spec | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/qtdeclarative-imports-provides.changes b/qtdeclarative-imports-provides.changes index ed743cd..f369b76 100644 --- a/qtdeclarative-imports-provides.changes +++ b/qtdeclarative-imports-provides.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 12 21:02:18 UTC 2021 - Fabian Vogt + +- Add a workaround for the source checker not liking that the package + has an invalid name with empty build flavor + ------------------------------------------------------------------- Mon Dec 28 21:39:01 UTC 2020 - Fabian Vogt diff --git a/qtdeclarative-imports-provides.spec b/qtdeclarative-imports-provides.spec index c0ecd07..bc4c2ae 100644 --- a/qtdeclarative-imports-provides.spec +++ b/qtdeclarative-imports-provides.spec @@ -18,7 +18,12 @@ %global qt_version @BUILD_FLAVOR@%nil +# Doesn't build, but makes factory-auto happy. +%if "%{qt_version}" == "" +Name: qtdeclarative-imports-provides +%else Name: qtdeclarative-imports-provides-%{qt_version} +%endif Version: 1.0 Release: 0 Summary: RPM provides for QML modules from qtdeclarative @@ -27,7 +32,7 @@ Group: Development/Tools/Building URL: https://www.opensuse.org Source0: LICENSE BuildRequires: qml-autoreqprov -%if %{qt_version} == "qt6" +%if "%{qt_version}" == "qt6" %global pkgname qt6-declarative-imports %else %global pkgname libQtQuick5