]> git.pld-linux.org Git - packages/swig.git/commitdiff
- tsrm.patch that fix building php subpackage
authorMarcin Krzyżanowski <marcin.krzyzanowski@hakore.com>
Sat, 13 Sep 2003 20:01:49 +0000 (20:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- remove %%bcond_with php
- rel 3

Changed files:
    swig.spec -> 1.47

swig.spec

index 059f23c2026edbf33aad93a9b80477fa800fd942..84fccef5dd5c28b1edb4e1b149d25b74c1502c2b 100644 (file)
--- a/swig.spec
+++ b/swig.spec
@@ -1,18 +1,17 @@
 
-%bcond_with php
-
 Summary:       Interface generator for Perl, Tcl, Guile and Python
 Summary(pl):   Generator interfejsów do Perla, Tcl-a, Guile'a i Pythona
 Summary(pt_BR):        Gerador de Interfaces e "Wrappers" Simplificado (SWIG)
 Name:          swig
 Version:       1.3.19
-Release:       3
+Release:       4
 License:       distributable
 Group:         Development/Languages
 Source0:       http://dl.sourceforge.net/swig/%{name}-%{version}.tar.gz
 # Source0-md5: a733455544426b31868dd87fc162e750
 Patch0:                %{name}-format.patch
 Patch1:                %{name}-php.patch
+Patch2:                %{name}-php-tsrm.patch
 URL:           http://www.swig.org/
 Icon:          swig.gif
 BuildRequires: autoconf
@@ -21,10 +20,8 @@ BuildRequires:       guile-devel
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
 BuildRequires: perl-devel >= 5.6.1
-%if %{with php}
 BuildRequires: php-devel >= 4.1.0
 BuildRequires: php-cgi
-%endif
 BuildRequires: python >= 2.2
 BuildRequires: ruby >= 1.6.3
 BuildRequires: tcl-devel >= 8.3.3
@@ -89,7 +86,6 @@ SWIG library: perl.
 %description perl -l pl
 Biblioteka SWIG: perl.
 
-%if %{with php}
 %package php
 Summary:       SWIG library: php
 Summary(pl):   Biblioteka SWIG: php
@@ -100,7 +96,6 @@ SWIG library: php.
 
 %description php -l pl
 Biblioteka SWIG: php.
-%endif
 
 %package python
 Summary:       SWIG library: python
@@ -150,6 +145,7 @@ Biblioteka SWIG: ocaml.
 %setup -q -n SWIG-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 oldpwd=$PWD
@@ -196,12 +192,10 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/lib*pl.so
 %{_libdir}/lib*pl.la
 
-%if %{with php}
 %files php
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*php4.so
 %{_libdir}/lib*php4.la
-%endif
 
 %files python
 %defattr(644,root,root,755)
This page took 0.030338 seconds and 4 git commands to generate.