[packages/php/PHP_5_6] version phpdbg binary/man to allow parallel install

glen glen at pld-linux.org
Mon Jul 4 19:13:41 CEST 2016


commit d770f494bcd62b4df2d4dfb1f02eb705e9ba19a3
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Jul 4 20:13:32 2016 +0300

    version phpdbg binary/man to allow parallel install

 php.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/php.spec b/php.spec
index e5f7ff8..b776de0 100644
--- a/php.spec
+++ b/php.spec
@@ -2646,6 +2646,10 @@ libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/
 %{__make} -f Makefile.phpdbg install-phpdbg \
 	INSTALL="libtool --mode=install install -p" \
 	INSTALL_ROOT=$RPM_BUILD_ROOT
+
+# version the .phar files
+mv $RPM_BUILD_ROOT%{_bindir}/phpdbg{,%{ver_suffix}}
+mv $RPM_BUILD_ROOT%{_mandir}/man1/phpdbg{,%{ver_suffix}}.1
 %endif
 
 %if %{with milter}
@@ -3044,8 +3048,8 @@ fi
 %if %{with phpdbg}
 %files phpdbg
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/phpdbg
-%{_mandir}/man1/phpdbg.1*
+%attr(755,root,root) %{_bindir}/phpdbg%{ver_suffix}
+%{_mandir}/man1/phpdbg%{ver_suffix}.1*
 %endif
 
 %if %{with milter}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/d770f494bcd62b4df2d4dfb1f02eb705e9ba19a3



More information about the pld-cvs-commit mailing list