- Fix Group tags

- Remove '.' at end of Summary
- Add dos2unix BR and fix line endings
- Use upstream tarball
This commit is contained in:
Andrew Overholt 2010-01-11 15:24:31 +00:00
parent f73c744374
commit d374ae37f6
3 changed files with 21 additions and 16 deletions

View File

@ -2,3 +2,4 @@ xml-commons-resolver-1.1-RHCLEAN.tar.bz2
xml-commons-resolver-1.1
noarch
*.src.rpm
xml-commons-resolver-1.1.tar.gz

View File

@ -1 +1,2 @@
e72bd3cbc4e5972d15f6a8f9842482e0 xml-commons-resolver-1.1-RHCLEAN.tar.bz2
deb95bdf88687430445d34e8c11d475e xml-commons-resolver-1.1.tar.gz

View File

@ -1,18 +1,13 @@
%define _with_gcj_support 1
%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
%define gcj_support 1
Name: xml-commons-resolver
Version: 1.1
Release: 4.16%{?dist}
Release: 4.17%{?dist}
Epoch: 0
Summary: Resolver subproject of xml-commons.
Summary: Resolver subproject of xml-commons
License: ASL 1.1
URL: http://xml.apache.org/commons/
Source0: xml-commons-resolver-1.1-RHCLEAN.tar.bz2
Source0: http://www.apache.org/dist/xml/commons/xml-commons-resolver-1.1.tar.gz
Source1: xml-commons-resolver-resolver.sh
Source2: xml-commons-resolver-xread.sh
Source3: xml-commons-resolver-xparse.sh
@ -25,9 +20,10 @@ Requires: xml-commons-apis
BuildRequires: java-devel >= 1.6.0
BuildRequires: ant
BuildRequires: jpackage-utils >= 0:1.5
BuildRequires: dos2unix
#BuildRequires: %{_bindir}/xsltproc
#BuildRequires: docbook-style-xsl
Group: Text Processing/Markup/XML
Group: Development/Libraries
%if ! %{gcj_support}
BuildArch: noarch
%endif
@ -44,7 +40,7 @@ Resolver subproject of xml-commons.
%package javadoc
Summary: Javadoc for %{name}
Group: Development/Documentation
Group: Documentation
# for /bin/rm and /bin/ln
Requires(post): coreutils
Requires(postun): coreutils
@ -60,6 +56,7 @@ Javadoc for %{name}.
# remove all binary libs and prebuilt javadocs
find . -name "*.jar" -exec rm -f {} \;
rm -rf docs
dos2unix KEYS LICENSE.resolver.txt
%build
perl -p -i -e 's|call Resolver|call resolver|g' resolver.xml
@ -149,6 +146,12 @@ fi
%{_javadocdir}/%{name}-%{version}
%changelog
* Mon Jan 11 2010 Andrew Overholt <overholt@redhat.com> 0:1.1-4.17
- Fix Group tags
- Remove '.' at end of Summary
- Add dos2unix BR and fix line endings
- Use upstream tarball
* Sat Aug 8 2009 Ville Skyttä <ville.skytta at iki.fi> - 0:1.1-4.16
- Fix specfile UTF-8 encoding.