From 1acf1d4f41c2ea6e3c0350406c0e6c3751e9e797 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 19 Jul 2019 16:31:38 +0200 Subject: - update to 2.0.0 - raise dependency on PHP 5.6 --- composer.json | 2 +- php-elvanto-litemoji.spec | 20 ++++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index ef06992..a808619 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "keywords": ["php-emoji", "emoji"], "license": "MIT", "require": { - "php": ">=5.4" + "php": ">=5.6" }, "require-dev": { "phpunit/phpunit": "^5.0", diff --git a/php-elvanto-litemoji.spec b/php-elvanto-litemoji.spec index 80be9fe..f96875b 100644 --- a/php-elvanto-litemoji.spec +++ b/php-elvanto-litemoji.spec @@ -1,12 +1,12 @@ # remirepo/fedora spec file for php-elvanto-litemoji # -# Copyright (c) 2018 Remi Collet +# Copyright (c) 2018-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit 17bf635e4d1a5b4d35d2cadf153cd589b78af7f0 +%global gh_commit a49bcfd88af64728aa2c28c79be7c3d15b44a1d0 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner elvanto %global gh_project litemoji @@ -14,7 +14,7 @@ %global with_tests 0%{!?_without_tests:1} %global ns_project LitEmoji Name: php-%{gh_owner}-%{gh_project} -Version: 1.4.4 +Version: 2.0.0 Release: 1%{?gh_date:.%{gh_date}git%{gh_short}}%{?dist} Summary: Conversion of unicode, HTML and shortcode emoji @@ -25,7 +25,7 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit BuildArch: noarch %if %{with_tests} # For tests -BuildRequires: php(language) >= 5.4 +BuildRequires: php(language) >= 5.6 BuildRequires: php-mbstring BuildRequires: php-pcre # From composer.json, "require-dev": { @@ -38,9 +38,9 @@ BuildRequires: php-composer(fedora/autoloader) %endif # From composer.json, "require": { -# "php": ">=5.4", -Requires: php(language) >= 5.4 -# From phpcompatinfo report for version 1.4.4 +# "php": ">=5.6", +Requires: php(language) >= 5.6 +# From phpcompatinfo report for version 2.0.0 Requires: php-mbstring Requires: php-pcre # Autoloader @@ -78,7 +78,7 @@ cp -pr src %{buildroot}%{_datadir}/php/%{ns_project} %check %if %{with_tests} ret=0 -for cmd in php php56 php70 php71 php72 php73; do +for cmd in php php56 php70 php71 php72 php73 php74; do if which $cmd; then $cmd %{phpunit} \ --bootstrap %{buildroot}%{_datadir}/php/%{ns_project}/autoload.php \ @@ -101,5 +101,9 @@ exit $ret %changelog +* Fri Jul 19 2019 Remi Collet - 2.0.0-1 +- update to 2.0.0 +- raise dependency on PHP 5.6 + * Tue Nov 6 2018 Remi Collet - 1.4.4-1 - initial package, version 1.4.4 -- cgit