[packages/java-mail] Release 2 (by relup.sh)
arekm
arekm at pld-linux.org
Sat Apr 4 15:05:18 CEST 2026
commit 37728141e63a2368677bb7b981e39cfe238b55af
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Apr 4 15:05:10 2026 +0200
Release 2 (by relup.sh)
java-mail.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/java-mail.spec b/java-mail.spec
index 1fffc01..c99bbe7 100644
--- a/java-mail.spec
+++ b/java-mail.spec
@@ -2,13 +2,15 @@
# Conditional build:
%bcond_without javadoc # don't build javadoc
+%{?use_default_jdk:%use_default_jdk 8}
+
%define srcname mail
%define ver %(echo %{version} | tr . _)
Summary: JavaMail - Java mail system
Summary(pl.UTF-8): JavaMail - system pocztowy w Javie
Name: java-mail
Version: 1.4.4
-Release: 1
+Release: 2
License: CDDL
Group: Libraries/Java
#Source0: http://download.oracle.com/otn-pub/java/javamail/%{version}/javamail%{ver}.zip
@@ -16,14 +18,13 @@ Source0: http://download.java.net/maven/2/com/sun/mail/javax.mail/%{version}/jav
# Source0-md5: 605fd51ed38eb2af777d40fc29454008
URL: http://www.oracle.com/technetwork/java/javamail/index.html
BuildRequires: java(jaf)
-BuildRequires: jdk
+%buildrequires_jdk
BuildRequires: jpackage-utils
BuildRequires: rpm-javaprov
-BuildRequires: rpmbuild(macros) >= 1.300
+BuildRequires: rpmbuild(macros) >= 1.556
Requires: java(jaf)
Requires: jpackage-utils
Provides: java(javamail) = %{version}-%{release}
-Obsoletes: java(javamail)
Obsoletes: javamail
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/java-mail.git/commitdiff/37728141e63a2368677bb7b981e39cfe238b55af
More information about the pld-cvs-commit
mailing list