[Rpm-maint] [rpm-software-management/rpm] allow to support perl normal version scheme for rpm compatible versions (PR #2609)
Dirk Stöcker
notifications at github.com
Thu Aug 10 12:15:29 UTC 2023
We started to use perl nomal version scheme for perl packages in openSUSE which hopefully finally fixes the version conflicts between RPM and perl versions which trouble us for years. This submission adds a patch which supports this method in the RPM scripts directly. That way we can use this instead of reimplementing the provides handling.
The patch is done in a way that it does not affect current behaviour of the tools. For openSUSE we will for now reset the __perllib_provides variable in the spec file for each package until the transition phase is through (in which old and new version are mixed). Afterwards the attrs files will be change to call the scripts with the option directly always. For openSUSE it was decided to to not use the perln(...) scheme, but instead make the transition in the perl(...) namespace and handle the resulting version conflicts.
The patch contains both options in case other projects make another decision and want to use perln(...):
A way for transition would be to enable additional provides with version with perln(...), switch all requires with a version to perln(...), then switch perl(...) to the new scheme and then drop perln(...) again. That is conflict free, but has more package changing steps.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/2609
-- Commit Summary --
* allow to support perl normal version scheme for rpm compatible versions
-- File Changes --
M scripts/perl.prov (24)
M scripts/perl.req (25)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/2609.patch
https://github.com/rpm-software-management/rpm/pull/2609.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2609
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2609 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230810/757f17f4/attachment.html>
More information about the Rpm-maint
mailing list