From 99f68c8adeef59f0e11c739dc7d9969e0bbfe621 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 6 Nov 2017 09:49:03 +0100 Subject: v5.2.26 --- php-PHPMailer.spec | 24 +++++++++--------------- 1 file 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 - 5.2.25-1 +* Mon Nov 6 2017 Remi Collet - 5.2.26-1 +- Update to 5.2.26 + +* Mon Aug 28 2017 Remi Collet - 5.2.25-2 - Update to 5.2.25 +- fix URL * Thu Jul 27 2017 Patrick Monnerat 5.2.24-1 - Update to 5.2.24: fixes XSS vulnerability CVE-2017-11503. -- cgit