Ana Guerrero 2024-02-21 16:52:07 +00:00 committed by Git OBS Bridge
commit a9e59f5baf
2 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 20 10:19:53 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Tue Oct 27 10:39:27 UTC 2020 - Pedro Monreal <pmonreal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package apache-commons-httpclient
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -103,17 +103,17 @@ Manual for %{name}
mkdir lib # duh
rm -rf docs/apidocs docs/*.patch docs/*.orig docs/*.rej
%patch0
%patch -P 0
pushd src/conf
sed -i 's/\r//' MANIFEST.MF
%patch1
%patch -P 1
popd
%patch2
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch -P 2
%patch -P 3 -p1
%patch -P 4 -p1
%patch -P 5 -p1
# Use javax classes, not com.sun ones
# assume no filename contains spaces