-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Fri, 2018-02-16 at 15:18 +0100, Mark Wielaard wrote: > Hi Igor, > > On Wed, 2018-02-14 at 21:59 +0100, Igor Gnatenko wrote: > > Your options: > > > > * Speak up and tell package names I should not touch because … (you should > > complete this sentence). > > * Fix up packages and tell package names I should not touch because you did > > that already. > > * Tell package names you want to remove ldconfig scriptlets entirely > > instead > > of replacing them with %ldconfig_scriptlets and get fix **for free**. > > * Ignore this message and get fix **for free**. > > [...] > > elfutils aoliva fche jakub jankratochvil mjw pmachata roland > > I saw you already fixed this one up, thanks. > > Although for some reason I didn't get any notification about this > change. > > I had to tweak it a little though so the spec could still be build > older RHEL or Fedora (I reuse the spec to build on RHEL and with SCL). > Maybe something like the following is better for people who have a spec > file they might reuse on systems that might not have this macro: Generally this is bad advise because people who maintain packages in Fedora are supposed to maintain them only for Fedora and EPEL. Note that all macros are available in all supported Fedora, so you don't need such conditions. > # Only the latest Fedora and EPEL have these scriptlets, This is noy completely true, **all** Fedora and **all** EPEL have these scriptlets. > # older, or not up to date, Fedora and plain RHEL don't. > %if 0%{?ldconfig_scriptlets:1} %if %{defined ldconfig_scriptlets} I think this is more readable. > %ldconfig_scriptlets libs > %ldconfig_scriptlets libelf > %else > %post libs -p /sbin/ldconfig > %postun libs -p /sbin/ldconfig > %post libelf -p /sbin/ldconfig > %postun libelf -p /sbin/ldconfig > %endif - -- - -Igor Gnatenko -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEhLFO09aHZVqO+CM6aVcUvRu8X0wFAlqH8PcACgkQaVcUvRu8 X0wOZRAAkH7hAduIn74+3GYRUdbghOpElmACbJmixRSccF2ceRAw5lLSLAyqYhI1 nA/rtGsxt2cfp0Tmd5+AOKh7Yyce9a+uIDQ6TVUyo1kuWLnDV+8rJvEOYypjVkAL 0RYecywukCfO/v4D/cfzeitesL2i9xyThcoJkfuRPULB3aEhiBsGWqaj0pBfrph/ 6pHXwBnQ2/rgzx4GTHScB/3GnagRRTtNeK1IFZwD9qFfbEcb3pI6r+ajeoztG1oU StZwfo4TLyxNnQ34Ko7yp1o8pUZ2q7M2ySuP7E8gDyH6qQo+dv6NWB+z6pGyZcek xS2U2pRNbLMj8/CgKmCR9qPh97Ghs0iln5aFxvlt0zHgTvq6FlUobxwdM8sD+jTu gzzc2FpMAv/fQNsIsMBKGNuJqOhHBiRROuYdJTqrP1DcIVRbRfzwfxtcbcnGJEIQ pIKmri8xx0FxHd76+41nQL21fMaJiXpZb77OrLTs8Kk7IyY3fYVVO0fOPHkPHm3t wT7bNCq288k3Os+2TEyZfWdRSzZLuANvmfhIYr9LF6wqlFeykiGW2x+Ow1ET252C tYE5fU2RVRK5S5uMgP2DJM9A/BgbWL+9WQmw9wf5EjZZMN8KATRACZ+nqCUs7po/ qXPlATdD2E9/7XTSbVBRaT5lgyiv/jTPlpQ6NukOI3dfle7/9b8= =PNVr -----END PGP SIGNATURE----- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx