[EPEL-devel] Re: Getting %ldconfig_scriptlets in CentOS 7

2021-09-19 Thread Sérgio Basto
On Sun, 2021-09-19 at 20:08 +0100, Mikhail Ramendik wrote: > On Fri, 17 Sept 2021 at 23:12, Troy Dawson wrote: >   > > He needs epel-rpm-macros which provides > > /usr/lib/rpm/macros.d/macros.epel-rpm-macros that has the > > %ldconfig_scriptlets defined. > > > > > Thanks a lot!! This resolves

[EPEL-devel] Re: Getting %ldconfig_scriptlets in CentOS 7

2021-09-19 Thread Mikhail Ramendik
On Fri, 17 Sept 2021 at 23:12, Troy Dawson wrote: > He needs epel-rpm-macros which provides > /usr/lib/rpm/macros.d/macros.epel-rpm-macros that has the > %ldconfig_scriptlets defined. > Thanks a lot!! This resolves the issue. May I ask you to add this information to

[EPEL-devel] Re: Getting %ldconfig_scriptlets in CentOS 7

2021-09-17 Thread Troy Dawson
On Fri, Sep 17, 2021 at 2:57 PM Mikhail Ramendik wrote: > > On Fri, 17 Sept 2021 at 15:08, Sérgio Basto 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

[EPEL-devel] Re: Getting %ldconfig_scriptlets in CentOS 7

2021-09-17 Thread Mikhail Ramendik
On Fri, 17 Sept 2021 at 15:08, Sérgio Basto 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

[EPEL-devel] Re: Getting %ldconfig_scriptlets in CentOS 7

2021-09-17 Thread Sérgio Basto
On Fri, 2021-09-17 at 12:35 +0100, Mikhail Ramendik wrote: > Hello, > > A friend of mine is rebuilding an EPEL package (namely llvm9.0) from > source for CentOS 7 on aarch64. The aarch64 build is not in the EPEL > repo, probably because RHEL7 for aarch64 is out of support. > > WIth an unmodified

[EPEL-devel] Re: Getting %ldconfig_scriptlets in CentOS 7

2021-09-17 Thread Mikhail Ramendik
On Fri, 17 Sept 2021 at 12:58, Florian Weimer wrote: > > Does the package actually require running ldconfig? > Yes, it requires running ldconfig. -- 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] Re: Getting %ldconfig_scriptlets in CentOS 7

2021-09-17 Thread Florian Weimer
* Mikhail Ramendik: > So how can he get his aarch64 CentOS 7 to support this macro, to > enable rebuilds without modifying the .spec file? Does the package actually require running ldconfig? If not, building with "-D ldconfig_scriptlets %{nil}" should work, I think. Thanks, Florian

[EPEL-devel] Re: Getting %ldconfig_scriptlets in CentOS 7

2021-09-17 Thread Mikhail Ramendik
On Fri, 17 Sept 2021 at 12:35, Mikhail Ramendik wrote: > > A friend of mine is rebuilding an EPEL package (namely llvm9.0) from > source for CentOS 7 on aarch64. The aarch64 build is not in the EPEL repo, > probably because RHEL7 for aarch64 is out of support. > > WIth an unmodified .spec file,