public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/freeipmi] rawhide: spec cleanup and modernization
@ 2026-09-14 10:41 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-09-14 10:41 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/freeipmi
            Branch : rawhide
            Commit : 4ad7d04c1d64a4932d4e2993b615cf37dade07ce
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-09-14T12:13:21+02:00
            Stats  : +2/-21 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/freeipmi/c/4ad7d04c1d64a4932d4e2993b615cf37dade07ce?branch=rawhide

            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/

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

only message in thread, other threads:[~2026-09-14 10:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-14 10:41 [rpms/freeipmi] rawhide: spec cleanup and modernization Filipe Rosset

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