|
@@ -1,5 +1,5 @@
|
|
-%bcond_without php5
|
|
|
|
-%bcond_without php72
|
|
|
|
|
|
+%bcond_with php5
|
|
|
|
+%bcond_with php72
|
|
%bcond_without php73
|
|
%bcond_without php73
|
|
|
|
|
|
%define modname clearsilver
|
|
%define modname clearsilver
|
|
@@ -8,7 +8,7 @@ Summary: ClearSilver extension for PHP
|
|
Summary(ja): PHP用ClearSilverモジュール
|
|
Summary(ja): PHP用ClearSilverモジュール
|
|
Name: php-ext-%{modname}
|
|
Name: php-ext-%{modname}
|
|
Version: 0.4
|
|
Version: 0.4
|
|
-Release: 13%{_dist_release}
|
|
|
|
|
|
+Release: 14%{_dist_release}
|
|
URL: http://www.geodata.soton.ac.uk/software/php_clearsilver/
|
|
URL: http://www.geodata.soton.ac.uk/software/php_clearsilver/
|
|
Source: php-%{modname}-%{version}.tar.gz
|
|
Source: php-%{modname}-%{version}.tar.gz
|
|
Patch0: php-clearsilver-0.4-php5.6.0.patch
|
|
Patch0: php-clearsilver-0.4-php5.6.0.patch
|
|
@@ -191,17 +191,23 @@ popd
|
|
|
|
|
|
%check
|
|
%check
|
|
|
|
|
|
|
|
+%if %{with php5}
|
|
pushd php-clearsilver-%{version}-php5
|
|
pushd php-clearsilver-%{version}-php5
|
|
make test NO_INTERACTION=1
|
|
make test NO_INTERACTION=1
|
|
popd
|
|
popd
|
|
|
|
+%endif
|
|
|
|
|
|
|
|
+%if %{with php72}
|
|
pushd php-clearsilver-%{version}-php72
|
|
pushd php-clearsilver-%{version}-php72
|
|
make test TEST_PHPDBG_EXECUTABLE=/usr/bin/phpdbg72 NO_INTERACTION=1
|
|
make test TEST_PHPDBG_EXECUTABLE=/usr/bin/phpdbg72 NO_INTERACTION=1
|
|
popd
|
|
popd
|
|
|
|
+%endif
|
|
|
|
|
|
|
|
+%if %{with php73}
|
|
pushd php-clearsilver-%{version}-php73
|
|
pushd php-clearsilver-%{version}-php73
|
|
make test TEST_PHPDBG_EXECUTABLE=/usr/bin/phpdbg73 NO_INTERACTION=1
|
|
make test TEST_PHPDBG_EXECUTABLE=/usr/bin/phpdbg73 NO_INTERACTION=1
|
|
popd
|
|
popd
|
|
|
|
+%endif
|
|
|
|
|
|
%clean
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
@@ -231,6 +237,9 @@ rm -rf %{buildroot}
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Sep 04 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4-14
|
|
|
|
+- disabled php5/php72 support.
|
|
|
|
+
|
|
* Sat Dec 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4-13
|
|
* Sat Dec 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4-13
|
|
- added php73 support.
|
|
- added php73 support.
|
|
|
|
|