summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-02-06 08:32:51 +0100
committerRemi Collet <fedora@famillecollet.com>2017-02-06 08:32:51 +0100
commit87df69ef2153294569ae128bc7378b94ce14c1c6 (patch)
treeaa92ea758c83aeb28a9fe58450042e23322b1f3b
parent23886f9e48c6be25be0bfe27ee689f5e655a7d18 (diff)
php-tecnickcom-tc-lib-pdf-parser: 2.3.4
-rw-r--r--composer.json3
-rw-r--r--php-tecnickcom-tc-lib-pdf-parser.spec32
2 files changed, 16 insertions, 19 deletions
diff --git a/composer.json b/composer.json
index ad541e9..7267f32 100644
--- a/composer.json
+++ b/composer.json
@@ -14,7 +14,8 @@
],
"require": {
"php": ">=5.4",
- "tecnickcom/tc-lib-pdf-filter": "^1.3.3"
+ "ext-pcre": "*",
+ "tecnickcom/tc-lib-pdf-filter": "^1.3.4"
},
"require-dev": {
"apigen/apigen" : "^4.1.2",
diff --git a/php-tecnickcom-tc-lib-pdf-parser.spec b/php-tecnickcom-tc-lib-pdf-parser.spec
index a60dbc0..7493e2d 100644
--- a/php-tecnickcom-tc-lib-pdf-parser.spec
+++ b/php-tecnickcom-tc-lib-pdf-parser.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 8194f01ba1069844b5d960961b98a32e2ab5ffc7
+%global gh_commit 5ab2f3207c623c191ac6d2acebde7e6701e0b526
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global c_vendor tecnickcom
%global gh_owner tecnickcom
@@ -15,7 +15,7 @@
%global with_tests 0%{!?_without_tests:1}
Name: php-%{gh_owner}-%{gh_project}
-Version: 2.3.3
+Version: 2.3.4
Release: 1%{?dist}
Summary: PHP library to parse PDF documents
@@ -36,12 +36,14 @@ BuildRequires: php-pcre
# From composer.json, "require": {
# "php": ">=5.4"
-# "tecnick.com/tc-lib-pdf-filter": "^1.3.3"
+# "ext-pcre": "*",
+# "tecnickcom/tc-lib-pdf-filter": "^1.3.4"
Requires: php(language) >= 5.4
+Requires: php-pcre
Requires: php-composer(%{c_vendor}/tc-lib-pdf-filter) >= 1.3.3
Requires: php-composer(%{c_vendor}/tc-lib-pdf-filter) < 2
# From phpcompatinfo report for version 2.1.0
-Requires: php-pcre
+# None
# Composer
Provides: php-composer(%{c_vendor}/%{gh_project}) = %{version}
@@ -90,21 +92,12 @@ require '%{buildroot}%{php_project}/autoload.php';
require '%{php_project}/../Filter/autoload.php';
EOF
-# remirepo:11
-run=0
ret=0
-if which php56; then
- php56 %{_bindir}/phpunit || ret=1
- run=1
-fi
-if which php71; then
- php71 %{_bindir}/phpunit || ret=1
- run=1
-fi
-if [ $run -eq 0 ]; then
-%{_bindir}/phpunit --verbose
-# remirepo:2
-fi
+for cmd in php56 php70 php71 php; do
+ if which $cmd; then
+ $cmd %{_bindir}/phpunit --verbose || ret=1
+ fi
+done
exit $ret
%else
: Test suite disabled
@@ -125,6 +118,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Feb 6 2017 Remi Collet <remi@remirepo.net> - 2.3.4-1
+- update to 2.3.4 (no change)
+
* Fri Sep 2 2016 Remi Collet <remi@fedoraproject.org> - 2.3.3-1
- update to 2.3.3 (no change)
- raise dependency on tecnickcom/tc-lib-pdf-filter >= 1.3.3