Conditionalized php support

This commit is contained in:
Jaroslav Škarvada 2018-07-18 15:09:16 +02:00
parent 0e3c8ca2d0
commit d90b6cee1f
1 changed files with 10 additions and 1 deletions

View File

@ -1,7 +1,9 @@
%if 0%{?rhel} == 8 %if 0%{?rhel} == 8
%bcond_with python2 %bcond_with python2
%bcond_with php
%else %else
%bcond_without python2 %bcond_without python2
%bcond_without php
%endif %endif
# Necessary conditionals # Necessary conditionals
@ -34,7 +36,11 @@
%global LASI 0 %global LASI 0
%endif %endif
%if %{with php}
%global PHP 1 %global PHP 1
%else
%global PHP 0
%endif
# Plugins version # Plugins version
%global pluginsver 6 %global pluginsver 6
@ -55,7 +61,7 @@
Name: graphviz Name: graphviz
Summary: Graph Visualization Tools Summary: Graph Visualization Tools
Version: 2.40.1 Version: 2.40.1
Release: 34%{?dist} Release: 35%{?dist}
License: EPL License: EPL
URL: http://www.graphviz.org/ URL: http://www.graphviz.org/
# A bit hacking needed due to: https://gitlab.com/graphviz/graphviz/issues/1371 # A bit hacking needed due to: https://gitlab.com/graphviz/graphviz/issues/1371
@ -598,6 +604,9 @@ php --no-php-ini \
%{_mandir}/man3/*.3tcl* %{_mandir}/man3/*.3tcl*
%changelog %changelog
* Wed Jul 18 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.40.1-35
- Conditionalized php support
* Tue Jul 17 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.40.1-34 * Tue Jul 17 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.40.1-34
- Fixed menu in dotty - Fixed menu in dotty
Resolves: rhbz#1505230 Resolves: rhbz#1505230