Переглянути джерело

php-ext-clearsilver-0.4-14

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12180 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 5 роки тому
батько
коміт
c95b1d0955
1 змінених файлів з 12 додано та 3 видалено
  1. 12 3
      p/php-ext-clearsilver/php-ext-clearsilver-vl.spec

+ 12 - 3
p/php-ext-clearsilver/php-ext-clearsilver-vl.spec

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