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
This commit is contained in:
Fabian Vogt 2021-01-12 21:07:40 +00:00 committed by Git OBS Bridge
parent 729ec53083
commit 3af10c10c3
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 12 21:02:18 UTC 2021 - Fabian Vogt <fabian@ritter-vogt.de>
- 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 <fabian@ritter-vogt.de>

View File

@ -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