- fix jdk7 build (Fedora patch)

OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-commons?expand=0&rev=6
This commit is contained in:
Michal Vyskocil 2012-06-18 13:48:18 +00:00 committed by Git OBS Bridge
parent dd6e3c12be
commit 399413cb74
3 changed files with 1066 additions and 8 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 18 13:46:01 UTC 2012 - mvyskocil@suse.cz
- fix jdk7 build (Fedora patch)
-------------------------------------------------------------------
Wed Nov 3 13:47:59 UTC 2010 - mvyskocil@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package xmlgraphics-commons (Version 1.4)
# spec file for package xmlgraphics-commons
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2000-2008, JPackage Project
# All rights reserved.
#
@ -22,22 +22,23 @@
Name: xmlgraphics-commons
Version: 1.4
Release: 1
Release: 0
Summary: XML Graphics Commons
License: Apache-2.0
Group: Development/Libraries/Java
License: ASL 2.0
Url: http://xmlgraphics.apache.org/
Source0: http://www.apache.org/dist/xmlgraphics/commons/source/xmlgraphics-commons-%{version}-src.tar.gz
Patch0: xmlgraphics-commons-build_xml.patch
Patch1: xmlgraphics-commons-java7.patch
BuildArch: noarch
BuildRequires: jpackage-utils >= 1.7.4
BuildRequires: java-devel >= 1.5.0
BuildRequires: ant >= 1.6.5
BuildRequires: ant-junit
BuildRequires: xmlgraphics-batik
BuildRequires: jakarta-commons-io >= 1.1
BuildRequires: jakarta-commons-logging
BuildRequires: java-devel >= 1.5.0
BuildRequires: jpackage-utils >= 1.7.4
BuildRequires: junit
BuildRequires: xmlgraphics-batik
Requires: jakarta-commons-io >= 1.1
Requires: jakarta-commons-logging
Requires(post): jpackage-utils >= 1.7.4
@ -54,7 +55,6 @@ Graphics2D implementations that let you generate PDF &
PostScript files, and much more.
%package javadoc
License: ASL 2.0
Summary: Javadoc for %{name}
Group: Documentation/HTML
@ -65,6 +65,7 @@ Group: Documentation/HTML
%prep
%setup -q %{name}-%{version}
%patch0 -p0
%patch1 -p0
find . -name "*.jar" | xargs rm
%build