summaryrefslogtreecommitdiffstats
path: root/php-theseer-autoload.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-07-14 15:53:49 +0200
committerRemi Collet <fedora@famillecollet.com>2015-07-14 15:53:49 +0200
commit52b7ffee24c4ede1bac8d3c121c4dece4ca791aa (patch)
tree387274e1eda486759b859bd32a65a0d1ac91ac24 /php-theseer-autoload.spec
parent8d10cf607b7113f1a77a97fe8b8d7c9e24a88b05 (diff)
php-theseer-autoload: 1.19.2
Diffstat (limited to 'php-theseer-autoload.spec')
-rw-r--r--php-theseer-autoload.spec13
1 files changed, 8 insertions, 5 deletions
diff --git a/php-theseer-autoload.spec b/php-theseer-autoload.spec
index 37a5b94..4bb37e6 100644
--- a/php-theseer-autoload.spec
+++ b/php-theseer-autoload.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 9b7c199393155fdfbb0ed2a759b973d1bf635847
+%global gh_commit e6191f0ddc7a7a291e58837861d3074014fcdd7d
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner theseer
%global gh_project Autoload
@@ -15,7 +15,7 @@
%global pear_channel pear.netpirates.net
Name: php-theseer-autoload
-Version: 1.19.1
+Version: 1.19.2
Release: 1%{?dist}
Summary: A tool and library to generate autoload code
@@ -44,7 +44,7 @@ Requires: php-composer(theseer/directoryscanner) >= 1.3
Requires: php-composer(theseer/directoryscanner) < 2
Requires: php-composer(zetacomponents/console-tools) >= 1.7
Requires: php-composer(zetacomponents/console-tools) < 2
-# From phpcompatinfo report for version 1.16.1
+# From phpcompatinfo report for version 1.19.2
Requires: php-cli
Requires: php-date
Requires: php-json
@@ -77,7 +77,7 @@ cat <<EOF | tee -a src/autoload.php
// Dependencies
require '/usr/share/php/TheSeer/DirectoryScanner/autoload.php';
require '/usr/share/php/ezc/Base/base.php';
-spl_autoload_register(array('\ezcBase','autoload'));
+spl_autoload_register(array('\\ezcBase','autoload'));
EOF
# set version
@@ -109,7 +109,7 @@ phpunit --verbose
rm -rf %{buildroot}
-%post
+%pre
if [ -x %{_bindir}/pear ]; then
%{_bindir}/pear uninstall --nodeps --ignore-errors --register-only \
%{pear_channel}/%{pear_name} >/dev/null || :
@@ -126,6 +126,9 @@ fi
%changelog
+* Tue Jul 14 2015 Remi Collet <remi@fedoraproject.org> - 1.19.2-1
+- update to 1.19.2
+
* Mon Jul 13 2015 Remi Collet <remi@fedoraproject.org> - 1.19.1-1
- update to 1.19.1