[javamail] Update to upstream 1.5.2 using upstream tarball.
Alexander Kurtakov
akurtakov at fedoraproject.org
Fri Mar 6 12:58:11 UTC 2015
commit 91bc68cdb3c0b35d28c6b2def82efd266df0cab0
Author: Alexander Kurtakov <akurtako at redhat.com>
Date: Fri Mar 6 14:58:07 2015 +0200
Update to upstream 1.5.2 using upstream tarball.
.gitignore | 1 +
javamail.spec | 14 +++++++-------
sources | 2 +-
3 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 70771a1..a2e0a35 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ mail-1.4.3-sources.jar
/javamail-1.4.6.tar.xz
/javamail-1.5.0.tar.xz
/javamail-1.5.1.tar.xz
+/javamail-1.5.2-src.zip
diff --git a/javamail.spec b/javamail.spec
index b2f819c..c20b4a6 100644
--- a/javamail.spec
+++ b/javamail.spec
@@ -1,15 +1,12 @@
Name: javamail
-Version: 1.5.1
-Release: 5%{?dist}
+Version: 1.5.2
+Release: 1%{?dist}
Summary: Java Mail API
License: CDDL or GPLv2 with exceptions
URL: http://www.oracle.com/technetwork/java/javamail
BuildArch: noarch
-# hg clone https://hg.java.net/hg/javamail~mercurial
-# (cd ./javamail~mercurial && hg archive -r JAVAMAIL-%(sed s/\\./_/g <<<"%{version}") ../%{name}-%{version})
-# tar caf %{name}-%{version}.tar.xz %{name}-%{version}
-Source: %{name}-%{version}.tar.xz
+Source: https://java.net/projects/javamail/downloads/download/source/javamail-%{version}-src.zip
BuildRequires: maven-local
BuildRequires: mvn(junit:junit)
@@ -38,7 +35,7 @@ Summary: Javadoc for %{name}
%prep
-%setup -q
+%setup -q -c
add_dep() {
%pom_xpath_inject pom:project "<dependencies/>" ${2}
@@ -88,6 +85,9 @@ ln -sf ../%{name}/javax.mail.jar %{buildroot}%{_javadir}/javax.mail/
%doc mail/src/main/resources/META-INF/LICENSE.txt
%changelog
+* Fri Mar 6 2015 Alexander Kurtakov <akurtako at redhat.com> 1.5.2-1
+- Update to upstream 1.5.2 using upstream tarball.
+
* Fri Mar 6 2015 Alexander Kurtakov <akurtako at redhat.com> 1.5.1-5
- Remove javax.activation:activation dependency.
diff --git a/sources b/sources
index 6bb2be1..419b9da 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fed1ea5d31e036e63d994ac4e8bbbaf1 javamail-1.5.1.tar.xz
+1af1a1b15f784c27b5b257a1b005a1be javamail-1.5.2-src.zip
More information about the scm-commits
mailing list