summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-07-24 16:32:55 +0200
committerRemi Collet <fedora@famillecollet.com>2014-07-24 16:32:55 +0200
commit5554752a58667cf367b744334d56426b5c24fc38 (patch)
tree6db4f2440e94dcfa1beb728f0e046855625197ec
parent54e8ba372738a5304b37ab65283602dd332b0530 (diff)
php-bartlett-PHP-CompatInfo: 3.2.0
-rw-r--r--php-bartlett-PHP-CompatInfo-rpm.patch3
-rw-r--r--php-bartlett-PHP-CompatInfo.spec26
2 files changed, 17 insertions, 12 deletions
diff --git a/php-bartlett-PHP-CompatInfo-rpm.patch b/php-bartlett-PHP-CompatInfo-rpm.patch
index 0589316..a39ef5a 100644
--- a/php-bartlett-PHP-CompatInfo-rpm.patch
+++ b/php-bartlett-PHP-CompatInfo-rpm.patch
@@ -7,7 +7,7 @@ diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo
<?php
ini_set('memory_limit', -1);
-@@ -22,7 +22,24 @@ if (\Phar::running()) {
+@@ -22,7 +22,25 @@ if (\Phar::running()) {
}
}
}
@@ -23,6 +23,7 @@ diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo
+
+$loader = new UniversalClassLoader();
+$loader->registerNamespaces(array(
++ 'Doctrine\\Common\\Cache' => $vendorDir,
+ 'Symfony\\Component\\Finder' => $vendorDir,
+ 'Symfony\\Component\\EventDispatcher' => $vendorDir,
+ 'Symfony\\Component\\Console' => $vendorDir,
diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec
index d449a3f..d52a24c 100644
--- a/php-bartlett-PHP-CompatInfo.spec
+++ b/php-bartlett-PHP-CompatInfo.spec
@@ -6,8 +6,8 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 970d967fee265cd32379402ae0002c0e7987449d
-%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
+%global gh_commit 23d66048d3aac6093e215143274eb95e8556da70
+#global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner llaville
%global gh_project php-compat-info
@@ -31,33 +31,34 @@ BuildRequires: php(language) >= 5.3.0
BuildRequires: %{_bindir}/phpunit
BuildRequires: php-composer(bartlett/php-reflect) >= 2
-# From composer.json
+# From composer.json, "require"
# "php": ">=5.3.0",
-# "ext-tokenizer": "*",
+# "ext-libxml": "*",
# "ext-pcre": "*",
# "ext-spl": "*",
# "ext-json": "*",
# "symfony/console": "~2.5",
-# "bartlett/php-reflect": "2.*"
+# "bartlett/php-reflect": "~2.2"
Requires: php(language) >= 5.3.0
Requires: php-json
+Requires: php-libxml
Requires: php-pcre
Requires: php-spl
-Requires: php-tokenizer
-Requires: php-composer(bartlett/php-reflect) >= 2
+Requires: php-composer(bartlett/php-reflect) >= 2.2
Requires: php-composer(bartlett/php-reflect) < 3
Requires: php-composer(symfony/console) >= 2.5
Requires: php-composer(symfony/console) < 3
+# From composer.json, "suggest"
+# "doctrine/cache": "Allow caching results, since bartlett/php-reflect 2.2"
+Requires: php-composer(doctrine/cache)
# Required by autoloader
-# php-timer 1.0.5-3 is first version in /usr/share/php
Requires: php-composer(phpunit/php-timer)
Requires: php-composer(nikic/php-parser)
Requires: php-composer(symfony/class-loader)
Requires: php-composer(symfony/event-dispatcher)
Requires: php-composer(symfony/finder)
-# From phpcompatinfo report for version 3.1.0
+# From phpcompatinfo report for version 3.2.0
Requires: php-curl
-Requires: php-mbstring
Provides: phpcompatinfo = %{version}
Provides: php-composer(bartlett/php-compatinfo) = %{version}
@@ -69,7 +70,7 @@ version and extensions required for it to run. CLI version has many reports
(extension, interface, class, function, constant) to display and ability to
show content of dictionary references.
-Documentation: http://php5.laurent-laville.org/compatinfo/manual/3.1/en/
+Documentation: http://php5.laurent-laville.org/compatinfo/manual/3.2/en/
%prep
@@ -132,6 +133,9 @@ fi
%changelog
+* Thu Jul 24 2014 Remi Collet <remi@fedoraproject.org> - 3.2.0-1
+- Update to 3.2.0
+
* Wed Jul 23 2014 Remi Collet <remi@fedoraproject.org> - 3.2.0-0.1.970d967
- Test build of upcoming 3.2.0
- add manpage