summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-08-11 08:33:22 +0200
committerRemi Collet <remi@remirepo.net>2020-08-11 08:33:22 +0200
commitd30ad18cb20153b0183ac8fb8591b55ec3c6962b (patch)
tree2d2f58f4af7921b89f805db03bc063c1e031f3b9
parent9e2f18fd6838f8b411099425dc1d8b5d9162373b (diff)
update to 1.1.1
-rw-r--r--php-doctrine-sql-formatter.spec23
1 files changed, 13 insertions, 10 deletions
diff --git a/php-doctrine-sql-formatter.spec b/php-doctrine-sql-formatter.spec
index 97550ee..fc12f8f 100644
--- a/php-doctrine-sql-formatter.spec
+++ b/php-doctrine-sql-formatter.spec
@@ -7,8 +7,13 @@
# Please, preserve the changelog entries
#
-%global bootstrap 0
-%global gh_commit 5458bdcf176f6a53292e3f0cc73f292d6302fb0f
+%bcond_with bootstrap
+%if %{with bootstrap}
+%bcond_with tests
+%else
+%bcond_without tests
+%endif
+%global gh_commit 56070bebac6e77230ed7d306ad13528e60732871
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner doctrine
%global gh_project sql-formatter
@@ -19,14 +24,9 @@
# Namespace
%global ns_vendor Doctrine
%global ns_project SqlFormatter
-%if %{bootstrap}
-%global with_tests 0%{?_with_tests:1}
-%else
-%global with_tests 0%{!?_without_tests:1}
-%endif
Name: php-%{pk_vendor}-%{pk_project}%{major}
-Version: 1.1.0
+Version: 1.1.1
Release: 1%{?dist}
Summary: SQL highlighting library
@@ -37,7 +37,7 @@ Source1: makesrc.sh
BuildArch: noarch
BuildRequires: php-fedora-autoloader-devel
-%if %{with_tests}
+%if %{with tests}
BuildRequires: php(language) >= 7.1
BuildRequires: php-pcre
# From composer.json
@@ -86,7 +86,7 @@ cp -pr src %{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}%{major}
%check
-%if %{with_tests}
+%if %{with tests}
: Generate autoloader
mkdir vendor
%{_bindir}/phpab \
@@ -124,5 +124,8 @@ exit $ret
%changelog
+* Tue Aug 11 2020 Remi Collet <remi@remirepo.net> - 1.1.1-1
+- update to 1.1.1
+
* Tue May 26 2020 Remi Collet <remi@remirepo.net> - 1.1.0-1
- initial package