| |
@@ -1,6 +1,6 @@
|
| |
Name: javamail
|
| |
Version: 1.6.3
|
| |
- Release: 3%{?dist}
|
| |
+ Release: 4%{?dist}
|
| |
Summary: Java Mail API
|
| |
License: EPL-2.0 or GPLv2 with exceptions
|
| |
URL: https://github.com/eclipse-ee4j/javamail
|
| |
@@ -10,12 +10,10 @@
|
| |
|
| |
BuildRequires: maven-local
|
| |
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
|
| |
- BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
| |
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
| |
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
| |
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
| |
BuildRequires: mvn(org.eclipse.ee4j:project:pom:)
|
| |
- BuildRequires: mvn(org.glassfish.hk2:osgiversion-maven-plugin)
|
| |
BuildRequires: mvn(com.sun.activation:jakarta.activation)
|
| |
|
| |
# Adapted from the classpathx-mail (and JPackage glassfish-javamail) Provides.
|
| |
@@ -40,6 +38,9 @@
|
| |
|
| |
%pom_disable_module android
|
| |
|
| |
+ %pom_remove_plugin :osgiversion-maven-plugin
|
| |
+ %pom_remove_plugin :maven-enforcer-plugin
|
| |
+
|
| |
# Remove profiles containing demos and other stuff that is not
|
| |
# supposed to be deployable.
|
| |
%pom_xpath_remove /pom:project/pom:profiles
|
| |
@@ -58,7 +59,7 @@
|
| |
|
| |
# skip javadoc generation
|
| |
# ignore test failures
|
| |
- %mvn_build -j -- -Dmaven.test.failure.ignore=true
|
| |
+ %mvn_build -j -- -Dmaven.test.failure.ignore=true -Dmail.osgiversion=1.6.3
|
| |
|
| |
%install
|
| |
%mvn_install
|
| |
@@ -72,6 +73,9 @@
|
| |
%{_javadir}/javax.mail/
|
| |
|
| |
%changelog
|
| |
+ * Fri May 31 2019 Jie Kang <jkang@redhat.com> - 1.6.3-4
|
| |
+ - Remove unnecessary plugins
|
| |
+
|
| |
* Fri Jan 4 2019 Jie Kang <jkang@redhat.com> - 1.6.3-3
|
| |
- Update BRs, fix setup process and fix build process
|
| |
|
| |
Title says it all.