summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-11-06 09:49:03 +0100
committerRemi Collet <remi@remirepo.net>2017-11-06 09:49:03 +0100
commit99f68c8adeef59f0e11c739dc7d9969e0bbfe621 (patch)
treec03536389c1c9887322b91df3c4cf5767ea28f24
parent46dd2dbbddd73fb6979a232c55c62d5e274f56bd (diff)
v5.2.26
-rw-r--r--php-PHPMailer.spec24
1 files changed, 9 insertions, 15 deletions
diff --git a/php-PHPMailer.spec b/php-PHPMailer.spec
index f9ae837..92118e2 100644
--- a/php-PHPMailer.spec
+++ b/php-PHPMailer.spec
@@ -9,18 +9,18 @@
#
%global github_user PHPMailer
%global github_app PHPMailer
-%global github_tag 2baf20b01690fba8cf720c1ebcf9b988eda50915
+%global github_tag 70362997bda4376378be7d92d81e2200550923f7
%global github_short %(c=%{github_tag}; echo ${c:0:7})
%global arch_name %{github_app}-%{github_tag}
Name: php-PHPMailer
Summary: PHP email transport class with a lot of features
-Version: 5.2.25
+Version: 5.2.26
Release: 1%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
-URL: http://phpmailer.worxware.com/
+URL: https://github.com/%{github_user}/%{github_app}
Source0: https://github.com/%{github_user}/%{github_app}/archive/%{github_tag}/%{github_app}-%{version}-%{github_short}.tar.gz
@@ -28,7 +28,6 @@ Source0: https://github.com/%{github_user}/%{github_app}/archive/%{github_tag}/%
# Don't rely on autoloader (for app which overides __construct)
Patch0: %{github_app}-path.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Buildarch: noarch
#for tests
@@ -92,8 +91,6 @@ Full Featured Email Transfer Class for PHP. PHPMailer features:
%install
#-------------------------------------------------------------------------------
-rm -rf "${RPM_BUILD_ROOT}"
-
# install directories.
install -p -d -m 755 "${RPM_BUILD_ROOT}%{_datadir}/php/PHPMailer/"
@@ -124,22 +121,15 @@ install -p -m 644 language/*.php \
php -r '
require "%{buildroot}%{_datadir}/php/PHPMailer/PHPMailerAutoload.php";
$mailer = new PHPMailer();
+echo "Version: " . $mailer->Version . "\n";
version_compare($mailer->Version, "%{version}", "=") or exit(1);
'
#-------------------------------------------------------------------------------
-%clean
-#-------------------------------------------------------------------------------
-
-rm -rf "${RPM_BUILD_ROOT}"
-
-
-#-------------------------------------------------------------------------------
%files -f files.list
#-------------------------------------------------------------------------------
-%defattr(-, root, root, -)
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc examples
@@ -150,8 +140,12 @@ rm -rf "${RPM_BUILD_ROOT}"
%changelog
-* Mon Aug 28 2017 Remi Collet <remi@remirepo.net> - 5.2.25-1
+* Mon Nov 6 2017 Remi Collet <remi@remirepo.net> - 5.2.26-1
+- Update to 5.2.26
+
+* Mon Aug 28 2017 Remi Collet <remi@remirepo.net> - 5.2.25-2
- Update to 5.2.25
+- fix URL
* Thu Jul 27 2017 Patrick Monnerat <patrick@monnerat.net> 5.2.24-1
- Update to 5.2.24: fixes XSS vulnerability CVE-2017-11503.