summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch3
-rw-r--r--php-bartlett-PHP-CompatInfo-dev.spec12
2 files changed, 11 insertions, 4 deletions
diff --git a/php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch b/php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch
index b5774a2..a3703b6 100644
--- a/php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch
+++ b/php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch
@@ -85,7 +85,7 @@ diff -up ./src/Bartlett/CompatInfo/Environment.php.rpm ./src/Bartlett/CompatInfo
diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php
--- ./tests/bootstrap.php.rpm 2015-02-20 10:59:04.000000000 +0100
+++ ./tests/bootstrap.php 2015-02-22 11:42:15.277385330 +0100
-@@ -1,8 +1,30 @@
+@@ -1,8 +1,31 @@
<?php
$baseDir = dirname(__DIR__);
@@ -109,6 +109,7 @@ diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php
+ 'Seld\\JsonLint' => $vendorDir,
+ 'JsonSchema' => $vendorDir,
+ 'Bartlett\\Reflect' => $vendorDir,
++ 'Bartlett\\UmlWriter' => $vendorDir,
+ 'Bartlett\\Tests\\CompatInfo' => $baseDir . '/tests',
+ 'Bartlett' => $baseDir . '/src',
+ ));
diff --git a/php-bartlett-PHP-CompatInfo-dev.spec b/php-bartlett-PHP-CompatInfo-dev.spec
index 8b01c42..ad42102 100644
--- a/php-bartlett-PHP-CompatInfo-dev.spec
+++ b/php-bartlett-PHP-CompatInfo-dev.spec
@@ -6,17 +6,17 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit a84830224d678e6aa4cb920a351e030c288f6982
+%global gh_commit fef744801667f1d901055f574a56c19fdba976ff
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
#global gh_date 20150303
%global gh_owner llaville
%global gh_project php-compat-info
-%global prever RC1
+%global prever RC2
%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
Name: php-bartlett-PHP-CompatInfo
Version: 4.0.0
-%global specrel 8
+%global specrel 9
Release: %{?gh_short:0.%{specrel}.%{?gh_date:%{gh_date}git%{gh_short}}%{prever}}%{!?gh_short:%{specrel}}%{?dist}
Summary: Find out version and the extensions required for a piece of code to run
@@ -62,7 +62,9 @@ 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"
+# "bartlett/umlwriter": "Allow writing UML class diagrams (Graphviz or PlantUML)"
Requires: php-composer(doctrine/cache)
+Requires: php-composer(bartlett/umlwriter)
# Required by autoloader
Requires: php-composer(nikic/php-parser)
BuildRequires: php-composer(doctrine/collections)
@@ -152,6 +154,10 @@ fi
%changelog
+* Thu Mar 26 2015 Remi Collet <remi@fedoraproject.org> - 4.0.0-0.9.RC2
+- update to 4.0.0 RC2
+- add dependency on bartlett/umlwriter
+
* Thu Mar 12 2015 Remi Collet <remi@fedoraproject.org> - 4.0.0-0.8.RC1
- update to 4.0.0 RC1