public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/wol] epel10: Remove obsolete scriptlets
@ 2026-10-01 18:03 Igor Gnatenko
  0 siblings, 0 replies; only message in thread
From: Igor Gnatenko @ 2026-10-01 18:03 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/wol
            Branch : epel10
            Commit : 740fadc86b115072956bfea3178abb370e9b25d1
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2019-01-27T19:40:36+01:00
            Stats  : +0/-11 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/wol/c/740fadc86b115072956bfea3178abb370e9b25d1?branch=epel10

            Log:
            Remove obsolete scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>

---
diff --git a/wol.spec b/wol.spec
index d06e76f..a0b3163 100644
--- a/wol.spec
+++ b/wol.spec
@@ -13,9 +13,6 @@ BuildRequires:  gcc
 BuildRequires:  gettext
 BuildRequires:  perl-podlators
 
-Requires(post):  /sbin/install-info
-Requires(preun): /sbin/install-info
-
 %description
 wol implements Wake On LAN functionality in a small program. It wakes up
 hardware that is Magic Packet compliant. SecureON is supported by wol too.
@@ -36,14 +33,6 @@ make install DESTDIR=%{buildroot} INSTALL="install -p"
 rm -f %{buildroot}%{_infodir}/dir
 %find_lang %{name}
 
-%post
-/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
-
-%preun
-if [ "$1" = 0 ]; then
-  /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
-fi
-
 %files -f %{name}.lang
 %doc AUTHORS ChangeLog COPYING NEWS README TODO
 %{_infodir}/%{name}.info.gz

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

only message in thread, other threads:[~2026-10-01 18:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-01 18:03 [rpms/wol] epel10: Remove obsolete scriptlets Igor Gnatenko

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