Accepting request 1140621 from home:Vogtinator:other6

- Bump version to 1.4.1
- qmldirreqprov.sh:
  * Only gGenerate unversioned URI provides for Qt 6+

OBS-URL: https://build.opensuse.org/request/show/1140621
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt5/qml-autoreqprov?expand=0&rev=15
This commit is contained in:
Luca Beltrame 2024-01-23 04:44:49 +00:00 committed by Git OBS Bridge
parent 5bbd5601ef
commit 7b67ef5d59
3 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jan 22 14:18:20 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Bump version to 1.4.1
- qmldirreqprov.sh:
* Only gGenerate unversioned URI provides for Qt 6+
-------------------------------------------------------------------
Sun Jan 21 12:11:19 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>

View File

@ -17,7 +17,7 @@
Name: qml-autoreqprov
Version: 1.4
Version: 1.4.1
Release: 0
Summary: Automatic dependency generator for QML files and modules
License: GPL-3.0-or-later

View File

@ -102,7 +102,9 @@ while read file; do
continue
fi
moduleExports["qt${qtver}qmlimport(${import%.*})"]="" # Provides for unversioned imports
foundModuleExport "qt${qtver}qmlimport(${import})" "$min"
if [[ $qtver -ge 6 ]]; then
foundModuleExport "qt${qtver}qmlimport(${import})" "$min"
fi
done < <(qmlpluginexports-qt${qtver} "$plugin" "$module")
done
fi