- really apply CVE-2012-5783 patch

- build with java 6 and higher

OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-httpclient?expand=0&rev=9
This commit is contained in:
Michal Vyskocil 2013-10-25 08:31:37 +00:00 committed by Git OBS Bridge
parent 6820caac0b
commit 58ef1825d5
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Oct 25 08:30:33 UTC 2013 - mvyskocil@suse.com
- really apply CVE-2012-5783 patch
- build with java 6 and higher
-------------------------------------------------------------------
Thu Mar 28 10:54:13 UTC 2013 - mvyskocil@suse.com

View File

@ -38,11 +38,10 @@ BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ant
BuildRequires: ant-junit
BuildRequires: commons-codec
BuildRequires: commons-logging >= 1.0.3
#BuildRequires: java-javadoc
#BuildRequires: apache-commons-logging-javadoc
BuildRequires: java-devel
BuildRequires: java-devel >= 1.6.0
BuildRequires: junit
Requires: commons-codec
@ -51,9 +50,9 @@ Requires: commons-logging >= 1.0.3
Provides: %{short_name} = %{version}
Provides: jakarta-%{short_name} = %{version}
Obsoletes: jakarta-%{short_name} <= %{version}
Obsoletes: jakarta-%{short_name} <= 3.1
Provides: jakarta-%{short_name}3 = %{version}
Obsoletes: jakarta-%{short_name}3 <= %{version}
Obsoletes: jakarta-%{short_name}3 <= 3.1
%description
Although the java.net package provides basic functionality for
@ -115,6 +114,7 @@ pushd src/conf
popd
%patch2
%patch3 -p1
# Use javax classes, not com.sun ones
# assume no filename contains spaces