summaryrefslogtreecommitdiffstats
path: root/php-masterminds-html5.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-masterminds-html5.spec')
-rw-r--r--php-masterminds-html5.spec17
1 files changed, 13 insertions, 4 deletions
diff --git a/php-masterminds-html5.spec b/php-masterminds-html5.spec
index c143fc3..6a011d5 100644
--- a/php-masterminds-html5.spec
+++ b/php-masterminds-html5.spec
@@ -12,8 +12,8 @@
%global github_owner Masterminds
%global github_name html5-php
-%global github_version 2.6.0
-%global github_commit c961ca6a0a81dc6b55b6859b3f9ea7f402edf9ad
+%global github_version 2.7.0
+%global github_commit 104443ad663d15981225f99532ba73c2f1d6b6f2
%global composer_vendor masterminds
%global composer_project html5
@@ -35,6 +35,8 @@ License: MIT
URL: http://masterminds.github.io/html5-php
Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz
+Patch0: https://patch-diff.githubusercontent.com/raw/Masterminds/html5-php/pull/170.patch
+
BuildArch: noarch
# Autoload generation
BuildRequires: %{_bindir}/phpab
@@ -45,7 +47,7 @@ BuildRequires: php(language) >= %{php_min_ver}
BuildRequires: php-composer(phpunit/phpunit) >= 4.8.35
BuildRequires: php-ctype
BuildRequires: php-dom
-## phpcompatinfo (computed from version 2.6.0)
+## phpcompatinfo (computed from version 2.7.0)
BuildRequires: php-iconv
BuildRequires: php-json
BuildRequires: php-mbstring
@@ -56,13 +58,14 @@ BuildRequires: php-spl
# composer.json
Requires: php(language) >= %{php_min_ver}
-# phpcompatinfo (computed from version 2.6.0)
Requires: php-ctype
Requires: php-dom
+# phpcompatinfo (computed from version 2.7.0)
Requires: php-iconv
Requires: php-mbstring
Requires: php-pcre
Requires: php-spl
+# notice: xml only detected for utf8_decode
# Composer
Provides: php-composer(%{composer_vendor}/%{composer_project}) = %{version}
@@ -82,6 +85,7 @@ refactoring work, we began a new parser.
%prep
%setup -qn %{github_name}-%{github_commit}
+%patch0 -p1 -b .pr170
: Docs
mkdir -p docs/{Parser,Serializer}
@@ -139,6 +143,11 @@ exit $RETURN_CODE
%changelog
+* Fri Oct 11 2019 Remi Collet <remi@remirepo.net> - 2.7.0-1
+- update to 2.7.0
+- add patch for PHP 7.4 from
+ https://github.com/Masterminds/html5-php/pull/170
+
* Sat May 25 2019 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.6.0-1
- Update to 2.6.0 (RHBZ #1687215)