[packages/opensips] - really cleanup doc install - rel 5
baggins
baggins at pld-linux.org
Tue Feb 5 11:56:09 CET 2013
commit e257f07a6e9ca798713af445c585b0ac2d977ed8
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Feb 5 11:55:54 2013 +0100
- really cleanup doc install
- rel 5
opensips.spec | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/opensips.spec b/opensips.spec
index fb044e8..996a22b 100644
--- a/opensips.spec
+++ b/opensips.spec
@@ -17,7 +17,7 @@ Summary: SIP proxy, redirect and registrar server
Summary(pl.UTF-8): Serwer SIP rejestrujący, przekierowujący i robiący proxy
Name: opensips
Version: 1.8.1
-Release: 4
+Release: 5
License: GPL v2
Group: Networking/Daemons
Source0: http://opensips.org/pub/opensips/%{version}/src/%{name}-%{version}_src.tar.gz
@@ -342,9 +342,7 @@ for i in modules/*; do \
[ -f modules/$i/README ] && cp -f modules/$i/README README.$i; \
done
-%{__rm} -rf _docdir
-install -d _docdir
-install $RPM_BUILD_ROOT%{_docdir}/%{name}/* _docdir/
+# contains the same files we install in %doc
%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
#cd doc/serdev
@@ -373,7 +371,7 @@ fi
%files
%defattr(644,root,root,755)
-%doc README* AUTHORS CREDITS ChangeLog INSTALL NEWS scripts examples _docdir/*
+%doc README* AUTHORS CREDITS ChangeLog INSTALL NEWS scripts examples
%attr(755,root,root) %{_sbindir}/*
%dir %{_sysconfdir}/opensips
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/opensips.cfg
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/opensips.git/commitdiff/e257f07a6e9ca798713af445c585b0ac2d977ed8
More information about the pld-cvs-commit
mailing list