Accepting request 1156455 from Cloud:Tools

OBS-URL: https://build.opensuse.org/request/show/1156455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/oci-cli?expand=0&rev=57
This commit is contained in:
Dominique Leuenberger 2024-03-09 19:54:38 +00:00 committed by Git OBS Bridge
commit 3b59824128
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\.//' \{\} +