[apache-poi] Add CVE-2012-0213 patch to spec
Orion Poplawski
orion at fedoraproject.org
Fri May 11 04:13:32 UTC 2012
commit 71b779afafc06f47cdcc69a253a877c2dec5b63e
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Thu May 10 21:58:35 2012 -0600
Add CVE-2012-0213 patch to spec
apache-poi.spec | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/apache-poi.spec b/apache-poi.spec
index e03b277..d04dc25 100644
--- a/apache-poi.spec
+++ b/apache-poi.spec
@@ -15,6 +15,8 @@ Source1: http://www.ecma-international.org/publications/files/ECMA-ST/Off
Source2: http://repo2.maven.org/maven2/org/apache/poi/poi/%{version}/poi-%{version}.pom
#Force compile of xsds if disconnected
Patch1: %{name}-3.7-compile-xsds.patch
+# https://bugzilla.redhat.com/show_bug.cgi?id=799078
+Patch2: apache-poi-CVE-2012-0213.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
ExcludeArch: ppc64
@@ -90,6 +92,7 @@ The manual for %{name}.
%prep
%setup -q -n poi-%{version}%{?rcver}
%patch1 -p1 -b .compile-xsds
+%patch2 -p0 -b .CVE-2012-0213
find -name '*.class' -exec rm -f '{}' \;
find -name '*.jar' -exec rm -f '{}' \;
mkdir lib ooxml-lib
More information about the scm-commits
mailing list