public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/freeipmi] f44: spec cleanup and modernization
Date: Mon, 14 Sep 2026 11:10:47 GMT [thread overview]
Message-ID: <178938424740.1.947678209549625648.rpms-freeipmi-1a10eb73c686@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/freeipmi
Branch : f44
Commit : 1a10eb73c68619c0db5f82285cff60a492170cff
Author : Filipe Rosset <filiperosset@fedoraproject.org>
Date : 2026-09-14T13:10:17+02:00
Stats : +2/-21 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/freeipmi/c/1a10eb73c68619c0db5f82285cff60a492170cff?branch=f44
Log:
spec cleanup and modernization
Originally from
https://src.fedoraproject.org/rpms/freeipmi/pull-request/4
by Filipe Rosset <filiperosset@fedoraproject.org>,
modified by me (<pcahyna>) to omit the %files part (done differently
in the previous commit) and the %check part (not needed, as make check
does not do anything useful).
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
---
diff --git a/freeipmi.spec b/freeipmi.spec
index 8ad8d3e..893b780 100644
--- a/freeipmi.spec
+++ b/freeipmi.spec
@@ -10,8 +10,7 @@ Source2: ipmidetectd.service
Source3: ipmiseld.service
Source4: freeipmi.tmpfiles.conf
Source5: freeipmi-ipmiseld.tmpfiles.conf
-BuildRequires: libgcrypt-devel texinfo systemd
-%{?systemd_requires}
+BuildRequires: libgcrypt-devel texinfo systemd-rpm-macros
BuildRequires: gcc
BuildRequires: make
BuildRequires: automake
@@ -116,25 +115,7 @@ rm -frv %{buildroot}%{_pkgdocdir}/INSTALL
%postun ipmidetectd
%systemd_postun_with_restart ipmidetectd.service
-%triggerun -- freeipmi-bmc-watchdog < 1.1.1-2
-# Save the current service runlevel info
-# User must manually run systemd-sysv-convert --apply httpd
-# to migrate them to systemd targets
-/usr/bin/systemd-sysv-convert --save bmc-watchdog >/dev/null 2>&1 ||:
-
-# Run these because the SysV package being removed won't do them
-/sbin/chkconfig --del bmc-watchdog >/dev/null 2>&1 || :
-/bin/systemctl try-restart bmc-watchdog.service >/dev/null 2>&1 || :
-
-%triggerun -- freeipmi-ipmidetectd < 1.1.1-2
-# Save the current service runlevel info
-# User must manually run systemd-sysv-convert --apply httpd
-# to migrate them to systemd targets
-/usr/bin/systemd-sysv-convert --save ipmidetectd >/dev/null 2>&1 ||:
-
-# Run these because the SysV package being removed won't do them
-/sbin/chkconfig --del ipmidetectd >/dev/null 2>&1 || :
-/bin/systemctl try-restart ipmidetectd.service >/dev/null 2>&1 || :
+
%files
%dir %{_sysconfdir}/freeipmi/
reply other threads:[~2026-09-14 11:10 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=178938424740.1.947678209549625648.rpms-freeipmi-1a10eb73c686@fedoraproject.org \
--to=filiperosset@fedoraproject.org \
--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