summaryrefslogtreecommitdiffstats
path: root/php-pecl-sphinx.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-05-06 18:41:53 +0200
committerRemi Collet <fedora@famillecollet.com>2014-05-06 18:41:53 +0200
commit8411ef009a7acbbdcec38709510fe8029b45614f (patch)
treefbbbd7987087b9110c5e16a59e61dab914fd7ef6 /php-pecl-sphinx.spec
parent0ac6e8f3b3cc28ed209c653733182c3b4f122229 (diff)
php-pecl-sphinx: 1.3.2 (stable)
Diffstat (limited to 'php-pecl-sphinx.spec')
-rw-r--r--php-pecl-sphinx.spec18
1 files changed, 5 insertions, 13 deletions
diff --git a/php-pecl-sphinx.spec b/php-pecl-sphinx.spec
index 779d157..c57f175 100644
--- a/php-pecl-sphinx.spec
+++ b/php-pecl-sphinx.spec
@@ -22,7 +22,7 @@
%endif
Name: %{?scl_prefix}php-pecl-sphinx
-Version: 1.3.1
+Version: 1.3.2
Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
Summary: PECL extension for Sphinx SQL full-text search engine
Group: Development/Languages
@@ -30,14 +30,6 @@ License: PHP
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-# http://git.php.net/?p=pecl/search_engine/sphinx.git;a=commitdiff;h=c9df387423cc10e5e2db98ee55d98361ab7e404a
-# http://git.php.net/?p=pecl/search_engine/sphinx.git;a=commitdiff;h=8e491962b19a253d813f8056c07d15b643e668c3
-Patch0: %{pecl_name}-el5.patch
-
-# https://bugs.php.net/65864 ask license file
-# URL from sphinx.c headers
-Source1: http://www.php.net/license/3_01.txt
-
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libsphinxclient-devel
BuildRequires: %{?scl_prefix}php-pear
@@ -86,9 +78,6 @@ client library for Sphinx the SQL full-text search engine.
mv %{pecl_name}-%{version} NTS
cd NTS
-%patch0 -p1
-cp %{SOURCE1} LICENSE
-
# Check reported version (phpinfo), as this is often broken
extver=$(sed -n '/#define PHP_SPHINX_VERSION/{s/.* "//;s/".*$//;p}' php_sphinx.h)
if test "x${extver}" != "x%{version}"; then
@@ -155,7 +144,7 @@ install -Dpm644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}
# Test & Documentation
cd NTS
-for i in LICENSE $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//')
+for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//')
do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
done
@@ -189,6 +178,9 @@ fi
%changelog
+* Tue May 06 2014 Remi Collet <remi@fedoraproject.org> - 1.3.2-1
+- Update to 1.3.2 (stable)
+
* Tue May 06 2014 Remi Collet <remi@fedoraproject.org> - 1.3.1-1
- Update to 1.3.1 (stable)