summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-05-19 11:15:57 +0200
committerRemi Collet <fedora@famillecollet.com>2015-05-19 11:15:57 +0200
commitec419134a51c713382c5543539d4c5f2206ae5f4 (patch)
tree60b3b8dc713649be3f55af27918a1701e27e67d9
parent2958a3b60bf8a44fde5964790ee1f6b4869b9968 (diff)
php-bartlett-PHP-CompatInfo: 4.2.0
-rw-r--r--php-bartlett-PHP-CompatInfo-4.2.0-rpm.patch (renamed from php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch)2
-rw-r--r--php-bartlett-PHP-CompatInfo.spec26
2 files changed, 18 insertions, 10 deletions
diff --git a/php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch b/php-bartlett-PHP-CompatInfo-4.2.0-rpm.patch
index d178a17..2f04774 100644
--- a/php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch
+++ b/php-bartlett-PHP-CompatInfo-4.2.0-rpm.patch
@@ -61,7 +61,7 @@ diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo
Environment::setScanDir();
--$application = new Application($appName, '4.1');
+-$application = new Application($appName, '4.2');
+$application = new Application($appName, '@package_version@');
$application->run();
diff -up ./data/handleDB.php.rpm ./data/handleDB.php
diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec
index ead098a..62716a2 100644
--- a/php-bartlett-PHP-CompatInfo.spec
+++ b/php-bartlett-PHP-CompatInfo.spec
@@ -1,4 +1,4 @@
-# spec file for php-bartlett-PHP-CompatInfo
+# remirepo/fedora spec file for php-bartlett-PHP-CompatInfo
#
# Copyright (c) 2011-2015 Remi Collet
# License: CC-BY-SA
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 0ed258e3ed120704f40ec6461d5d61b6a5cd5971
+%global gh_commit 4026f69cd3d5f03467a58386a4a00225e3dc2544
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
#global gh_date 20150303
%global gh_owner llaville
@@ -15,8 +15,8 @@
%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
Name: php-bartlett-PHP-CompatInfo
-Version: 4.1.0
-%global specrel 2
+Version: 4.2.0
+%global specrel 1
Release: %{?gh_date:0.%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
Summary: Find out version and the extensions required for a piece of code to run
@@ -29,12 +29,12 @@ Source1: fedora-review-check
# Autoloader for RPM - die composer !
# and sqlite database path
-Patch0: %{name}-4.0.0-rpm.patch
+Patch0: %{name}-4.2.0-rpm.patch
BuildArch: noarch
BuildRequires: php(language) >= 5.3.0
BuildRequires: php-pdo_sqlite
-BuildRequires: php-composer(bartlett/php-reflect) >= 3.0.0
+BuildRequires: php-composer(bartlett/php-reflect) >= 3.1
%if %{with_tests}
# to run test suite
BuildRequires: %{_bindir}/phpunit
@@ -48,7 +48,7 @@ BuildRequires: %{_bindir}/phpunit
# "ext-json": "*",
# "ext-pdo_sqlite": "*",
# "symfony/console": "~2.5",
-# "bartlett/php-reflect": "^3.0.1",
+# "bartlett/php-reflect": "~3.1",
Requires: php(language) >= 5.3.0
Requires: php-cli
Requires: php-json
@@ -56,7 +56,7 @@ Requires: php-libxml
Requires: php-pcre
Requires: php-pdo_sqlite
Requires: php-spl
-Requires: php-composer(bartlett/php-reflect) >= 3.0.1
+Requires: php-composer(bartlett/php-reflect) >= 3.1
Requires: php-composer(bartlett/php-reflect) < 4
Requires: php-composer(symfony/console) >= 2.5
Requires: php-composer(symfony/console) < 3
@@ -64,12 +64,16 @@ Requires: php-composer(symfony/console) < 3
# "doctrine/cache": "~1.3",
# "psr/log": "~1.0",
# "monolog/monolog": "~1.10",
-# "bartlett/phpunit-loggertestlistener": "~1.1",
+# "bartlett/monolog-callbackfilterhandler": "~1.0",
+# "bartlett/monolog-growlhandler": "~1.0",
+# "bartlett/phpunit-loggertestlistener": "~1.5",
# "bartlett/umlwriter": "~1.0"
# From composer.json, "suggest"
# "doctrine/cache": "Allow caching results, since bartlett/php-reflect 2.2",
# "psr/log": "Allow logging events with the LogPlugin",
# "monolog/monolog": "Allow logging events with the LogPlugin",
+# "bartlett/monolog-callbackfilterhandler": "Advanced filtering strategies for Monolog",
+# "bartlett/monolog-growlhandler": "Sends notifications to Growl for Monolog",
# "bartlett/phpunit-loggertestlistener": "Allow logging unit tests to your favorite PSR-3 logger interface",
# "bartlett/umlwriter": "Allow writing UML class diagrams (Graphviz or PlantUML)"
# "doctrine/cache": "Allow caching results, since bartlett/php-reflect 2.2"
@@ -163,6 +167,10 @@ fi
%changelog
+* Tue May 19 2015 Remi Collet <remi@fedoraproject.org> - 4.2.0-1
+- update to 4.2.0
+- raise dependency on bartlett/php-reflect 3.1
+
* Fri Apr 24 2015 Remi Collet <remi@fedoraproject.org> - 4.1.0-2
- test build from generictest branch