[xmlrpc] Add OSGi info for xmlrpc-server jar.
swagiaal
swagiaal at fedoraproject.org
Thu Jul 10 13:46:19 UTC 2014
commit db647bf94a16172f76eb6157c2f5dd968dd5beba
Author: Sami Wagiaalla <swagiaal at redhat.com>
Date: Thu Jul 10 09:46:22 2014 -0400
Add OSGi info for xmlrpc-server jar.
- export o.a.xmlrpc from xmlrpc-client jar.
xmlrpc-client-addosgimanifest.patch | 2 +-
xmlrpc-server-addosgimanifest.patch | 15 +++++++++++++++
xmlrpc.spec | 10 +++++++++-
3 files changed, 25 insertions(+), 2 deletions(-)
---
diff --git a/xmlrpc-client-addosgimanifest.patch b/xmlrpc-client-addosgimanifest.patch
index 1b39a19..437d78f 100644
--- a/xmlrpc-client-addosgimanifest.patch
+++ b/xmlrpc-client-addosgimanifest.patch
@@ -10,7 +10,7 @@
+ <Bundle-SymbolicName>org.apache.xmlrpc</Bundle-SymbolicName>
+ <Bundle-Version>${project.version}</Bundle-Version>
+ <Require-Bundle>org.apache.xmlrpc.common</Require-Bundle>
-+ <Export-Package>org.apache.xmlrpc.client, org.apache.xmlrpc.client.util</Export-Package>
++ <Export-Package>org.apache.xmlrpc, org.apache.xmlrpc.client, org.apache.xmlrpc.client.util</Export-Package>
+ <Import-Package>javax.xml.namespace, javax.xml.parsers, org.apache.commons.httpclient, org.apache.commons.httpclient.auth, org.apache.commons.httpclient.methods, org.apache.commons.httpclient.params, org.apache.commons.logging, org.apache.ws.commons.serialize, org.apache.ws.commons.util, org.w3c.dom, org.xml.sax, org.xml.sax.helpers</Import-Package>
+ <Bundle-RequiredExecutionEnvironment>J2SE-1.4, CDC-1.0/Foundation-1.0, J2SE-1.3</Bundle-RequiredExecutionEnvironment>
+ <Eclipse-BuddyPolicy>dependent</Eclipse-BuddyPolicy>
diff --git a/xmlrpc-server-addosgimanifest.patch b/xmlrpc-server-addosgimanifest.patch
new file mode 100644
index 0000000..af54e20
--- /dev/null
+++ b/xmlrpc-server-addosgimanifest.patch
@@ -0,0 +1,15 @@
+--- pom.xml 2014-07-07 11:24:52.668887604 -0400
++++ pom.xml.sav 2014-07-07 11:25:06.174916380 -0400
+@@ -48,6 +48,12 @@
+ <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
+ <Implementation-Vendor>Apache Software Foundation</Implementation-Vendor>
+ <Implementation-Version>${project.version}</Implementation-Version>
++ <Bundle-ManifestVersion>1</Bundle-ManifestVersion>
++ <Bundle-Name>%Bundle-Name</Bundle-Name>
++ <Bundle-SymbolicName>org.apache.xmlrpc.server</Bundle-SymbolicName>
++ <Bundle-Version>${project.version}</Bundle-Version>
++ <Require-Bundle>org.apache.xmlrpc.common</Require-Bundle>
++ <Export-Package>org.apache.xmlrpc.server,org.apache.xmlrpc.webserver</Export-Package>
+ </manifestEntries>
+ </archive>
+ </configuration>
diff --git a/xmlrpc.spec b/xmlrpc.spec
index 258df85..372a680 100644
--- a/xmlrpc.spec
+++ b/xmlrpc.spec
@@ -1,6 +1,6 @@
Name: xmlrpc
Version: 3.1.3
-Release: 10%{?dist}
+Release: 11%{?dist}
Epoch: 1
Summary: Java XML-RPC implementation
License: ASL 2.0
@@ -11,6 +11,7 @@ Source0: http://www.apache.org/dist/ws/xmlrpc/sources/apache-xmlrpc-%{ver
Patch0: %{name}-client-addosgimanifest.patch
Patch1: %{name}-common-addosgimanifest.patch
Patch2: %{name}-javax-methods.patch
+Patch3: %{name}-server-addosgimanifest.patch
BuildRequires: maven-local
BuildRequires: mvn(org.apache:apache:pom:)
@@ -68,6 +69,9 @@ popd
pushd common
%patch1 -b .sav
popd
+pushd server
+%patch3 -b .sav
+popd
sed -i 's/\r//' LICENSE.txt
@@ -94,6 +98,10 @@ sed -i 's/\r//' LICENSE.txt
%doc LICENSE.txt NOTICE.txt
%changelog
+* Thu Jul 10 2014 Sami Wagiaalla <swagiaal at redhat.com> - 1:3.1.3-10
+- Add OSGi info for xmlrpc-server jar.
+- export o.a.xmlrpc from xmlrpc-client jar.
+
* Mon Jun 16 2014 Mikolaj Izdebski <mizdebsk at redhat.com> - 1:3.1.3-10
- Use servlet 3.1.0 API
More information about the scm-commits
mailing list