From cad19dd54845a535e7cb5d2f702231466296b9ce Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 21 Jan 2021 09:51:29 +0100 Subject: add missing file for test suite see https://github.com/horde/SessionHandler/pull/4 --- 3.patch | 25 ------------------------- Autoload.php | 7 +++++++ php-horde-Horde-SessionHandler.spec | 15 +++++++++------ 3 files changed, 16 insertions(+), 31 deletions(-) delete mode 100644 3.patch create mode 100644 Autoload.php diff --git a/3.patch b/3.patch deleted file mode 100644 index c7965da..0000000 --- a/3.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 8cb2da6626e84b7e480917ff1d7a5cea140e539d Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Wed, 20 Jan 2021 09:03:39 +0100 -Subject: [PATCH] re-add setUpBeforeClass - ---- - test/Horde/SessionHandler/Storage/Base.php | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/test/Horde/SessionHandler/Storage/Base.php b/test/Horde/SessionHandler/Storage/Base.php -index f4eb0f3..1148cbb 100644 ---- a/test/Horde/SessionHandler/Storage/Base.php -+++ b/test/Horde/SessionHandler/Storage/Base.php -@@ -68,6 +68,11 @@ protected function _gc() - self::$handler->getSessionIDs()); - } - -+ public static function setUpBeforeClass() -+ { -+ self::$dir = Horde_Util::createTempDir(); -+ } -+ - public static function tearDownAfterClass() - { - self::$handler = null; diff --git a/Autoload.php b/Autoload.php new file mode 100644 index 0000000..665bf03 --- /dev/null +++ b/Autoload.php @@ -0,0 +1,7 @@ += 5.3.0 @@ -69,8 +69,8 @@ handlers for PHP. %setup -q -c cd %{pear_name}-%{version} -%patch0 -p1 -sed -e '/Base.php/s/md5sum=.*name=/name=/' ../package.xml >%{name}.xml +mv ../package.xml %{name}.xml +cp %{SOURCE1} test/Horde/SessionHandler/Autoload.php %build @@ -97,7 +97,6 @@ cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g) ret=0 # TODO: php80 -rm -f Storage/BuiltinTest.php for cmd in php php72 php73 php74; do if which $cmd; then $cmd %{_bindir}/phpunit --bootstrap bootstrap.php --verbose . || ret=1 @@ -127,6 +126,10 @@ fi %changelog +* Thu Jan 21 2021 Remi Collet - 2.3.0-2 +- add missing file for test suite + see https://github.com/horde/SessionHandler/pull/4 + * Wed Jan 20 2021 Remi Collet - 2.3.0-1 - update to 2.3.0 - add patch for test suite from -- cgit