summaryrefslogtreecommitdiffstats
path: root/php-phpmailer6.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-phpmailer6.spec')
-rw-r--r--php-phpmailer6.spec16
1 files changed, 11 insertions, 5 deletions
diff --git a/php-phpmailer6.spec b/php-phpmailer6.spec
index 2ca78e9..c1d430e 100644
--- a/php-phpmailer6.spec
+++ b/php-phpmailer6.spec
@@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-phpmailer6
#
-# Copyright (c) 2017-2023 Remi Collet
+# Copyright (c) 2017-2024 Remi Collet
# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -24,7 +24,7 @@
Name: php-%{pk_project}%{major}
Version: 6.9.1
-Release: 1%{?dist}
+Release: 6%{?dist}
Summary: Full-featured email creation and transfer class for PHP
License: LGPL-2.1-only
@@ -60,7 +60,7 @@ BuildRequires: php-fedora-autoloader-devel
# "squizlabs/php_codesniffer": "^3.7.2",
# "yoast/phpunit-polyfills": "^1.0.4"
%global phpunit %{_bindir}/phpunit7
-BuildRequires: php-composer(yoast/phpunit-polyfills) >= 1.0.0
+BuildRequires: (php-composer(yoast/phpunit-polyfills) >= 1.0.4 with php-composer(yoast/phpunit-polyfills) < 2)
BuildRequires: %{phpunit}
BuildRequires: %{_sbindir}/smtp-sink
%endif
@@ -98,6 +98,8 @@ Requires: php-pcre
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Suggests: php-composer(psr/log)
%endif
+# Autoloader
+Requires: php-composer(fedora/autoloader)
Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
@@ -200,8 +202,6 @@ exit $ret
%files
-# remirepo:1
-%{!?_licensedir:%global license %%doc}
%license LICENSE
%license COMMITMENT
%doc *.md
@@ -211,6 +211,12 @@ exit $ret
%changelog
+* Fri Aug 30 2024 Remi Collet <remi@remirepo.net> - 6.9.1-6
+- fix build dependency on yoast/phpunit-polyfills 1.0.4
+
+* Sun Jun 30 2024 Remi Collet <remi@remirepo.net> - 6.9.1-4
+- add missing dependency on php-fedora-autoloader
+
* Mon Nov 27 2023 Remi Collet <remi@remirepo.net> - 6.9.1-1
- update to 6.9.1