diff options
author | Remi Collet <remi@remirepo.net> | 2020-09-09 17:21:11 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-09-09 17:21:11 +0200 |
commit | 46a0f949752b5a9172e47c27efff627a86e675b0 (patch) | |
tree | e3ab64f1c9c4b77af2b88fbb302d7b15daa34629 /php-pecl-solr2.spec | |
parent | f738e64f2ae1b3f93d847c098099ed72674d29b4 (diff) |
update to 2.5.1
Diffstat (limited to 'php-pecl-solr2.spec')
-rw-r--r-- | php-pecl-solr2.spec | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/php-pecl-solr2.spec b/php-pecl-solr2.spec index e068a3f..dbd1523 100644 --- a/php-pecl-solr2.spec +++ b/php-pecl-solr2.spec @@ -30,7 +30,7 @@ Summary: Object oriented API to Apache Solr Summary(fr): API orientée objet pour Apache Solr Name: %{?sub_prefix}php-pecl-solr2 Version: 2.5.1 -Release: 0%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP Group: Development/Languages URL: https://pecl.php.net/package/solr @@ -117,13 +117,9 @@ sed -e 's/role="test"/role="src"/' \ mv %{pecl_name}-%{version}%{?prever} NTS cd NTS -# Check version -if [ $(%{__php} -r 'echo PHP_MAJOR_VERSION;') < 7 ]; then - DIR=src/php5 -else - DIR=src/php7 -fi +: Check version +DIR=src/php7 extver=$(sed -n '/#define PHP_SOLR_VERSION /{s/.* "//;s/".*$//;p}' $DIR/php_solr_version.h) if test "x${extver}" != "x%{version}%{?prever}"; then : Error: Upstream version is ${extver}, expecting %{version}%{?prever}. @@ -260,6 +256,9 @@ TEST_PHP_EXECUTABLE=%{__ztsphp} \ %changelog +* Wed Sep 9 2020 Remi Collet <remi@remirepo.net> - 2.5.1-1 +- update to 2.5.1 + * Wed Sep 9 2020 Remi Collet <remi@remirepo.net> - 2.5.1-0 - test build for upcoming 2.5.1 |