summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-11-04 08:39:33 +0100
committerRemi Collet <remi@php.net>2021-11-04 08:39:33 +0100
commitd8fa0556a97bd9b2ff9472a38214c485701239d7 (patch)
treebcd15d8599ef2ebf3312e7111d4d1fc3fd86e6f2
parent91686022effeeaf060d93ec1ea9b72f708f30df2 (diff)
update to 4.3.7
-rw-r--r--php-sabre-vobject4.spec17
1 files changed, 14 insertions, 3 deletions
diff --git a/php-sabre-vobject4.spec b/php-sabre-vobject4.spec
index f7ea9a9..3845e65 100644
--- a/php-sabre-vobject4.spec
+++ b/php-sabre-vobject4.spec
@@ -12,7 +12,7 @@
# For compatibility with SCL
%undefine __brp_mangle_shebangs
-%global gh_commit 0bd8c87779d38cc867eea5977fe52c618e6f926b
+%global gh_commit c3fa8c8fec2fe4de91ae0c537748c22ecb0b6062
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sabre-io
%global gh_project vobject
@@ -25,7 +25,7 @@
Name: php-sabre-vobject4
Summary: Library to parse and manipulate iCalendar and vCard objects
-Version: 4.3.6
+Version: 4.3.7
Release: 1%{?dist}
URL: http://sabre.io/vobject/
@@ -131,11 +131,19 @@ install -Dpm 0755 bin/generate_vcards \
%check
-%if %{with tests}
: Fix bootstrap
cd tests
sed -e 's:@BUILDROOT@:%{buildroot}:' -i bootstrap.php
+: Check version
+php -r '
+require "%{_datadir}/php/Fedora/Autoloader/autoload.php";
+require "bootstrap.php";
+echo Sabre\VObject\Version::VERSION . "\n";
+exit (Sabre\VObject\Version::VERSION === "%{version}" ? 0 : 1);
+'
+
+%if %{with tests}
opt="--verbose"
if [ $(php -r 'echo PHP_INT_SIZE;') -lt 8 ]; then
opt="--filter '^((?!(testNeverEnding|testGeneratorBaseObject)).)*$' $opt"
@@ -167,6 +175,9 @@ exit $ret
%endif
%changelog
+* Thu Nov 4 2021 Remi Collet <remi@remirepo.net> - 4.3.7-1
+- update to 4.3.7
+
* Thu Nov 4 2021 Remi Collet <remi@remirepo.net> - 4.3.6-1
- update to 4.3.6