]> git.pld-linux.org Git - packages/swig.git/commitdiff
fix php deps swig-2 auto/th/swig-2.0.12-3
authorElan Ruusamäe <glen@delfi.ee>
Sun, 20 Jul 2014 18:57:38 +0000 (21:57 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 20 Jul 2014 18:57:38 +0000 (21:57 +0300)
swig.spec

index 1cada5b7dd924b59ca2c0754ec86267f83f3d8c6..317b7829eac04fcee7e2897acb4b4742697aa79c 100644 (file)
--- a/swig.spec
+++ b/swig.spec
@@ -8,12 +8,16 @@
 %bcond_without ruby    # disable ruby support
 %bcond_without tcl     # disable tcl support
 #
+%if "%{?php_suffix}" == ""
+%define                php_suffix      55
+%endif
+%define                php_name        php%{?php_suffix}
 Summary:       Interface generator for Perl, Tcl, Guile and Python
 Summary(pl.UTF-8):     Generator interfejsów do Perla, Tcl-a, Guile'a i Pythona
 Summary(pt_BR.UTF-8):  Gerador de Interfaces e "Wrappers" Simplificado (SWIG)
 Name:          swig
 Version:       2.0.12
-Release:       2
+Release:       3
 License:       GPL v3+ (utility), free (library)
 Group:         Development/Languages
 Source0:       http://downloads.sourceforge.net/swig/%{name}-%{version}.tar.gz
@@ -28,8 +32,8 @@ BuildRequires:        libstdc++-devel
 %{?with_octave:BuildRequires:  octave-devel}
 BuildRequires: pcre-devel
 %{?with_perl:BuildRequires:    perl-devel >= 1:5.6.1}
-%{?with_php:BuildRequires:     php-cli}
-%{?with_php:BuildRequires:     php-devel >= 4.1.0}
+%{?with_php:BuildRequires:     %{php_name}-cli}
+%{?with_php:BuildRequires:     %{php_name}-devel >= 4.1.0}
 BuildRequires: python-devel >= 1:2.3.2
 BuildRequires: python-modules
 BuildRequires: python3-devel
This page took 0.328758 seconds and 4 git commands to generate.