summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-01-23 10:58:58 +0100
committerRemi Collet <fedora@famillecollet.com>2015-01-23 10:58:58 +0100
commitea873155862bbc1c51cb3997dc7d5c8f703fbb8d (patch)
tree0398e6faaf89ea450c132db37eb0b7b586259142
parentd53ce953d20007cabd6c767768e87388f11670d4 (diff)
php-pecl-solr2: fix %postun scriplet
-rw-r--r--php-pecl-solr2.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/php-pecl-solr2.spec b/php-pecl-solr2.spec
index 05f60a7..7e5b863 100644
--- a/php-pecl-solr2.spec
+++ b/php-pecl-solr2.spec
@@ -27,7 +27,7 @@ Summary: Object oriented API to Apache Solr
Summary(fr): API orientée objet pour Apache Solr
Name: %{?scl_prefix}php-pecl-solr2
Version: 2.1.0
-Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/solr
@@ -190,7 +190,7 @@ fi
%postun
if [ $1 -eq 0 -a -x %{__pecl} ] ; then
- %{pecl_uninstall} %{proj_name} >/dev/null || :
+ %{pecl_uninstall} %{pecl_name} >/dev/null || :
fi
@@ -255,6 +255,9 @@ rm -rf %{buildroot}
%changelog
+* Fri Jan 23 2015 Remi Collet <remi@fedoraproject.org> - 2.1.0-2
+- fix %%postun scriplet
+
* Sun Jan 18 2015 Remi Collet <remi@fedoraproject.org> - 2.1.0-1
- update to 2.1.0
- drop runtime dependency on pear, new scriptlets