[packages/alive] - update info/dir in post/postun

qboosh qboosh at pld-linux.org
Fri Jan 8 18:44:25 CET 2021


commit 18fcaa728a11ff57750fd979b93e33784a270b4b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Jan 8 18:44:10 2021 +0100

    - update info/dir in post/postun

 alive.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/alive.spec b/alive.spec
index de48d01..3bb3dbe 100644
--- a/alive.spec
+++ b/alive.spec
@@ -12,6 +12,7 @@ URL:		http://www.gnu.org/software/alive/
 BuildRequires:	guile-devel
 BuildRequires:	lzip
 BuildRequires:	tar >= 1:1.22
+BuildRequires:	texinfo
 Requires:	/bin/ping
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -44,6 +45,12 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/alive.git/commitdiff/18fcaa728a11ff57750fd979b93e33784a270b4b



More information about the pld-cvs-commit mailing list