diff --git a/.gitignore b/.gitignore index 74a1b63..6154e9a 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ clog /php-sabre-vobject4-4.1.5-0928660.tar.gz /php-sabre-vobject4-4.1.6-122cacb.tar.gz /php-sabre-vobject4-4.2.0-bd50001.tar.gz +/php-sabre-vobject4-4.2.1-6d7476f.tar.gz diff --git a/469.patch b/469.patch deleted file mode 100644 index eae0b20..0000000 --- a/469.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 785981177a296b855d7318e87e095a0ea56f9715 Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Wed, 9 Oct 2019 09:11:46 +0200 -Subject: [PATCH] fix Bad file descriptor (7.4) - ---- - tests/VObject/Parser/MimeDirTest.php | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/VObject/Parser/MimeDirTest.php b/tests/VObject/Parser/MimeDirTest.php -index 671c2306..30906885 100644 ---- a/tests/VObject/Parser/MimeDirTest.php -+++ b/tests/VObject/Parser/MimeDirTest.php -@@ -16,7 +16,7 @@ class MimeDirTest extends TestCase - public function testParseError() - { - $mimeDir = new MimeDir(); -- $mimeDir->parse(fopen(__FILE__, 'a')); -+ $mimeDir->parse(fopen(__FILE__, 'a+')); - } - - public function testDecodeLatin1() diff --git a/php-sabre-vobject4.spec b/php-sabre-vobject4.spec index 78cd3f9..3cbdffb 100644 --- a/php-sabre-vobject4.spec +++ b/php-sabre-vobject4.spec @@ -10,7 +10,7 @@ # For compatibility with SCL %undefine __brp_mangle_shebangs -%global gh_commit bd500019764e434ff65872d426f523e7882a0739 +%global gh_commit 6d7476fbd227ae285029c19ad518cd451336038c %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sabre-io %global gh_project vobject @@ -24,8 +24,8 @@ Name: php-sabre-vobject4 Summary: Library to parse and manipulate iCalendar and vCard objects -Version: 4.2.0 -Release: 4%{?dist} +Version: 4.2.1 +Release: 1%{?dist} URL: http://sabre.io/vobject/ License: BSD @@ -34,7 +34,6 @@ Source1: %{name}-autoload.php # replace composer autloader Patch0: %{name}-bin.patch -Patch1: https://patch-diff.githubusercontent.com/raw/sabre-io/vobject/pull/469.patch BuildArch: noarch %if %{with_tests} @@ -91,7 +90,6 @@ Autoloader: %{_datadir}/php/Sabre/VObject4/autoload.php %setup -q -n %{gh_project}-%{gh_commit} %patch0 -p1 -b .rpm -%patch1 -p1 -b .pr469 cp %{SOURCE1} lib/autoload.php @@ -145,6 +143,10 @@ exit $ret %endif %changelog +* Thu Dec 19 2019 Remi Collet - 4.2.1-1 +- update to 4.2.1 +- drop patch merged upstream + * Mon Oct 9 2019 Remi Collet - 4.2.0-4 - add patch for PHP 7.4 from https://github.com/sabre-io/vobject/pull/469 diff --git a/sources b/sources index cf8306c..4b66d6f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-sabre-vobject4-4.2.0-bd50001.tar.gz) = 5045330bf3b77812e4f3bd4492be615cc48c12f650554cc10385c3a490746deb797560f3b4208400865229d6f9380cf106a302ba9f3fd7c59ca0cb51ccdd2644 +SHA512 (php-sabre-vobject4-4.2.1-6d7476f.tar.gz) = c5b486912a2f7b6099217e18316845f254cb429d44c01211b59abff9f1cbc60febe1deba11638fe9116aa05e37d1ac31fb9f3d59f3cf5f2cf77fd892fe1ce0d5