From 0f1f6fd1acd7a8b5b1f958bda5d4c9ecadf175a4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 10 Jan 2020 08:40:21 +0100 Subject: update to 2.0.0 (no change since 0.1.2) raise dependency on PHP 7.1 --- composer.json | 13 +++++++++---- php-owncloud-tarstreamer.spec | 18 +++++++++++------- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/composer.json b/composer.json index 2e26538..5244697 100644 --- a/composer.json +++ b/composer.json @@ -11,9 +11,14 @@ "homepage": "https://github.com/owncloud/TarStreamer", "license": "MIT", "require": { - "php": ">=5.3.8" + "php": ">=7.1" }, - "autoload": { + "config" : { + "platform": { + "php": "7.1" + } +}, +"autoload": { "psr-4": { "ownCloud\\TarStreamer\\": "src/" } @@ -25,8 +30,8 @@ ] }, "require-dev": { - "phpunit/phpunit": "^4.8", - "pear/pear-core-minimal": "v1.10.0alpha2", + "phpunit/phpunit": "^7.5", + "pear/pear-core-minimal": "v1.10.10", "pear/archive_tar": "~1.4" } } diff --git a/php-owncloud-tarstreamer.spec b/php-owncloud-tarstreamer.spec index 056b9f1..4dec6c6 100644 --- a/php-owncloud-tarstreamer.spec +++ b/php-owncloud-tarstreamer.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit 30dc5d2e2b12114a2d1492e8a966187df415c01d +%global gh_commit ad48505d1ab54a8e94e6b1cc5297bbed72e956de %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner owncloud %global gh_project TarStreamer @@ -15,7 +15,7 @@ %global ns_project TarStreamer Name: php-owncloud-tarstreamer -Version: 0.1.2 +Version: 2.0.0 Release: 1%{?dist} Summary: Streaming dynamic tar files @@ -27,7 +27,7 @@ BuildArch: noarch BuildRequires: php-composer(theseer/autoload) BuildRequires: php-fedora-autoloader-devel %if %{with_tests} -BuildRequires: php(language) >= 5.3.8 +BuildRequires: php(language) >= 7.1 BuildRequires: php-date BuildRequires: php-spl BuildRequires: php-composer(phpunit/phpunit) @@ -36,9 +36,9 @@ BuildRequires: php-pecl(Xdebug) %endif # From composer.json -# "php": ">=5.3.8" -Requires: php(language) >= 5.3.8 -# From phpcompatinfo report for version 0.1beta3 +# "php": ">=7.1" +Requires: php(language) >= 7.1 +# From phpcompatinfo report for version 2.0.0 Requires: php-date Requires: php-spl @@ -79,7 +79,7 @@ EOF : Run test suite ret=0 cd tests -for cmd in php php70 php71 php72 php73; do +for cmd in php php71 php72 php73 php74; do if which $cmd; then $cmd %{_bindir}/phpunit || ret=1 fi @@ -98,6 +98,10 @@ exit $ret %changelog +* Fri Jan 10 2020 Remi Collet - 2.0.0-1 +- update to 2.0.0 (no change since 0.1.2) +- raise dependency on PHP 7.1 + * Fri Jan 10 2020 Remi Collet - 0.1.2-1 - update to 0.1.2 -- cgit