Re: Getting %ldconfig_scriptlets in CentOS 7

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

 





On Fri, Sep 17, 2021 at 2:57 PM Mikhail Ramendik <mr@xxxxxxxxxxx> wrote:

On Fri, 17 Sept 2021 at 15:08, Sérgio Basto <sergio@xxxxxxxxxx> wrote:
 
WIth an unmodified .spec file, he gets a message that the  %ldconfig_scriptlets macro is unknown, or else he gets it built but not linked and so not running. He had to add "%post -p /sbin/ldconfig" and rebuild.

I did find the wiki page about this macro at https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets but I could not work out which package should pull this feature into CentOS 7.

So how can he get his aarch64 CentOS 7 to support this macro, to enable rebuilds without modifying the .spec file?

(Ideally he wants to be able to rebuild for Russian RHEL7 derivatives too).




This says "The %ldconfig_scriptlets macro can be removed on all Fedoras. Possibly also on
 EPEL 8. But it is required on EPEL 7."

However, on his CentOS 7 the macro *does not work*. What package does he need to update/rebuild so the macro works?



He needs epel-rpm-macros which provides /usr/lib/rpm/macros.d/macros.epel-rpm-macros that has the %ldconfig_scriptlets defined.

I suggest he creates a repo config file pointing to the epel7 aarch64 archives
https://archives.fedoraproject.org/pub/archive/epel/7/aarch64/

That will get him the epel7 packages up to the point that they stopped being supported.
 
--
Yours, Mikhail Ramendik

Unless explicitly stated, all opinions in my mail are my own and do not reflect the views of any organization
_______________________________________________
epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
_______________________________________________
epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Index of Archives]     [Fedora Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Announce]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux