From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD autolearn=unavailable autolearn_force=no version=3.4.1 To: devel@lists.altlinux.org References: From: Oleg Solovyov Message-ID: <67e62ab6-12c9-3bbf-432b-16fe6a6dae53@basealt.ru> Date: Tue, 5 Sep 2017 13:38:37 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=koi8-r; format=flowed Content-Transfer-Encoding: 8bit Subject: [devel] rpm-build-qml X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 10:38:41 -0000 Archived-At: List-Archive: List-Post: Доброго времени суток. Пишу генератор Provides и Requires пакетов, содержащих файлы .qml Пока что вывод списка Requires для пакета kf5-plasma-workspace выглядит так: > qml(Qt.labs.folderlistmodel) = 2.1 > qml(QtGraphicalEffects) = 1.0 > qml(QtQuick) = 2.0 > qml(QtQuick) = 2.1 > qml(QtQuick) = 2.2 > qml(QtQuick) = 2.4 > qml(QtQuick) = 2.5 > qml(QtQuick) = 2.6 > qml(QtQuick.Controls) = 1.0 > qml(QtQuick.Controls) = 1.1 > qml(QtQuick.Controls) = 1.2 > qml(QtQuick.Controls) = 1.3 > qml(QtQuick.Controls) = 1.4 > qml(QtQuick.Controls.Private) = 1.0 > qml(QtQuick.Controls.Styles) = 1.4 > qml(QtQuick.Dialogs) = 1.1 > qml(QtQuick.Layouts) = 1.0 > qml(QtQuick.Layouts) = 1.1 > qml(QtQuick.Layouts) = 1.2 > qml(QtQuick.VirtualKeyboard) = 2.1 > qml(QtQuick.Window) = 2.0 > qml(QtQuick.Window) = 2.1 > qml(QtQuick.Window) = 2.2 > qml(SddmComponents) = 2.0 > qml(org.kde.activities) = 0.1 > qml(org.kde.draganddrop) = 2.0 > qml(org.kde.holidayeventshelperplugin) = 1.0 > qml(org.kde.kcoreaddons) = 1.0 > qml(org.kde.kholidays) = 1.0 > qml(org.kde.kquickcontrols) = 2.0 > qml(org.kde.kquickcontrolsaddons) = 2.0 > qml(org.kde.kwin) = 2.0 > qml(org.kde.milou) = 0.1 > qml(org.kde.plasma.calendar) = 2.0 > qml(org.kde.plasma.components) = 2.0 > qml(org.kde.plasma.configuration) = 2.0 > qml(org.kde.plasma.core) = 2.0 > qml(org.kde.plasma.core) = 2.1 > qml(org.kde.plasma.extras) = 2.0 > qml(org.kde.plasma.mobilecomponents) = 0.2 > qml(org.kde.plasma.plasmoid) = 2.0 > qml(org.kde.plasma.private.appmenu) = 1.0 > qml(org.kde.plasma.private.digitalclock) = 1.0 > qml(org.kde.plasma.private.notifications) = 1.0 > qml(org.kde.plasma.private.sessions) = 2.0 > qml(org.kde.plasma.wallpapers.image) = 2.0 > qml(org.kde.plasma.workspace.keyboardlayout) = 1.0 Возник вопрос: в списке хорошо видны Requires разных версий одного модуля qml. Можно ли как-то сократить список, чтобы в пакет записалось что-то вроде "qml(QtQuick) >= 2.0", если qml.req дергается один раз для каждого файла?