From de8160c9dfa6e0e899a89a3eb8207a7613303e4f8744352f49cec7f9fc0e4455 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 8 Apr 2019 11:14:48 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/javamail?expand=0&rev=8 --- javamail.changes | 6 ++++++ javamail.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/javamail.changes b/javamail.changes index 64e9d0c..6e9234f 100644 --- a/javamail.changes +++ b/javamail.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 8 11:14:08 UTC 2019 - Fridrich Strba + +- Do not depend on the jvnet-parent pom since we are not building + with maven + ------------------------------------------------------------------- Tue Jan 22 09:24:23 UTC 2019 - Fridrich Strba diff --git a/javamail.spec b/javamail.spec index d40ff90..dfa9f97 100644 --- a/javamail.spec +++ b/javamail.spec @@ -29,9 +29,7 @@ Patch0: %{name}-javadoc.patch BuildRequires: ant BuildRequires: fdupes BuildRequires: javapackages-local -BuildRequires: mvn(net.java:jvnet-parent:pom:) BuildRequires: perl-XML-XPath -Requires: mvn(net.java:jvnet-parent:pom:) # Adapted from the classpathx-mail (and JPackage glassfish-javamail) Provides. Provides: javamail-monolithic = %{version}-%{release} Provides: javax.mail @@ -79,6 +77,8 @@ add_dep javax.mail mailapijar rm mail/src/test/java/com/sun/mail/imap/IMAPIdleUntaggedResponseTest.java rm mail/src/test/java/com/sun/mail/smtp/SMTPWriteTimeoutTest.java +%pom_remove_parent . + %build %{ant} -Djavac.source=1.6 -Djavac.target=1.6 jar jars docs