]> git.pld-linux.org Git - packages/php.git/commitdiff
version phpdbg binary/man to allow parallel install
authorElan Ruusamäe <glen@delfi.ee>
Mon, 4 Jul 2016 17:13:32 +0000 (20:13 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 4 Jul 2016 17:13:53 +0000 (20:13 +0300)
cherry-picked d770f49

php.spec

index 75369643db37f59ec8caadf41395fa19584f978a..b7e62dbee4a4646a99cde273f5875d8779535e35 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -2558,6 +2558,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}
@@ -2917,8 +2921,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}
This page took 0.573565 seconds and 4 git commands to generate.