diff options
| -rw-r--r-- | php-sabre-vobject4.spec | 17 | 
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  | 
