summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json6
-rw-r--r--php-phpmailer7.spec18
2 files changed, 16 insertions, 8 deletions
diff --git a/composer.json b/composer.json
index 7b008b7..e762d59 100644
--- a/composer.json
+++ b/composer.json
@@ -49,14 +49,15 @@
},
"suggest": {
"decomplexity/SendOauth2": "Adapter for using XOAUTH2 authentication",
+ "ext-imap": "Needed to support advanced email address parsing according to RFC822",
"ext-mbstring": "Needed to send email in multibyte encoding charset or decode encoded addresses",
"ext-openssl": "Needed for secure SMTP sending and DKIM signing",
"greew/oauth2-azure-provider": "Needed for Microsoft Azure XOAUTH2 authentication",
"hayageek/oauth2-yahoo": "Needed for Yahoo XOAUTH2 authentication",
"league/oauth2-google": "Needed for Google XOAUTH2 authentication",
"psr/log": "For optional PSR-3 debug logging",
- "thenetworg/oauth2-azure": "Needed for Microsoft XOAUTH2 authentication",
- "symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)"
+ "symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)",
+ "thenetworg/oauth2-azure": "Needed for Microsoft XOAUTH2 authentication"
},
"autoload": {
"psr-4": {
@@ -71,6 +72,7 @@
"license": "LGPL-2.1-only",
"scripts": {
"check": "./vendor/bin/phpcs",
+ "style": "./vendor/bin/phpcbf",
"test": "./vendor/bin/phpunit --no-coverage",
"coverage": "./vendor/bin/phpunit",
"lint": [
diff --git a/php-phpmailer7.spec b/php-phpmailer7.spec
index 5e45cda..24f10d3 100644
--- a/php-phpmailer7.spec
+++ b/php-phpmailer7.spec
@@ -1,4 +1,4 @@
-# remirepo/fedora spec file for php-phpmailer6
+# remirepo/fedora spec file for php-phpmailer7
#
# SPDX-FileCopyrightText: Copyright 2017-2025 Remi Collet
# SPDX-License-Identifier: CECILL-2.1
@@ -7,7 +7,7 @@
# Please preserve changelog entries
#
# Github
-%global gh_commit d1ac35d784bf9f5e61b424901d5a014967f15b12
+%global gh_commit c7111310c6116ba508a6a170a89eaaed2129bd42
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner PHPMailer
%global gh_project PHPMailer
@@ -18,12 +18,12 @@
%global ns_vendor PHPMailer
%global ns_project PHPMailer
# don't change major version used in package name
-%global major 6
+%global major 7
%bcond_without tests
%global php_home %{_datadir}/php
Name: php-%{pk_project}%{major}
-Version: 6.12.0
+Version: 7.0.0
Release: 1%{?dist}
Summary: Full-featured email creation and transfer class for PHP
@@ -76,14 +76,15 @@ Requires: php-mbstring
Requires: php-openssl
# From composer.json, "suggest": {
# "decomplexity/SendOauth2": "Adapter for using XOAUTH2 authentication",
+# "ext-imap": "Needed to support advanced email address parsing according to RFC822",
# "ext-mbstring": "Needed to send email in multibyte encoding charset or decode encoded addresses",
# "ext-openssl": "Needed for secure SMTP sending and DKIM signing",
# "greew/oauth2-azure-provider": "Needed for Microsoft Azure XOAUTH2 authentication",
# "hayageek/oauth2-yahoo": "Needed for Yahoo XOAUTH2 authentication",
# "league/oauth2-google": "Needed for Google XOAUTH2 authentication",
# "psr/log": "For optional PSR-3 debug logging",
-# "thenetworg/oauth2-azure": "Needed for Microsoft XOAUTH2 authentication",
-# "symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)"
+# "symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)",
+# "thenetworg/oauth2-azure": "Needed for Microsoft XOAUTH2 authentication"
Suggests: php-composer(psr/log)
# Autoloader
Requires: php-composer(fedora/autoloader)
@@ -203,6 +204,11 @@ exit $ret
%changelog
+* Thu Oct 16 2025 Remi Collet <remi@remirepo.net> - 7.0.0-1
+- update to 7.0.0
+- rename to php-phpmailer7
+- install in /usr/share/php/PHPMailer/PHPMailer7
+
* Thu Oct 16 2025 Remi Collet <remi@remirepo.net> - 6.12.0-1
- update to 6.12.0