summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-05-07 07:34:17 +0200
committerRemi Collet <fedora@famillecollet.com>2013-05-07 07:34:17 +0200
commitb5fa62f637f68a78378de615e79cacce8f2bbafb (patch)
treed6a92b83d267afcc68fbda37bb9ac22ec114fb5e
parent031aab86e6349d1a7c221bb68e99cf52d6e798aa (diff)
php-horde-Horde-Date: 2.0.5
-rw-r--r--php-horde-Horde-Date.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/php-horde-Horde-Date.spec b/php-horde-Horde-Date.spec
index ac647ee..d7926de 100644
--- a/php-horde-Horde-Date.spec
+++ b/php-horde-Horde-Date.spec
@@ -6,7 +6,7 @@
%global with_tests %{?_with_tests:1}%{!?_with_tests:0}
Name: php-horde-Horde-Date
-Version: 2.0.4
+Version: 2.0.5
Release: 1%{?dist}
Summary: Horde Date package
@@ -57,10 +57,15 @@ Package for creating and manipulating dates.
cd %{pear_name}-%{version}
+# Silent warning for preg_replace(): The /e modifier is deprecated
+sed -e 's/preg_replace/@preg_replace/' \
+ -i lib/Horde/Date.php
+
# Don't install .po and .pot files
# Remove checksum for .mo, as we regenerate them
sed -e '/%{pear_name}.po/d' \
-e '/%{pear_name}.mo/s/md5sum=.*name=/name=/' \
+ -e '/Date.php/s/md5sum=.*name=/name=/' \
../package.xml >%{name}.xml
@@ -129,6 +134,9 @@ fi
%changelog
+* Tue May 07 2013 Remi Collet <remi@fedoraproject.org> - 2.0.5-1
+- Update to 2.0.5
+
* Wed Mar 06 2013 Remi Collet <remi@fedoraproject.org> - 2.0.4-1
- Update to 2.0.4
- fix License