]> git.pld-linux.org Git - packages/php-pecl-sphinx.git/blobdiff - php-pecl-sphinx.spec
- obsolete old php name
[packages/php-pecl-sphinx.git] / php-pecl-sphinx.spec
index 5d89af07d0604e69fa75b4bdb3ec887efc9ab835..4693c174b1e218396a7f21fe426fe22db9e514e4 100644 (file)
@@ -1,22 +1,20 @@
-#
-# Conditional build:
-%bcond_without tests           # build without tests
-
-%define                modname sphinx
+%define                php_name        php%{?php_suffix}
+%define                modname         sphinx
 Summary:       %{modname} - client for sphinx SQL full-text search engine
-Name:          php-pecl-%{modname}
-Version:       1.1.0
-Release:       1
+Name:          %{php_name}-pecl-%{modname}
+Version:       1.3.2
+Release:       2
 License:       PHP 3.01
 Group:         Development/Languages/PHP
 Source0:       http://pecl.php.net/get/%{modname}-%{version}.tgz
-# Source0-md5: 8997229134fabb77b224ec7507965347
+# Source0-md5: da44407c2ca6584fa5fa673bd0ac9708
 URL:           http://pecl.php.net/package/sphinx/
+BuildRequires: %{php_name}-devel >= 4:5.0.4
 BuildRequires: libsphinxclient-devel
-BuildRequires: php-devel >= 4:5.0.4
-BuildRequires: rpmbuild(macros) >= 1.519
+BuildRequires: rpmbuild(macros) >= 1.650
 %{?requires_php_extension}
 Provides:      php(sphinx)
+Obsoletes:     php-pecl-sphinx < 1.3.2-1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -38,6 +36,7 @@ install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d
 %{__make} install \
        INSTALL_ROOT=$RPM_BUILD_ROOT \
        EXTENSION_DIR=%{php_extensiondir}
+
 cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
 ; Enable %{modname} extension module
 extension=%{modname}.so
This page took 0.632014 seconds and 4 git commands to generate.