[php-pecl-solr] update to 1.1.0

Remi Collet remi at fedoraproject.org
Fri Jun 20 14:19:47 UTC 2014


commit d03ce7cd2d5d939d1a6d675209a8437ba222dca7
Author: Remi Collet <remi at fedoraproject.org>
Date:   Fri Jun 20 16:19:40 2014 +0200

    update to 1.1.0

 .gitignore         |    1 +
 php-pecl-solr.spec |   25 ++++++++-----------------
 sources            |    2 +-
 3 files changed, 10 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d1b48c1..4dced16 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 clog
 /solr-1.0.1.tgz
 /solr-1.0.2.tgz
+/solr-1.1.1.tgz
diff --git a/php-pecl-solr.spec b/php-pecl-solr.spec
index 762839b..f015906 100644
--- a/php-pecl-solr.spec
+++ b/php-pecl-solr.spec
@@ -24,8 +24,8 @@
 Summary:        Object oriented API to Apache Solr
 Summary(fr):    API orientée objet pour Apache Solr
 Name:           php-pecl-solr
-Version:        1.0.2
-Release:        10%{?dist}
+Version:        1.1.1
+Release:        1%{?dist}
 License:        PHP
 Group:          Development/Languages
 URL:            http://pecl.php.net/package/solr
@@ -118,24 +118,12 @@ Attention: PECL Solr 1 n'est pas compatible avec un serveur Solr >= 4.0.
 mv %{pecl_name}-%{version}%{?prever} NTS
 cd NTS
 
-# Fix version
-sed -i -e '/PHP_SOLR_DOTTED_VERSION/s/1.0.1/1.0.2/' php_solr_version.h
-
 # Check version
-extver=$(sed -n '/#define PHP_SOLR_DOTTED_VERSION/{s/.* "//;s/".*$//;p}' php_solr_version.h)
+extver=$(sed -n '/#define PHP_SOLR_VERSION /{s/.* "//;s/".*$//;p}' php_solr_version.h)
 if test "x${extver}" != "x%{version}"; then
    : Error: Upstream version is ${extver}, expecting %{version}.
    exit 1
 fi
-
-# Fix rights
-chmod -x README.* \
-         CREDITS \
-         LICENSE \
-         TODO \
-         docs/documentation.php \
-         *.c \
-         *.h
 cd ..
 
 # Create configuration file
@@ -209,7 +197,7 @@ TEST_PHP_ARGS="-n $DEP -d extension=$PWD/modules/%{pecl_name}.so" \
    REPORT_EXIT_STATUS=1 \
    NO_INTERACTION=1 \
    TEST_PHP_EXECUTABLE=%{__php} \
-   %{__php} \
+   %{__php} -n \
    run-tests.php
 
 %if %{with_zts}
@@ -224,7 +212,7 @@ TEST_PHP_ARGS="-n $DEP -d extension=$PWD/modules/%{pecl_name}.so" \
    REPORT_EXIT_STATUS=1 \
    NO_INTERACTION=1 \
    TEST_PHP_EXECUTABLE=%{__ztsphp} \
-   %{__ztsphp} \
+   %{__ztsphp} -n \
    run-tests.php
 %endif
 
@@ -244,6 +232,9 @@ TEST_PHP_ARGS="-n $DEP -d extension=$PWD/modules/%{pecl_name}.so" \
 
 
 %changelog
+* Fri Jun 20 2014 Remi Collet <remi at fedoraproject.org> - 1.1.1-1
+- Update to 1.1.1 (stable)
+
 * Thu Jun 19 2014 Remi Collet <rcollet at redhat.com> - 1.0.2-10
 - rebuild for https://fedoraproject.org/wiki/Changes/Php56
 
diff --git a/sources b/sources
index 77ccc64..87098b9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1632144b462ab22b91d03e4d59704fab  solr-1.0.2.tgz
+6d0a5d03783201a34e18962424417d3c  solr-1.1.1.tgz


More information about the scm-commits mailing list