Enable php bindings
This commit is contained in:
parent
522143e075
commit
17b4559676
11
lasso.spec
11
lasso.spec
@ -1,5 +1,5 @@
|
||||
%global with_java 0
|
||||
%global with_php 0
|
||||
%global with_php 1
|
||||
%global with_perl 1
|
||||
# The Lasso build system requires python, especially the binding generators
|
||||
%global with_python 1
|
||||
@ -42,9 +42,13 @@
|
||||
%endif
|
||||
|
||||
%if %{with_php}
|
||||
%global configure_args %{configure_args} --enable-php5=yes --with-php5-config-dir=%{php_inidir}
|
||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||
%global configure_args %{configure_args} --enable-php5=no --enable-php7=yes --with-php7-config-dir=%{php_inidir}
|
||||
%else
|
||||
%global configure_args %{configure_args} --enable-php5=yes --with-php5-config-dir=%{php_inidir} --enable-php7=no
|
||||
%endif
|
||||
%else
|
||||
%global configure_args %{configure_args} --enable-php5=no
|
||||
%global configure_args %{configure_args} --enable-php5=no --enable-php7=no
|
||||
%endif
|
||||
|
||||
%if %{with_wsf}
|
||||
@ -314,6 +318,7 @@ rm -fr %{buildroot}%{_defaultdocdir}/%{name}
|
||||
%changelog
|
||||
* Thu Mar 09 2023 Xavier Bachelot <xavier@bachelot.org> - 2.8.1-1
|
||||
- Update to 2.8.1 (fixes RHBZ#2142849)
|
||||
- Enable php bindings
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
Loading…
Reference in New Issue
Block a user