summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-03-12 17:34:09 +0100
committerRemi Collet <fedora@famillecollet.com>2015-03-12 17:34:09 +0100
commite033e4dd249212480cd7744c65c6725a3bc2dc8e (patch)
tree7acf135bbd2deb4bdcdf61348a8dabb314c93254
parenta97aff12ffd28a620fee1e6c03396a5579e26117 (diff)
php-bartlett-PHP-CompatInfo: 4.0.0RC1
-rw-r--r--php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch12
-rw-r--r--php-bartlett-PHP-CompatInfo-dev.spec15
2 files changed, 9 insertions, 18 deletions
diff --git a/php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch b/php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch
index efbe0e4..b5774a2 100644
--- a/php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch
+++ b/php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch
@@ -118,15 +118,3 @@ diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php
+# Class not catched by autoloader
+require $vendorDir . '/Bartlett/Reflect.php';
require __DIR__ . '/Reference/GenericTest.php';
-diff -up src/Bartlett/CompatInfo/Console/Application.php.rpm src/Bartlett/CompatInfo/Console/Application.php
---- ./src/Bartlett/CompatInfo/Console/Application.php.rpm 2015-02-27 12:43:50.156932510 +0100
-+++ ./src/Bartlett/CompatInfo/Console/Application.php 2015-02-27 13:05:29.032971712 +0100
-@@ -57,7 +57,7 @@ class Application extends BaseApplicatio
- $this->getVersion(),
- $v['build.string']
- );
-- if (extension_loaded('xdebug')) {
-+ if (extension_loaded('xdebug') && defined("STDOUT") && function_exists("posix_isatty") && posix_isatty(STDOUT)) {
- $version .= PHP_EOL . PHP_EOL .
- '<warning>You are encouraged to unload xdebug extension to speed up execution.</warning>';
- }
diff --git a/php-bartlett-PHP-CompatInfo-dev.spec b/php-bartlett-PHP-CompatInfo-dev.spec
index eadd214..8b01c42 100644
--- a/php-bartlett-PHP-CompatInfo-dev.spec
+++ b/php-bartlett-PHP-CompatInfo-dev.spec
@@ -6,24 +6,24 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 4966955ae3f662aa96fe292079759d287b51c29c
+%global gh_commit a84830224d678e6aa4cb920a351e030c288f6982
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
-%global gh_date 20150227
+#global gh_date 20150303
%global gh_owner llaville
%global gh_project php-compat-info
-%global prever beta2
+%global prever RC1
%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
Name: php-bartlett-PHP-CompatInfo
Version: 4.0.0
-%global specrel 7
-Release: %{?gh_short:0.%{specrel}.%{?gh_date}git%{gh_short}}%{!?gh_short:%{specrel}}%{?dist}
+%global specrel 8
+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
Group: Development/Libraries
License: BSD
URL: http://php5.laurent-laville.org/compatinfo/
-Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}%{?gh_short:-%{gh_short}}.tar.gz
+Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}%{?prever}%{?gh_short:-%{gh_short}}.tar.gz
# Script for fedora-review
Source1: fedora-review-check
@@ -152,6 +152,9 @@ fi
%changelog
+* Thu Mar 12 2015 Remi Collet <remi@fedoraproject.org> - 4.0.0-0.8.RC1
+- update to 4.0.0 RC1
+
* Fri Feb 27 2015 Remi Collet <remi@fedoraproject.org> - 4.0.0-0.7.20150227git4966955
- don't display xdebug message when not on a tty
- add fedora-review-check script