public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/lldpad] rawhide: Use %systemd_requires instead of explicit Requires(post/preun/postun)
@ 2026-10-05 12:23 Michal Schmidt
  0 siblings, 0 replies; only message in thread
From: Michal Schmidt @ 2026-10-05 12:23 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/lldpad
            Branch : rawhide
            Commit : e7a00356076bbfd8002674d51f7095ec57aaf198
            Author : Michal Schmidt <mschmidt@redhat.com>
            Date   : 2026-09-16T19:56:44+02:00
            Stats  : +1/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/lldpad/c/e7a00356076bbfd8002674d51f7095ec57aaf198?branch=rawhide

            Log:
            Use %systemd_requires instead of explicit Requires(post/preun/postun)

Simplifies the scriptlet dependencies to the standard macro provided
by systemd-rpm-macros.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

---
diff --git a/lldpad.spec b/lldpad.spec
index b17142d..0143c91 100644
--- a/lldpad.spec
+++ b/lldpad.spec
@@ -26,9 +26,7 @@ BuildRequires:      make
 # with no version suffix. They are in the -devel package.
 Recommends:         readline-devel
 
-Requires(post):     systemd
-Requires(preun):    systemd
-Requires(postun):   systemd
+%{?systemd_requires}
 
 %description
 This package contains lldpad, a userspace daemon and configuration tool

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-05 12:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-05 12:23 [rpms/lldpad] rawhide: Use %systemd_requires instead of explicit Requires(post/preun/postun) Michal Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox