summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-12-29 13:07:59 +0100
committerRemi Collet <fedora@famillecollet.com>2016-12-29 13:07:59 +0100
commita0a5e34007bcdb13c71992a83b368c7b427498f4 (patch)
tree750a01b98770d30d0d1b5504b7d2e0db60875e0f
parent721802783b060e6405852fa825b7c28ddfe7f544 (diff)
php-swiftmailer: 5.4.5
-rw-r--r--composer.json3
-rw-r--r--php-swiftmailer.spec16
2 files changed, 13 insertions, 6 deletions
diff --git a/composer.json b/composer.json
index 86691bd..8335f58 100644
--- a/composer.json
+++ b/composer.json
@@ -18,7 +18,8 @@
"php": ">=5.3.3"
},
"require-dev": {
- "mockery/mockery": "~0.9.1"
+ "mockery/mockery": "~0.9.1",
+ "symfony/phpunit-bridge": "~3.2"
},
"autoload": {
"files": ["lib/swift_required.php"]
diff --git a/php-swiftmailer.spec b/php-swiftmailer.spec
index d60ea01..955daa1 100644
--- a/php-swiftmailer.spec
+++ b/php-swiftmailer.spec
@@ -6,7 +6,7 @@
#
# Please preserve changelog entries
#
-%global gh_commit 545ce9136690cea74f98f86fbb9c92dd9ab1a756
+%global gh_commit cd142238a339459b10da3d8234220963f392540c
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner swiftmailer
%global gh_project swiftmailer
@@ -14,7 +14,7 @@
%global php_home %{_datadir}/php
Name: php-%{gh_project}
-Version: 5.4.4
+Version: 5.4.5
Release: 1%{?dist}
Summary: Free Feature-rich PHP Mailer
@@ -27,10 +27,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%if %{with_tests}
BuildRequires: php-composer(phpunit/phpunit)
-BuildRequires: php-composer(theseer/autoload)
+BuildRequires: php-fedora-autoloader-devel
# From composer.json, "require-dev": {
-# "mockery/mockery": "~0.9.1"
+# "mockery/mockery": "~0.9.1",
+# "symfony/phpunit-bridge": "~3.2"
BuildRequires: php-composer(mockery/mockery) >= 0.9.1
+BuildRequires: php-composer(symfony/phpunit-bridge) >= 0.9.1
%endif
# From composer.json, "require": {
@@ -96,10 +98,11 @@ cp -pr lib/dependency_maps %{buildroot}/%{php_home}/Swift/
%if %{with_tests}
: Use installed tree and autoloader
mkdir vendor
-%{_bindir}/phpab --output vendor/autoload.php tests
+%{_bindir}/phpab --format fedora --output vendor/autoload.php tests
cat << 'EOF' | tee -a vendor/autoload.php
require_once '%{buildroot}/%{php_home}/Swift/swift_required.php';
require_once '%{php_home}/Mockery/autoload.php';
+\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Bridge\\PhpUnit\\', '%{php_home}/Symfony/Bridge/PhpUnit');
EOF
TMPDIR=$(mktemp -d $PWD/rpmtests-XXXXXXXX)
@@ -146,6 +149,9 @@ rm -rf %{buildroot}
%changelog
+* Thu Dec 29 2016 Remi Collet <remi@fedoraproject.org> - 5.4.5-1
+- update to 5.4.5
+
* Thu Nov 24 2016 Remi Collet <remi@fedoraproject.org> - 5.4.4-1
- update to 5.4.4