Re: best way to package debug/diagnostic build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/14/2017 01:27 PM, Paul Howarth wrote:
Take a look at the curl package and how it produces curl-minimal.

This sounds close to what I was trying to accomplish.

It uses the new RemovePathPostfixes RPM directive which was made available in rpm 4.13.0 released on 11/3/2016.

It was documented in this blog:
http://www.pixelbeat.org/docs/conflicting-rpms.html

The original discussion appears to have begun with this thread:
https://lists.fedoraproject.org/pipermail/devel/2015-November/216965.html

Unfortunately there was an issue with debuginfo packages, but it looks like fix was added upstream a few days ago:
https://github.com/rpm-software-management/rpm/issues/280

I had never heard of RemovePathPostfixes before. I couldn't find any useful documentation on it's behavior. Given how new it is and the fact rpm 4.13.0 won't show up in RHEL until RHEL 8 makes it kind of a non-starter for me.

I'm beginning to believe RPM is not well suited to this and my best option is to just run two builds and name the .so differently and let the user deal with loading the right .so based on it's name.

--
John
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux