summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-04-17 09:50:56 +0200
committerRemi Collet <fedora@famillecollet.com>2015-04-17 09:50:56 +0200
commit15c1dfd6ff088cd71bbf370c5445362eec2b2757 (patch)
treef5747ab231059bac2bd2419b5dd6b3fc01e307d3
parent3fbfcccd284cb9107098d9fd9777750ef76c260a (diff)
php-bartlett-PHP-CompatInfo: 4.1.0
-rw-r--r--php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch8
-rw-r--r--php-bartlett-PHP-CompatInfo.spec14
2 files changed, 10 insertions, 12 deletions
diff --git a/php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch b/php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch
index 03a20e2..d178a17 100644
--- a/php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch
+++ b/php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch
@@ -24,12 +24,6 @@ diff -up ./bin/phpcompatinfo.json.dist.rpm ./bin/phpcompatinfo.json.dist
diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo
--- ./bin/phpcompatinfo.rpm 2015-04-04 08:52:23.000000000 +0200
+++ ./bin/phpcompatinfo 2015-04-04 15:33:59.668609143 +0200
-@@ -1,4 +1,4 @@
--#!/usr/bin/env php
-+#!/usr/bin/php
- <?php
- $appName = 'phpCompatInfo';
-
@@ -16,8 +16,30 @@ if (\Phar::running()) {
putenv("BARTLETTRC=" . strtolower($appName) . '.json');
}
@@ -67,7 +61,7 @@ diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo
Environment::setScanDir();
--$application = new Application($appName, '4.0');
+-$application = new Application($appName, '4.1');
+$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 a1206cb..5739592 100644
--- a/php-bartlett-PHP-CompatInfo.spec
+++ b/php-bartlett-PHP-CompatInfo.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 0f0cdbcff50b4f7514a9da7be0c7b45a75084ebe
+%global gh_commit 6272b2a314ab79c9e5904e19139de3c6f1621109
%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.0.0
-%global specrel 2
+Version: 4.1.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
@@ -49,14 +49,14 @@ BuildRequires: %{_bindir}/phpunit
# "ext-json": "*",
# "ext-pdo_sqlite": "*",
# "symfony/console": "~2.5",
-# "bartlett/php-reflect": "~3.0",
+# "bartlett/php-reflect": "^3.0.1",
Requires: php(language) >= 5.3.0
Requires: php-json
Requires: php-libxml
Requires: php-pcre
Requires: php-pdo_sqlite
Requires: php-spl
-Requires: php-composer(bartlett/php-reflect) >= 3.0.0
+Requires: php-composer(bartlett/php-reflect) >= 3.0.1
Requires: php-composer(bartlett/php-reflect) < 4
Requires: php-composer(symfony/console) >= 2.5
Requires: php-composer(symfony/console) < 3
@@ -165,6 +165,10 @@ fi
%changelog
+* Fri Apr 17 2015 Remi Collet <remi@fedoraproject.org> - 4.1.0-1
+- update to 4.1.0
+- keep upstream shebang with /usr/bin/env (for SCL)
+
* Sat Apr 4 2015 Remi Collet <remi@fedoraproject.org> - 4.0.0-2
- add cache plugin in default configuration