public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <mschmidt@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/lldpad] rawhide: Use %systemd_requires instead of explicit Requires(post/preun/postun)
Date: Mon, 05 Oct 2026 12:23:34 GMT	[thread overview]
Message-ID: <179120301465.1.7863499081005160257.rpms-lldpad-e7a00356076b@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-10-05 12:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179120301465.1.7863499081005160257.rpms-lldpad-e7a00356076b@fedoraproject.org \
    --to=mschmidt@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox