Quoting Xavier (2020-10-27 17:58:43) > Both @rollup/plugin-foo and rollup-plugin-foo have the same Debian > name. I tried "Provides: ${nodejs:Provides}", and Debian tools looks > to accept it (both build and local install with `dpkg -i`) : > > Package: node-rollup-plugin-alias > Version: 3.1.1+~2.2.0-4 > Provides: node-rollup-plugin-alias (= 2.2.0) > > Do you think this is an acceptable way?
I think it is better to include full Debian version in provided version, to allow e.g. declaring "Breaks: $specific_broken_debian_release". If ${nodejs:Provides} resolves to "2.2.0" then probably what I propose is achieved with this in control file: Package: node-rollup-plugin-alias Version: 3.1.1+~2.2.0-4 Provides: node-rollup-plugin-alias (= ${nodejs:Provides}~${source:Version}) I use ~ to have a (quite unlikely, but still) proper package of that same release win over this odd package. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature
-- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel