[plexus-mail-sender/f18] Do not build test submodule to simplify dependencies

Stanislav Ochotnicky sochotni at fedoraproject.org
Thu Oct 11 09:28:28 UTC 2012


commit 957014c623a6a4e4cf9e101eb47cc3250fc4cdbf
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Thu Oct 11 11:07:42 2012 +0200

    Do not build test submodule to simplify dependencies

 plexus-mail-sender.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/plexus-mail-sender.spec b/plexus-mail-sender.spec
index ae7184f..427e093 100644
--- a/plexus-mail-sender.spec
+++ b/plexus-mail-sender.spec
@@ -32,7 +32,7 @@
 
 Name:           plexus-mail-sender
 Version:        1.0
-Release:        0.a2.21%{?dist}.1
+Release:        0.a2.22%{?dist}
 Epoch:          0
 Summary:        Plexus Mail Sender
 License:        MIT and ASL 1.1
@@ -60,7 +60,6 @@ BuildRequires:  maven-resources-plugin
 BuildRequires:  maven-site-plugin
 BuildRequires:  maven-surefire-plugin
 BuildRequires:  maven-doxia-sitetools
-BuildRequires:  dumbster
 BuildRequires:  saxon
 BuildRequires:  saxon-scripts
 BuildRequires:  java-devel >= 1:1.6.0
@@ -96,6 +95,7 @@ mv release-pom.xml pom.xml
 
 pushd plexus-mail-senders
 mv release-pom.xml pom.xml
+%pom_xpath_remove "modules/module [text()='plexus-mail-sender-test']"
 for mod in javamail simple test;do
     pushd %{name}-$mod
     mv release-pom.xml pom.xml
@@ -119,7 +119,7 @@ mvn-rpmbuild \
 install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/plexus
 install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
 pushd plexus-mail-senders
-for mod in javamail simple test;do
+for mod in javamail simple;do
     pushd %{name}-$mod
     install -pm 644 target/%{name}-$mod-%{namedversion}*.jar \
             $RPM_BUILD_ROOT%{_javadir}/plexus/mail-sender-$mod.jar
@@ -152,6 +152,9 @@ cp -pr target/site/apidocs/* \
 %{_javadocdir}/%{name}
 
 %changelog
+* Thu Oct 11 2012 Stanislav Ochotnicky <sochotnicky at redhat.com> - 0:1.0-0.a2.22
+- Do not build test submodule to simplify dependencies
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0:1.0-0.a2.21.1
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list