From f52e0c22e19a142fb5fc09ef153cacdd660c1c68 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 21 Feb 2018 06:59:15 +0100 Subject: allow motranslator v4 --- php-phpmyadmin-sql-parser.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/php-phpmyadmin-sql-parser.spec b/php-phpmyadmin-sql-parser.spec index 4d29f90..ca4eedb 100644 --- a/php-phpmyadmin-sql-parser.spec +++ b/php-phpmyadmin-sql-parser.spec @@ -1,13 +1,13 @@ # remirepo/fedora spec file for php-phpmyadmin-sql-parser # -# Copyright (c) 2015-2017 Remi Collet +# Copyright (c) 2015-2018 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit ab4d910fcfb331c58269afd5cf85281cdab954ce +%global gh_commit 10f4e571ba3903593ea7e2c4ec5304f3c0323a98 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner phpmyadmin #global gh_date 20150820 @@ -17,11 +17,10 @@ %global ns_project SqlParser Name: php-%{gh_owner}-%{gh_project} -Version: 4.2.3 -Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} +Version: 4.2.4 +Release: 3%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: A validating SQL lexer and parser with a focus on MySQL dialect -Group: Development/Libraries License: GPLv2+ URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{?gh_short}.tar.gz @@ -33,7 +32,6 @@ BuildArch: noarch BuildRequires: gettext %if %{with_tests} BuildRequires: php(language) >= 5.3.0 -BuildRequires: php-composer(phpmyadmin/motranslator) < 4 BuildRequires: php-composer(phpmyadmin/motranslator) >= 3.0 BuildRequires: php-mbstring # For tests, from composer.json "require-dev": { @@ -54,7 +52,6 @@ BuildRequires: php-composer(fedora/autoloader) # "phpmyadmin/motranslator": "Translate messages to your favorite locale" Requires: php(language) >= 5.3 -Requires: php-composer(phpmyadmin/motranslator) < 4 Requires: php-composer(phpmyadmin/motranslator) >= 3.0 # Mandatory to avoid symfony/polyfill-mbstring Requires: php-mbstring @@ -170,6 +167,12 @@ exit $ret %changelog +* Wed Feb 21 2018 Remi Collet - 4.2.4-3 +- allow motranslator v4 + +* Thu Dec 7 2017 Remi Collet - 4.2.4-1 +- Update to 4.2.4 + * Wed Oct 11 2017 Remi Collet - 4.2.3-1 - Update to 4.2.3 -- cgit