[php-phpunit-phploc/epel7] - update to 2.1.0 - raise dependencies on sebastian/git 2.0, symfony/console 2.5 - raise minimal PHP

Remi Collet remi at fedoraproject.org
Fri Mar 13 09:53:47 UTC 2015


commit 40ad31d6b18be88be200ad690548cfbc2fe1c5cc
Author: Remi Collet <remi at fedoraproject.org>
Date:   Fri Mar 13 10:50:43 2015 +0100

    - update to 2.1.0
    - raise dependencies on sebastian/git 2.0, symfony/console 2.5
    - raise minimal PHP version to 5.4
    
    (cherry picked from commit 6a725ba1f53939bf402fe2e58fafdd21011eec5f)

 .gitignore              |  1 +
 php-phpunit-phploc.spec | 35 ++++++++++++++++++++---------------
 phploc-rpm.patch        | 12 ++++++------
 sources                 |  2 +-
 4 files changed, 28 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index db291d9..9aa8d2a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ phploc-1.5.1.tgz
 /phploc-1.7.4.tgz
 /phploc-2.0.5.tar.gz
 /phploc-2.0.6.tar.gz
+/phploc-2.1.0.tar.gz
diff --git a/php-phpunit-phploc.spec b/php-phpunit-phploc.spec
index 2eb203c..a3b0887 100644
--- a/php-phpunit-phploc.spec
+++ b/php-phpunit-phploc.spec
@@ -1,4 +1,4 @@
-%global gh_commit    322ad07c112d5c6832abed4269d648cacff5959b
+%global gh_commit    0e7ead01180d93536dec14da10d038a62d9f509d
 %global gh_short     %(c=%{gh_commit}; echo ${c:0:7})
 %global gh_owner     sebastianbergmann
 %global gh_project   phploc
@@ -8,7 +8,7 @@
 %global with_tests   %{?_without_tests:0}%{!?_without_tests:1}
 
 Name:           php-phpunit-phploc
-Version:        2.0.6
+Version:        2.1.0
 Release:        1%{?dist}
 Summary:        A tool for quickly measuring the size of a PHP project
 
@@ -24,34 +24,34 @@ Source1:        autoload.php.in
 Patch0:         %{gh_project}-rpm.patch
 
 BuildArch:      noarch
-BuildRequires:  php(language) >= 5.3.3
+BuildRequires:  php(language) >= 5.4
 BuildRequires:  %{_bindir}/phpab
 %if %{with_tests}
 BuildRequires:  %{_bindir}/phpunit
 BuildRequires:  php-composer(sebastian/finder-facade) >= 1.1
 BuildRequires:  php-composer(sebastian/finder-facade) <  2
-BuildRequires:  php-composer(sebastian/git) >= 1.0
-BuildRequires:  php-composer(sebastian/git) <  2
-BuildRequires:  php-composer(sebastian/version) >= 1.0
+BuildRequires:  php-composer(sebastian/git) >= 2.0
+BuildRequires:  php-composer(sebastian/git) <  3
+BuildRequires:  php-composer(sebastian/version) >= 1.0.3
 BuildRequires:  php-composer(sebastian/version) <  2
-BuildRequires:  php-symfony-console >= 2.2
+BuildRequires:  php-symfony-console >= 2.5
 BuildRequires:  php-symfony-console <  3
 %endif
 
 # From composer.json
 #      "php": ">=5.3.3",
 #      "sebastian/finder-facade": "~1.1",
-#      "sebastian/git": "~1.0",
-#      "sebastian/version": "~1.0",
-#      "symfony/console": "~2.2"
-Requires:       php(language) >= 5.3.3
+#      "sebastian/git": "~2.0",
+#      "sebastian/version": "~1.0.3",
+#      "symfony/console": "~2.5"
+Requires:       php(language) >= 5.4
 Requires:       php-composer(sebastian/finder-facade) >= 1.1
 Requires:       php-composer(sebastian/finder-facade) <  2
-Requires:       php-composer(sebastian/git) >= 1.0
-Requires:       php-composer(sebastian/git) <  2
-Requires:       php-composer(sebastian/version) >= 1.0
+Requires:       php-composer(sebastian/git) >= 2.0
+Requires:       php-composer(sebastian/git) <  3
+Requires:       php-composer(sebastian/version) >= 1.0.3
 Requires:       php-composer(sebastian/version) <  2
-Requires:       php-symfony-console >= 2.2
+Requires:       php-symfony-console >= 2.5
 Requires:       php-symfony-console <  3
 # From phpcompatinfo report for version 2.0.5
 Requires:       php-dom
@@ -116,6 +116,11 @@ fi
 
 
 %changelog
+* Wed Mar 11 2015 Remi Collet <remi at fedoraproject.org> - 2.1.0-1
+- update to 2.1.0
+- raise dependencies on sebastian/git 2.0, symfony/console 2.5
+- raise minimal PHP version to 5.4
+
 * Wed Jun 25 2014 Remi Collet <remi at fedoraproject.org> - 2.0.6-1
 - update to 2.0.6
 - composer dependencies
diff --git a/phploc-rpm.patch b/phploc-rpm.patch
index fc04bb6..62f5c6b 100644
--- a/phploc-rpm.patch
+++ b/phploc-rpm.patch
@@ -1,14 +1,14 @@
 diff -up ./phploc.rpm ./phploc
---- ./phploc.rpm	2014-05-03 18:50:56.000000000 +0200
-+++ ./phploc	2014-05-03 18:51:38.000000000 +0200
+--- ./phploc.rpm	2015-03-11 07:14:28.241134864 +0100
++++ ./phploc	2015-03-11 07:16:29.647622059 +0100
 @@ -1,4 +1,4 @@
 -#!/usr/bin/env php
 +#!/usr/bin/php
  <?php
- /**
-  * phploc
-@@ -42,23 +42,7 @@
-  * @since     File available since Release 1.0.0
+ /*
+  * This file is part of PHPLOC.
+@@ -9,23 +9,7 @@
+  * file that was distributed with this source code.
   */
  
 -$loaded = false;
diff --git a/sources b/sources
index 3e76e18..155aea9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6981b308482f779994d66fcf60ae9b7b  phploc-2.0.6.tar.gz
+f938d200dcecf0373fcfa4eaeb100ea7  phploc-2.1.0.tar.gz


More information about the scm-commits mailing list