summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-09-02 14:08:01 +0200
committerRemi Collet <fedora@famillecollet.com>2016-09-02 14:08:01 +0200
commit6586299a716cb839abcbe670c0236236b9a7c125 (patch)
treef42ae91c5827b4329a145a3499813b65a7de9309
parent65fa01793ccbd39b1b593ef1e6b03efb8ee702dd (diff)
php-tecnickcom-tc-lib-pdf-parser: 2.3.3 (no change)
-rw-r--r--php-tecnickcom-tc-lib-pdf-parser/composer.json2
-rw-r--r--php-tecnickcom-tc-lib-pdf-parser/php-tecnickcom-tc-lib-pdf-parser.spec31
2 files changed, 24 insertions, 9 deletions
diff --git a/php-tecnickcom-tc-lib-pdf-parser/composer.json b/php-tecnickcom-tc-lib-pdf-parser/composer.json
index 11b7822..ad541e9 100644
--- a/php-tecnickcom-tc-lib-pdf-parser/composer.json
+++ b/php-tecnickcom-tc-lib-pdf-parser/composer.json
@@ -14,7 +14,7 @@
],
"require": {
"php": ">=5.4",
- "tecnickcom/tc-lib-pdf-filter": "^1.3.0"
+ "tecnickcom/tc-lib-pdf-filter": "^1.3.3"
},
"require-dev": {
"apigen/apigen" : "^4.1.2",
diff --git a/php-tecnickcom-tc-lib-pdf-parser/php-tecnickcom-tc-lib-pdf-parser.spec b/php-tecnickcom-tc-lib-pdf-parser/php-tecnickcom-tc-lib-pdf-parser.spec
index 267de48..42119a1 100644
--- a/php-tecnickcom-tc-lib-pdf-parser/php-tecnickcom-tc-lib-pdf-parser.spec
+++ b/php-tecnickcom-tc-lib-pdf-parser/php-tecnickcom-tc-lib-pdf-parser.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 4d1ecdecd96dc6e770351cfca1aeaed72893bbfc
+%global gh_commit 8194f01ba1069844b5d960961b98a32e2ab5ffc7
%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.0
+Version: 2.3.3
Release: 1%{?dist}
Summary: PHP library to parse PDF documents
@@ -30,15 +30,15 @@ BuildArch: noarch
# For tests
BuildRequires: php-composer(phpunit/phpunit)
BuildRequires: php(language) >= 5.4
-BuildRequires: php-composer(%{c_vendor}/tc-lib-pdf-filter) >= 1.2.0
+BuildRequires: php-composer(%{c_vendor}/tc-lib-pdf-filter) >= 1.3.3
BuildRequires: php-pcre
%endif
# From composer.json, "require": {
# "php": ">=5.4"
-# "tecnick.com/tc-lib-pdf-filter": "^1.3.0"
+# "tecnick.com/tc-lib-pdf-filter": "^1.3.3"
Requires: php(language) >= 5.4
-Requires: php-composer(%{c_vendor}/tc-lib-pdf-filter) >= 1.3.0
+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
@@ -90,11 +90,22 @@ 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
-
-if which php70; then
- php70 %{_bindir}/phpunit --verbose
+# remirepo:2
fi
+exit $ret
%else
: Test suite disabled
%endif
@@ -114,6 +125,10 @@ rm -rf %{buildroot}
%changelog
+* 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
+
* Tue Jun 14 2016 Remi Collet <remi@fedoraproject.org> - 2.3.0-1
- update to 2.3.0 (no change)