[jbossws-common/f17] Fix missing Message.proprties file

Marek Goldmann goldmann at fedoraproject.org
Fri Jun 22 08:34:42 UTC 2012


commit a803a08da0f4d8a2f8c24bfea912fde4184edd50
Author: Marek Goldmann <goldmann at fedoraproject.org>
Date:   Fri Jun 22 10:34:28 2012 +0200

    Fix missing Message.proprties file

 jbossws-common.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/jbossws-common.spec b/jbossws-common.spec
index 61ffc4a..b9a9e96 100644
--- a/jbossws-common.spec
+++ b/jbossws-common.spec
@@ -3,7 +3,7 @@
 
 Name:             jbossws-common
 Version:          2.0.4
-Release:          1%{?dist}
+Release:          2%{?dist}
 Summary:          JBossWS Common
 Group:            Development/Libraries
 License:          LGPLv2+
@@ -67,6 +67,10 @@ This package contains the API documentation for %{name}.
 
 %patch0 -p1
 
+# Message.properties is not included in jar, make it available
+mkdir -p src/main/resources/org/jboss/ws/common
+cp src/main/java/org/jboss/ws/common/Message.properties src/main/resources/org/jboss/ws/common/
+
 %build
 # many tests fail
 mvn-rpmbuild \
@@ -100,6 +104,9 @@ cp -rp target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
 %{_javadocdir}/%{name}
 
 %changelog
+* Fri Jun 22 2012 Marek Goldmann <mgoldman at redhat.com> 2.0.4-2
+- Fix missing Message.proprties file
+
 * Fri May 4 2012 Patryk Obara <pobara at redhat.com> 2.0.4-1
 - Initial packaging
 


More information about the scm-commits mailing list