[packages/netperf] missing fix-info-dir
glen
glen at pld-linux.org
Sun Mar 22 13:54:39 CET 2015
commit 3f3572120a759c0246c1d10ab6fa885100561d58
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Mar 22 14:54:27 2015 +0200
missing fix-info-dir
netperf.spec | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/netperf.spec b/netperf.spec
index dad886f..1ebcde6 100644
--- a/netperf.spec
+++ b/netperf.spec
@@ -6,7 +6,7 @@ Summary(pl.UTF-8): Narzędzie do testowania wydajności dla TCP/UDP
Summary(pt_BR.UTF-8): Ferramenta para testes de performance de rede TCP/UDP
Name: netperf
Version: 2.6.0
-Release: 1
+Release: 2
License: distributable
Group: Networking
Source0: ftp://ftp.netperf.org/netperf/%{name}-%{version}.tar.bz2
@@ -65,6 +65,12 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
%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 COPYING README Release_Notes
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/netperf.git/commitdiff/3f3572120a759c0246c1d10ab6fa885100561d58
More information about the pld-cvs-commit
mailing list