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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 Date: Thu, 12 Nov 2020 16:28:27 +0100 From: Alexey Gladkov To: ALT Linux Team development discussions Message-ID: <20201112152827.hxgd5rq4axdhiude@example.org> References: <20201111163426.GF9029@altlinux.org> <20201112120140.GA2021@hydra.imath.kiev.ua> <20201112130006.GB23210@altlinux.org> <20966716.EfDdHjke4D@zerg.malta.altlinux.ru> <20201112145252.GA24577@altlinux.org> <20201112152455.kjmixdiuhl4ite4r@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201112152455.kjmixdiuhl4ite4r@example.org> Subject: Re: [devel] Q: duplicate qml() self-provides 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: Thu, 12 Nov 2020 15:28:35 -0000 Archived-At: List-Archive: List-Post: On Thu, Nov 12, 2020 at 04:25:00PM +0100, Alexey Gladkov wrote: > On Thu, Nov 12, 2020 at 05:52:52PM +0300, Dmitry V. Levin wrote: > > > В QML может. > > > > Там по сути тоже произошла подмена понятий, в результате чего стало > > невозможным написать адекватные зависимости. > > > > Вместо того, чтобы написать, например, > > Provides: qml(QtMultimedia)-5 = 15 > > Requires: qml(QtMultimedia)-5 >= 7 > > То есть в sisyphus_check можно добавить проверку, что qml > Requires/Provides должны иметь вид: ^qml([^)]+)-[0-9]+ = [0-9]+$ Provides: ^qml([^)]+)-[0-9]+ = [0-9]+$ Requires: ^qml([^)]+)-[0-9]+ >?= [0-9]+$ > > > Тебе приходится извращаться следующим образом: > > $ rpmquery --provides -p Sisyphus/files/x86_64/RPMS/libqt5-multimedia-5.15.1-alt1.x86_64.rpm |\ > > grep '^qml(QtMultimedia)' > > qml(QtMultimedia) = 5.0 > > qml(QtMultimedia) = 5.1 > > qml(QtMultimedia) = 5.10 > > qml(QtMultimedia) = 5.11 > > qml(QtMultimedia) = 5.12 > > qml(QtMultimedia) = 5.13 > > qml(QtMultimedia) = 5.14 > > qml(QtMultimedia) = 5.15 > > qml(QtMultimedia) = 5.2 > > qml(QtMultimedia) = 5.3 > > qml(QtMultimedia) = 5.4 > > qml(QtMultimedia) = 5.5 > > qml(QtMultimedia) = 5.6 > > qml(QtMultimedia) = 5.7 > > qml(QtMultimedia) = 5.8 > > qml(QtMultimedia) = 5.9 > > -- > Rgrds, legion > -- Rgrds, legion