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 --- php-horde-Horde-SessionHandler.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'php-horde-Horde-SessionHandler.spec') diff --git a/php-horde-Horde-SessionHandler.spec b/php-horde-Horde-SessionHandler.spec index c162c3e..87edcf5 100644 --- a/php-horde-Horde-SessionHandler.spec +++ b/php-horde-Horde-SessionHandler.spec @@ -12,14 +12,14 @@ Name: php-horde-Horde-SessionHandler Version: 2.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Horde Session Handler API License: LGPLv2 URL: http://pear.horde.org Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz - -Patch0: https://patch-diff.githubusercontent.com/raw/horde/SessionHandler/pull/3.patch +# see https://github.com/horde/SessionHandler/pull/4 +Source1: https://raw.githubusercontent.com/horde/SessionHandler/v2.3.0/test/Horde/SessionHandler/Autoload.php BuildArch: noarch BuildRequires: php(language) >= 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