summaryrefslogtreecommitdiffstats
path: root/php/php.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-08-28 17:55:10 +0200
committerRemi Collet <fedora@famillecollet.com>2014-08-28 17:55:10 +0200
commit7cd3822569d9963efa2e0090bb07906f29a90480 (patch)
treeba1368cb77910fe21cda13fbeec55808009ccd93 /php/php.spec
parent9202b8f32a352cbb3b42450fb0a47987964fbb06 (diff)
php56-php: add php56dbg in base system
Diffstat (limited to 'php/php.spec')
-rw-r--r--php/php.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/php/php.spec b/php/php.spec
index cbb1380..df7aec5 100644
--- a/php/php.spec
+++ b/php/php.spec
@@ -1374,6 +1374,7 @@ install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/php-fpm
install -m 755 -d $RPM_BUILD_ROOT%{_root_bindir}
ln -s %{_bindir}/php $RPM_BUILD_ROOT%{_root_bindir}/%{scl}
ln -s %{_bindir}/phar.phar $RPM_BUILD_ROOT%{_root_bindir}/%{scl_prefix}phar
+ln -s %{_bindir}/phpdbg $RPM_BUILD_ROOT%{_root_bindir}/%{scl}dbg
%if %{with_lsws}
ln -s %{_bindir}/lsphp $RPM_BUILD_ROOT%{_root_bindir}/ls%{scl}
%endif
@@ -1640,6 +1641,9 @@ fi
%{_bindir}/phpdbg
%{_mandir}/man1/phpdbg.1*
%doc sapi/phpdbg/{README.md,CREDITS}
+%if 0%{?scl:1}
+%{_bindir}/%{scl}dbg
+%endif
%files fpm
%defattr(-,root,root)