Accepting request 1151370 from home:dimstar:rpm4.20:o

Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1151370
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/oci-cli?expand=0&rev=116
This commit is contained in:
Robert Schweikert 2024-03-08 20:50:53 +00:00 committed by Git OBS Bridge
parent 3b0dfe9fd2
commit cf07ba1094
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Feb 26 12:34:20 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %autosetup macro. Allows to eliminate the usage of deprecated
PatchN.
-------------------------------------------------------------------
Fri Feb 16 13:30:57 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -103,8 +103,8 @@ Some of these, such as the ability to run scripts, extend the Console's
functionality.
%prep
%setup -q -n oci-cli-%{version}
%patch0 -p1
%autosetup -p1 -n oci-cli-%{version}
# Fix includes
find . -name "*.py" -exec sed -i 's/from oci\._vendor //' \{\} +
find . -name "*.py" -exec sed -i 's/oci\._vendor\.//' \{\} +