From 280157ea2985da80b0a2f1089d14862c52fabdaa Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 19 Oct 2017 18:42:01 +0200 Subject: v3.0.1 --- .gitignore | 8 ++++++++ dbunit-2.0.0-autoload.patch | 28 ---------------------------- php-phpunit-dbunit3.spec | 7 +++++-- 3 files changed, 13 insertions(+), 30 deletions(-) create mode 100644 .gitignore delete mode 100644 dbunit-2.0.0-autoload.patch diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fc9aa8c --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +clog +package-*.xml +*.tgz +*.tar.gz +*.tar.xz +*.tar.xz.asc +*.src.rpm +*/*rpm diff --git a/dbunit-2.0.0-autoload.patch b/dbunit-2.0.0-autoload.patch deleted file mode 100644 index 00683ae..0000000 --- a/dbunit-2.0.0-autoload.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -up ./dbunit.rpm ./dbunit ---- ./dbunit.rpm 2015-10-02 16:35:17.448763973 +0200 -+++ ./dbunit 2015-10-02 16:36:38.991090874 +0200 -@@ -9,23 +9,7 @@ - * file that was distributed with this source code. - */ - --foreach (array(__DIR__ . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php') as $file) { -- if (file_exists($file)) { -- define('DBUNIT_COMPOSER_INSTALL', $file); -- break; -- } --} -- --unset($file); -- --if (!defined('DBUNIT_COMPOSER_INSTALL')) { -- fwrite(STDERR, -- 'You need to set up the project dependencies using the following commands:' . PHP_EOL . -- 'wget http://getcomposer.org/composer.phar' . PHP_EOL . -- 'php composer.phar install' . PHP_EOL -- ); -- die(1); --} -+define('DBUNIT_COMPOSER_INSTALL', '/usr/share/php/PHPUnit/Autoload.php'); - - require DBUNIT_COMPOSER_INSTALL; - diff --git a/php-phpunit-dbunit3.spec b/php-phpunit-dbunit3.spec index 41671d9..34a1bf7 100644 --- a/php-phpunit-dbunit3.spec +++ b/php-phpunit-dbunit3.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit f2f8bec1d6ad7ad0bcdb47c1ed56d9d42d3e39ab +%global gh_commit 6b9cec80dca8694243aade33bceb425ccafbbd0d %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project dbunit @@ -20,7 +20,7 @@ %global with_tests 0%{!?_without_tests:1} %global ver_major 3 %global ver_minor 0 -%global ver_patch 0 +%global ver_patch 1 %global specrel 1 Name: php-%{pk_vendor}-%{pk_project}%{ver_major} @@ -125,6 +125,9 @@ ln -s %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}/autoload.php vendor/aut %changelog +* Thu Oct 19 2017 Remi Collet - 3.0.1-1 +- Update to 3.0.1 + * Wed Feb 8 2017 Remi Collet - 3.0.0-1 - rename to php-phpunit-dbunit3 - change dependency to phpunit6 -- cgit