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 onEPEL 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
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