[Pkg-javascript-devel] Plan for legacy rollup plugins in bullseye (was Re: node-rollup-plugin-inject 4.0.2+~3.0.2-1 MIGRATED to testing)
Jonas Smedegaard
jonas at jones.dk
Tue Oct 27 18:28:32 GMT 2020
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20201027/1aa0c81c/attachment.sig>
More information about the Pkg-javascript-devel
mailing list