summaryrefslogtreecommitdiffstats
path: root/php-bartlett-PHP-Reflect-dev.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-01-06 17:37:27 +0100
committerRemi Collet <fedora@famillecollet.com>2015-01-06 17:37:27 +0100
commitbdc1b0cabc68a0402d86f4644e4e6ec34b37777b (patch)
treec39f08b7a645108332d0f4267573f32e99fba4b6 /php-bartlett-PHP-Reflect-dev.spec
parent2e7e24134a66fb29c25ba50b27a2b556c863f5f7 (diff)
php-bartlett-PHP-Reflect: 3.0.0 alpha2, WIP
Diffstat (limited to 'php-bartlett-PHP-Reflect-dev.spec')
-rw-r--r--php-bartlett-PHP-Reflect-dev.spec93
1 files changed, 56 insertions, 37 deletions
diff --git a/php-bartlett-PHP-Reflect-dev.spec b/php-bartlett-PHP-Reflect-dev.spec
index 6eadcc2..78a02c8 100644
--- a/php-bartlett-PHP-Reflect-dev.spec
+++ b/php-bartlett-PHP-Reflect-dev.spec
@@ -6,15 +6,16 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 6b059b7106c74e9db5d7dd84c2995eb6fe678331
-#global gh_short %(c=%{gh_commit}; echo ${c:0:7})
+%global gh_commit 51f79686ba79f6b0ab7e847788980567b59540ce
+%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
+%global gh_date 20150105
%global gh_owner llaville
%global gh_project php-reflect
Name: php-bartlett-PHP-Reflect
-Version: 2.6.2
+Version: 3.0.0
%global specrel 1
-Release: %{?gh_short:0.%{specrel}.git%{gh_short}}%{!?gh_short:%{specrel}}%{?dist}
+Release: %{?gh_short:0.%{specrel}.%{?gh_date}git%{gh_short}}%{!?gh_short:%{specrel}}%{?dist}
Summary: Adds the ability to reverse-engineer PHP
Group: Development/Libraries
@@ -26,23 +27,24 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit
# Enable cache plugin
Patch0: %{name}-rpm.patch
-# https://github.com/llaville/php-reflect/pull/16
-Patch1: %{name}-pr16.patch
-
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: php(language) >= 5.3
+BuildRequires: php(language) >= 5.3
+BuildRequires: php-pdo_sqlite
# to run test suite
BuildRequires: %{_bindir}/phpunit
-Requires: php-composer(sebastian/version) >= 1.0
-BuildRequires: php-composer(phpunit/php-timer) >= 1.0
-BuildRequires: php-composer(nikic/php-parser) >= 1.0
-BuildRequires: php-composer(symfony/class-loader) >= 2.5
-BuildRequires: php-composer(symfony/event-dispatcher) >= 2.5
-BuildRequires: php-composer(symfony/finder) >= 2.5
-BuildRequires: php-composer(symfony/console) >= 2.5
-BuildRequires: php-composer(seld/jsonlint) >= 1.1
-BuildRequires: php-composer(justinrainbow/json-schema) >= 1.3
+Requires: php-composer(sebastian/version) >= 1.0
+BuildRequires: php-composer(nikic/php-parser) >= 1.0
+BuildRequires: php-composer(doctrine/collections) >= 1.2
+BuildRequires: php-composer(symfony/class-loader) >= 2.5
+BuildRequires: php-composer(symfony/event-dispatcher) >= 2.5
+BuildRequires: php-composer(symfony/finder) >= 2.5
+BuildRequires: php-composer(symfony/console) >= 2.5
+BuildRequires: php-composer(symfony/stopwatch) >= 2.5
+BuildRequires: php-composer(symfony/dependency-injection) >= 2.5
+BuildRequires: php-composer(phpdocumentor/reflection-docblock) >= 2.0
+BuildRequires: php-composer(seld/jsonlint) >= 1.1
+BuildRequires: php-composer(justinrainbow/json-schema) >= 1.3
# From composer.json, "require"
# "php": ">=5.3.0",
@@ -51,37 +53,49 @@ BuildRequires: php-composer(justinrainbow/json-schema) >= 1.3
# "ext-spl": "*",
# "ext-json": "*",
# "ext-date": "*",
+# "ext-reflection": "*",
+# "ext-pdo_sqlite": "*",
# "sebastian/version": "~1.0",
-# "phpunit/php-timer": "~1.0",
# "nikic/php-parser": "~1.0",
+# "doctrine/collections": "~1.2",
# "symfony/event-dispatcher": "~2.5",
# "symfony/finder": "~2.5",
# "symfony/console": "~2.5"
+# "symfony/stopwatch": "~2.5",
+# "symfony/dependency-injection": "~2.5",
+# "phpdocumentor/reflection-docblock": "~2.0",
# "justinrainbow/json-schema": "~1.3",
# "seld/jsonlint": "~1.1"
-Requires: php(language) >= 5.3
+Requires: php(language) >= 5.3
Requires: php-date
Requires: php-json
Requires: php-pcre
+Requires: php-pdo_sqlite
Requires: php-reflection
Requires: php-spl
Requires: php-tokenizer
-Requires: php-composer(sebastian/version) >= 1.0
-Requires: php-composer(sebastian/version) < 2
-Requires: php-composer(phpunit/php-timer) >= 1.0
-Requires: php-composer(phpunit/php-timer) < 2
-Requires: php-composer(nikic/php-parser) >= 1.0
-Requires: php-composer(nikic/php-parser) < 2
-Requires: php-composer(symfony/event-dispatcher) >= 2.5
-Requires: php-composer(symfony/event-dispatcher) < 3
-Requires: php-composer(symfony/finder) >= 2.5
-Requires: php-composer(symfony/finder) < 3
-Requires: php-composer(symfony/console) >= 2.5
-Requires: php-composer(symfony/console) < 3
-Requires: php-composer(seld/jsonlint) >= 1.1
-Requires: php-composer(seld/jsonlint) < 2
-Requires: php-composer(justinrainbow/json-schema) >= 1.3
-Requires: php-composer(justinrainbow/json-schema) < 2
+Requires: php-composer(sebastian/version) >= 1.0
+Requires: php-composer(sebastian/version) < 2
+Requires: php-composer(nikic/php-parser) >= 1.0
+Requires: php-composer(nikic/php-parser) < 2
+Requires: php-composer(doctrine/collections) >= 1.2
+Requires: php-composer(doctrine/collections) < 2
+Requires: php-composer(symfony/event-dispatcher) >= 2.5
+Requires: php-composer(symfony/event-dispatcher) < 3
+Requires: php-composer(symfony/finder) >= 2.5
+Requires: php-composer(symfony/finder) < 3
+Requires: php-composer(symfony/console) >= 2.5
+Requires: php-composer(symfony/console) < 3
+Requires: php-composer(symfony/stopwatch) >= 2.5
+Requires: php-composer(symfony/stopwatch) < 3
+Requires: php-composer(symfony/dependency-injection) >= 2.5
+Requires: php-composer(symfony/dependency-injection) < 3
+Requires: php-composer(phpdocumentor/reflection-docblock) >= 2.0
+Requires: php-composer(phpdocumentor/reflection-docblock) < 3
+Requires: php-composer(seld/jsonlint) >= 1.1
+Requires: php-composer(seld/jsonlint) < 2
+Requires: php-composer(justinrainbow/json-schema) >= 1.3
+Requires: php-composer(justinrainbow/json-schema) < 2
# From composer.json, "suggest"
# "doctrine/cache": "Allow caching results"
Requires: php-composer(doctrine/cache)
@@ -102,10 +116,8 @@ Documentation: http://php5.laurent-laville.org/reflect/manual/current/en/
%prep
%setup -q -n %{gh_project}-%{gh_commit}
-#setup -q -n %{gh_project}-%{version}
%patch0 -p1 -b .rpm
-%patch1 -p1 -b .pr16
sed -e 's/@package_version@/%{version}/' \
-i $(find src -name \*.php)
@@ -153,6 +165,13 @@ fi
%changelog
+* Tue Jan 6 2015 Remi Collet <remi@fedoraproject.org> - 3.0.0-0.1.20150105git51f7968
+- update to 3.0.0 alpha2
+- drop dependency on phpunit/php-timer
+- add dependencies on php-pdo_sqlite, doctrine/collections,
+ symfony/stopwatch, symfony/dependency-injection
+ and phpdocumentor/reflection-docblock
+
* Mon Jan 5 2015 Remi Collet <remi@fedoraproject.org> - 2.6.2-1
- Update to 2.6.2
- open https://github.com/llaville/php-reflect/pull/16