[packages/dico] - run fix-info-dir
qboosh
qboosh at pld-linux.org
Sun Mar 4 12:21:36 CET 2018
commit b3a819c549ec792948f4e9e337253cf163284bb0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Mar 4 12:24:08 2018 +0100
- run fix-info-dir
dico.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/dico.spec b/dico.spec
index a9d1c34..9a124b9 100644
--- a/dico.spec
+++ b/dico.spec
@@ -30,7 +30,6 @@ BuildRequires: python-devel >= 2
BuildRequires: readline-devel
BuildRequires: tar >= 1:1.22
BuildRequires: texinfo
-#BuildRequires: tk
BuildRequires: xz
BuildRequires: zlib-devel
Requires: %{name}-libs = %{version}-%{release}
@@ -125,6 +124,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 -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog* NEWS README THANKS TODO
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dico.git/commitdiff/b3a819c549ec792948f4e9e337253cf163284bb0
More information about the pld-cvs-commit
mailing list