[opensuse-buildservice] ldconfig macro
Hello, Shouldn't the ldconfig macros for post and postun be uneeded on Tumbleweed? I thought that the ldconfig is handled by rpm file triggers, yet for tumbleweed build I still get a warning in rpmlint report. Br, D -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Sun, Apr 12, 2020 at 2:40 AM Damian Ivanov <damianatorrpm@gmail.com> wrote:
Hello,
Shouldn't the ldconfig macros for post and postun be uneeded on Tumbleweed? I thought that the ldconfig is handled by rpm file triggers, yet for tumbleweed build I still get a warning in rpmlint report.
SUSE distributions cannot use transaction file triggers, so you need to have scriptlets for ldconfig. You can choose to use %ldconfig_scriptlets macro or just specify scriptlets manually for ldconfig. -- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hello Neal,
SUSE distributions cannot use transaction file triggers, so you need to have scriptlets for ldconfig.
That is strange https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25desktop... quote: These macros are relevant for openSUSE Leap 42.3 and older. These macros are not necessary for newer releases, including Tumbleweed, as they use RPM's file triggers to handle such updates. On Sun, Apr 12, 2020 at 3:20 PM Neal Gompa <ngompa13@gmail.com> wrote:
On Sun, Apr 12, 2020 at 2:40 AM Damian Ivanov <damianatorrpm@gmail.com> wrote:
Hello,
Shouldn't the ldconfig macros for post and postun be uneeded on Tumbleweed? I thought that the ldconfig is handled by rpm file triggers, yet for tumbleweed build I still get a warning in rpmlint report.
SUSE distributions cannot use transaction file triggers, so you need to have scriptlets for ldconfig.
You can choose to use %ldconfig_scriptlets macro or just specify scriptlets manually for ldconfig.
-- 真実はいつも一つ!/ Always, there's only one truth!
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Sun, Apr 12, 2020 at 8:48 AM Damian Ivanov <damianatorrpm@gmail.com> wrote:
Hello Neal,
SUSE distributions cannot use transaction file triggers, so you need to have scriptlets for ldconfig.
That is strange https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25desktop...
quote: These macros are relevant for openSUSE Leap 42.3 and older. These macros are not necessary for newer releases, including Tumbleweed, as they use RPM's file triggers to handle such updates.
None of the triggers in openSUSE are transaction file triggers, only per-package file triggers (that is, they fire on every package, rather than on a package transaction). Zypper does not support transaction file triggers, so anything that would require implementing that way cannot be done in SUSE distributions at this time. -- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Ok, thanks for the clarification. On Mon, Apr 13, 2020 at 5:06 AM Neal Gompa <ngompa13@gmail.com> wrote:
On Sun, Apr 12, 2020 at 8:48 AM Damian Ivanov <damianatorrpm@gmail.com> wrote:
Hello Neal,
SUSE distributions cannot use transaction file triggers, so you need to have scriptlets for ldconfig.
That is strange https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25desktop...
quote: These macros are relevant for openSUSE Leap 42.3 and older. These macros are not necessary for newer releases, including Tumbleweed, as they use RPM's file triggers to handle such updates.
None of the triggers in openSUSE are transaction file triggers, only per-package file triggers (that is, they fire on every package, rather than on a package transaction). Zypper does not support transaction file triggers, so anything that would require implementing that way cannot be done in SUSE distributions at this time.
-- 真実はいつも一つ!/ Always, there's only one truth!
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Damian Ivanov
-
Neal Gompa