summaryrefslogtreecommitdiffstats
path: root/php-getid3.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-getid3.spec')
-rw-r--r--php-getid3.spec16
1 files changed, 11 insertions, 5 deletions
diff --git a/php-getid3.spec b/php-getid3.spec
index 1b3947d..fc9d50e 100644
--- a/php-getid3.spec
+++ b/php-getid3.spec
@@ -7,7 +7,7 @@
#
# Please preserve changelog entries
#
-%global gh_commit b9a8564e56bdcc294dc7ade32a7f67885bed3778
+%global gh_commit 30bd11473b0eef6f1b47866ef7ab0a557917fc21
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner JamesHeinrich
%global gh_project getID3
@@ -15,7 +15,7 @@
%global pk_project getid3
Name: php-%{pk_project}
-Version: 1.9.13
+Version: 1.9.14
Release: 1%{?dist}
Epoch: 1
License: LGPLv3+
@@ -64,8 +64,8 @@ Autoloader: %{_datadir}/php/getid3/autoload.php
%build
# From composer.json, "autoload": {
-# "classmap": ["getid3/getid3.php"]
-%{_bindir}/phpab --template fedora --output getid3/autoload.php getid3/getid3.php
+# "classmap": ["getid3/"]
+%{_bindir}/phpab --template fedora --output getid3/autoload.php getid3
%install
@@ -79,7 +79,9 @@ cp -a getid3 %{buildroot}%{_datadir}/php/
php -r '
require "%{buildroot}%{_datadir}/php/getid3/autoload.php";
$ok = class_exists("getID3");
-echo "Autoload " . ($ok ? "Ok\n" : "fails\n");
+echo "Autoload: " . ($ok ? "Ok\n" : "fails\n");
+echo "Version: " . getID3::VERSION . "\n";
+$ok = ($ok && strpos(getID3::VERSION, "%{version}") !== false);
exit ($ok ? 0 : 1);
'
@@ -98,6 +100,10 @@ rm -rf %{buildroot}
%changelog
+* Tue Mar 28 2017 Remi Collet <remi@remirepo.net> - 1:1.9.14-1
+- Update to 1.9.14
+- handle all classes in autoloader
+
* Thu Dec 15 2016 Remi Collet <remi@fedoraproject.org> - 1:1.9.13-1
- update to 1.9.13
- use new URL http://www.getid3.org/