summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-10-03 09:41:48 +0200
committerRemi Collet <fedora@famillecollet.com>2015-10-03 09:41:48 +0200
commit2f37a4a7dff7040e9c613b29388632379cf1fccc (patch)
tree113533627e644e8718a884953317465364d48908
parent3f91b3605b9b8f877a4ddbf30e71b4a5923d876b (diff)
php-bartlett-PHP-CompatInfo: test master (upcoming 4.5.0)
-rw-r--r--php-bartlett-PHP-CompatInfo-4.4.0-rpm.patch2
-rw-r--r--php-bartlett-PHP-CompatInfo.spec17
2 files changed, 13 insertions, 6 deletions
diff --git a/php-bartlett-PHP-CompatInfo-4.4.0-rpm.patch b/php-bartlett-PHP-CompatInfo-4.4.0-rpm.patch
index dd91593..cdba4af 100644
--- a/php-bartlett-PHP-CompatInfo-4.4.0-rpm.patch
+++ b/php-bartlett-PHP-CompatInfo-4.4.0-rpm.patch
@@ -69,7 +69,7 @@ diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo
Environment::setScanDir();
--$application = new Application($appName, '4.3');
+-$application = new Application($appName, '4.4');
+$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 9478340..e1c143d 100644
--- a/php-bartlett-PHP-CompatInfo.spec
+++ b/php-bartlett-PHP-CompatInfo.spec
@@ -7,9 +7,9 @@
# Please, preserve the changelog entries
#
%{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)}
-%global gh_commit 91780ebe5aee4e99b938c8668cd207e7f194489a
+%global gh_commit 03c8d2f50e8f3f5472d8f01da153b1cf1fb66932
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
-#global gh_date 20150303
+%global gh_date 20150930
%global gh_owner llaville
%global gh_project php-compat-info
#global prever RC2
@@ -17,7 +17,7 @@
Name: php-bartlett-PHP-CompatInfo
Version: 4.4.0
-%global specrel 2
+%global specrel 3
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
@@ -32,6 +32,8 @@ Source1: fedora-review-check
# Autoloader for RPM - die composer !
Source2: %{name}-autoload.php
+Source3: Pthreads3.methods.json
+
# Autoload and sqlite database path
Patch0: %{name}-4.4.0-rpm.patch
@@ -118,6 +120,8 @@ sed -e 's/@package_version@/%{version}%{?prever}/' \
%build
+cp %{SOURCE3} data/references/
+
: Generate the references database
%{_bindir}/php -d date.timezone=Europe/Paris data/handleDB.php db:init
@@ -137,8 +141,8 @@ install -D -p -m 755 %{SOURCE1} %{buildroot}%{_datadir}/%{name}
%if %{with_tests}
%check
# drop some test because of RC version
-#rm tests/Reference/Extension/AmqpExtensionTest.php
-#rm tests/Reference/Extension/SphinxExtensionTest.php
+rm tests/Reference/Extension/AmqpExtensionTest.php
+rm tests/Reference/Extension/SphinxExtensionTest.php
%if 0%{?fedora} < 21 && 0%{?rhel} < 7
#rm tests/Reference/Extension/CurlExtensionTest.php
#rm tests/Reference/Extension/LibxmlExtensionTest.php
@@ -173,6 +177,9 @@ fi
%changelog
+* Sat Oct 3 2015 Remi Collet <remi@fedoraproject.org> - 4.4.0-3
+- test build of master
+
* Sat Jul 18 2015 Remi Collet <remi@fedoraproject.org> - 4.4.0-2
- test build of master