summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pear.spec11
1 files changed, 10 insertions, 1 deletions
diff --git a/php-pear.spec b/php-pear.spec
index f2cb060..d0327b8 100644
--- a/php-pear.spec
+++ b/php-pear.spec
@@ -23,7 +23,7 @@
Summary: PHP Extension and Application Repository framework
Name: %{?scl_prefix}php-pear
Version: 1.9.5
-Release: 4%{?dist}
+Release: 4%{?dist}.1
Epoch: 1
# PEAR, Archive_Tar, XML_Util are BSD
# Console_Getopt is PHP
@@ -319,6 +319,11 @@ if [ "$current" != "%{_datadir}/tests/pecl" ]; then
system >/dev/null || :
fi
+%postun
+if [ $1 -eq 0 -a -d %{metadir}/.registry ] ; then
+ rm -rf %{metadir}/.registry
+fi
+
%files
%defattr(-,root,root,-)
@@ -360,6 +365,10 @@ fi
%changelog
+* Wed Dec 24 2014 Remi Collet <remi@fedoraproject.org> 1:1.9.5-4.1
+- Fedora 21 SCL mass rebuild
+- cleanup registry after removal
+
* Mon Sep 8 2014 Remi Collet <remi@fedoraproject.org> 1:1.9.5-4
- rebuild for SCL