Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qml-autoreqprov for openSUSE:Factory checked in at 2021-02-04 20:21:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qml-autoreqprov (Old) and /work/SRC/openSUSE:Factory/.qml-autoreqprov.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qml-autoreqprov" Thu Feb 4 20:21:53 2021 rev:3 rq:867986 version:1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/qml-autoreqprov/qml-autoreqprov.changes 2021-01-18 11:33:35.360961918 +0100 +++ /work/SRC/openSUSE:Factory/.qml-autoreqprov.new.28504/qml-autoreqprov.changes 2021-02-04 20:21:54.646628632 +0100 @@ -1,0 +2,5 @@ +Wed Jan 27 08:54:39 UTC 2021 - Fabian Vogt <fab...@ritter-vogt.de> + +- Convert the opt-in for qml.req to an opt-out + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ README ++++++ --- /var/tmp/diff_new_pack.ZdKFXi/_old 2021-02-04 20:21:55.398629777 +0100 +++ /var/tmp/diff_new_pack.ZdKFXi/_new 2021-02-04 20:21:55.402629783 +0100 @@ -17,12 +17,11 @@ Packages with system-wide QML modules get Provides like `qt5qmlimport(QtQuick.Controls.2) = 15` automatically. Imports in .qml files -map to RPM requires like `qt5qmlimport(QtQuick.Controls.2) >= 15`, but this is -currently opt-in and has to be enabled with `%global %_enable_qml_requires 1` -in .spec files. After adding that, it's important to check that all -dependendencies are fulfilled, as in some cases a needed `qmlimport` Provides -is missing. See the "Internal and private exports" section for how to deal with -that. +map to RPM requires like `qt5qmlimport(QtQuick.Controls.2) >= 15`. This can be +disabled with `%global %_disable_qml_requires 1` in .spec files. It's important +to check that all dependendencies are fulfilled, as in some cases a needed +`qmlimport` Provides is missing. See the "Internal and private exports" section +for how to deal with that. How the QML engine imports modules ---------------------------------- @@ -75,12 +74,6 @@ `%global %__qml_requires_opts --qtver 5` -To avoid that missing qmlimport provides (see "Internal and private exports") -make previously working packages unresolvable, generation of requires is opt-in -and needs to be enabled by defining `%_enable_qml_requires`: - -`%global %_enable_qml_requires 1` - Currently, only .qml files directly part of the package are handled, so if those are part of a resources file embedded into an executable or library, they will not be read. Making this possible needs more research and effort. ++++++ qml.attr ++++++ --- /var/tmp/diff_new_pack.ZdKFXi/_old 2021-02-04 20:21:55.422629814 +0100 +++ /var/tmp/diff_new_pack.ZdKFXi/_new 2021-02-04 20:21:55.422629814 +0100 @@ -1,4 +1,4 @@ %__qml_requires %{_rpmconfigdir}/qml.req %__qml_path \\.qml$ -# Exclude everything unless _enable_qml_requires is set -%__qml_exclude_path %nil%{?!_enable_qml_requires:\\.qml$} +# Exclude everything if _disable_qml_requires is set +%__qml_exclude_path %nil%{?_disable_qml_requires:\\.qml$}