Accepting request 1149533 from Java:packages

rpm 4.20 compat

OBS-URL: https://build.opensuse.org/request/show/1149533
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jdom?expand=0&rev=33
This commit is contained in:
Ana Guerrero 2024-02-22 19:56:09 +00:00 committed by Git OBS Bridge
commit 2e5a3ba6dd
2 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 21 10:46:24 UTC 2024 - Gus Kenion <gus.kenion@suse.com>
- Use %patch -P N instead of deprecated %patchN.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 24 10:16:57 UTC 2023 - Fridrich Strba <fstrba@suse.com> Thu Aug 24 10:16:57 UTC 2023 - Fridrich Strba <fstrba@suse.com>
@ -9,9 +14,9 @@ Thu Aug 24 10:16:57 UTC 2023 - Fridrich Strba <fstrba@suse.com>
+ not needed with the current package + not needed with the current package
- Added patches: - Added patches:
* CVE-2021-33813.patch * CVE-2021-33813.patch
+ fix CVE-2021-33813: An XXE issue in SAXBuilder in JDOM + fix bsc#1187446, CVE-2021-33813: An XXE issue in SAXBuilder
through 2.0.6 allows attackers to cause a denial of service in JDOM through 2.0.6 allows attackers to cause a denial of
via a crafted HTTP request. service via a crafted HTTP request.
* jdom-crosslink.patch * jdom-crosslink.patch
+ do not link to javadocs on web + do not link to javadocs on web
* no-jaxen.patch * no-jaxen.patch

View File

@ -1,7 +1,7 @@
# #
# spec file for package jdom # spec file for package jdom
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -57,10 +57,10 @@ Demonstrations and samples for %{name}.
%prep %prep
%setup -q -n %{name} %setup -q -n %{name}
%patch0 %patch -P 0
%patch1 %patch -P 1
%patch2 -p1 %patch -P 2 -p1
%patch10 -p1 %patch -P 10 -p1
# remove all binary libs # remove all binary libs
find . -name "*.jar" -exec rm -f {} \; find . -name "*.jar" -exec rm -f {} \;
find . -name "*.class" -exec rm -f {} \; find . -name "*.class" -exec rm -f {} \;