diff --git a/xmlrpc.spec b/xmlrpc.spec index 25ed4bb..5ca273f 100644 --- a/xmlrpc.spec +++ b/xmlrpc.spec @@ -32,38 +32,40 @@ %define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}} -%define section free - -Name: xmlrpc -Version: 2.0.1 -Release: 3jpp.2 -Epoch: 0 -Summary: Java XML-RPC implementation -License: Apache Software License -Group: Development/Java -Url: http://xml.apache.org/%{name}/ -Source0: http://www.apache.org/dist/ws/xmlrpc/source/xmlrpc-%{version}-src.tar.gz +Name: xmlrpc +Version: 2.0.1 +Release: 3jpp.2 +Epoch: 0 +Summary: Java XML-RPC implementation +License: Apache Software License +Group: Development/Java +Url: http://xml.apache.org/%{name}/ +Source0: http://www.apache.org/dist/ws/xmlrpc/source/xmlrpc-%{version}-src.tar.gz Patch0: %{name}-%{version}-jessie.patch -Requires: servletapi5 -Requires: jakarta-commons-httpclient -Requires: jakarta-commons-codec >= 1.3 -Requires: junit -BuildRequires: ant -BuildRequires: jpackage-utils >= 0:1.6 -BuildRequires: servletapi5 -BuildRequires: junit -BuildRequires: jakarta-commons-httpclient -BuildRequires: jakarta-commons-codec >= 1.3 + +BuildRequires: ant +BuildRequires: jpackage-utils >= 0:1.6 +BuildRequires: servletapi5 +BuildRequires: junit +BuildRequires: jakarta-commons-httpclient +BuildRequires: jakarta-commons-codec >= 1.3 BuildRequires: jsse +Requires: jpackage-utils >= 0:1.6 +Requires: servletapi5 +Requires: junit +Requires: jakarta-commons-httpclient +Requires: jakarta-commons-codec >= 1.3 +Requires: jsse + %if ! %{gcj_support} -Buildarch: noarch +Buildarch: noarch %endif -Buildroot: %{_tmppath}/%{name}-%{version}-buildroot +Buildroot: %{_tmppath}/%{name}-%{version}-buildroot %if %{gcj_support} -BuildRequires: java-gcj-compat-devel -Requires(post): java-gcj-compat -Requires(postun): java-gcj-compat +BuildRequires: java-gcj-compat-devel +Requires(post): java-gcj-compat +Requires(postun): java-gcj-compat %endif %description @@ -74,8 +76,8 @@ using the Helma library, all you should have to do is change the import statements in your code from helma.xmlrpc.* to org.apache.xmlrpc.*. %package javadoc -Summary: Javadoc for %{name} -Group: Development/Java +Summary: Javadoc for %{name} +Group: Development/Java Requires(post): %{__rm} Requires(postun): %{__rm} Requires(post): /bin/ln @@ -158,6 +160,7 @@ fi %changelog * Thu Mar 08 2007 Deepak Bhole 2.0.1-3jpp.2 - Add javax.net.ssl support to build org.apache.xmlrpc.secure.* +- Minor spec file cleanup * Fri Aug 04 2006 Vivek Lakshmanan - 0:2.0.1-3jpp.1 - Merge with latest from JPP.