Accepting request 1174640 from home:dimstar:Factory

- Use %autosetup macro: allows us to eliminate usage of deprecated
  %patchN syntax.

OBS-URL: https://build.opensuse.org/request/show/1174640
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=75
This commit is contained in:
Lee Duncan 2024-05-16 18:16:09 +00:00 committed by Git OBS Bridge
parent dd36504bef
commit b55f10740f
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 16 15:10:26 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %autosetup macro: allows us to eliminate usage of deprecated
%patchN syntax.
-------------------------------------------------------------------
Tue Jan 9 21:43:21 UTC 2024 - Matej Cepl <mcepl@cepl.eu>

View File

@ -53,7 +53,7 @@ BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
%endif
%python_subpackages
@ -72,9 +72,7 @@ python-rtslib-fb-common is the invariant base package needed by both
python2-rtslib-fb and python3-rtslib-fb.
%prep
%setup -q -n python-rtslib-fb-v%{version}
%patch2 -p1
%patch3 -p1
%autosetup -p1 -n python-rtslib-fb-v%{version}
%build
%pyproject_wheel