Open JordanStopford opened 8 months ago
I haven’t tested this, but the change seems like it’s a good solution. @JordanStopford you ok with me merging?
We’ve done some testing internally (mainly Ubuntu on PowerPC little endian) and it does fix the issue with our RPM conversion.
I found another similar issue today with dependency scanning and have pushed some more commits to my repo. Do you want those in a separate PR? These changes centered around two issues:
On Tue, 23 Apr 2024 at 20:54, Jordan Sissel @.***> wrote:
I haven’t tested this, but the change seems like it’s a good solution. @JordanStopford https://github.com/JordanStopford you ok with me merging?
— Reply to this email directly, view it on GitHub https://github.com/jordansissel/fpm/pull/2053#issuecomment-2073322835, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEN7W2V4FHDAVJG2CMQ2D3Y624ANAVCNFSM6AAAAABEMTAAL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZTGMZDEOBTGU . You are receiving this because you were mentioned.Message ID: @.***>
It’s ok 👍 to include multiple changes in a single PR. My request for keeping this one PR is to update the PR description to refer to the things you improve.
Otherwise, yes, all changes look like good improvements :)
@jordansissel I've amended the PR description above. Thanks for your feedback!
When packaging a deb sometimes the architecture comes through as part of the provides (not sure why) but this causes problems with the deb package as it seems to only ever expect one set of round brackets which is the version indicator Also fixed another issue where ppc64le packages from RPM wouldn't install properly on DEB based systems as they use ppc64el. Also fixed another issue where invalid dependencies were being put in the control file (rpmlib dependencies and file path dependencies i.e. RPMs that depend on /bin/sh)
This has got fpm working for RPMs->DEBs on our systems for ppc64le packages. Appreciate that this fix might not be "complete" or comprehensive in any way, shape or form so any feedback is welcome.