Go back to using autosetup
This way, we do not have to remember to individually apply unconditional patches. [skip changelog]
This commit is contained in:
parent
61ba804b5b
commit
b2a8e3678e
@ -21,7 +21,7 @@ Source: %{pypi_source meson_python}
|
||||
|
||||
# Downstream-only patch to remove the patchelf dependency (and corresponding
|
||||
# functionality), controlled by the patchelf build conditional
|
||||
Patch2: meson_python-remove-patchelf.patch
|
||||
Patch100: meson_python-remove-patchelf.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
@ -62,11 +62,10 @@ Requires: /usr/bin/patchelf
|
||||
|
||||
|
||||
%prep
|
||||
%setup -n meson_python-%{version} -q
|
||||
%patch 0 -p1
|
||||
%patch 1 -p1
|
||||
%autosetup -n meson_python-%{version} -N
|
||||
%autopatch -M 99 -p1
|
||||
%if %{without patchelf}
|
||||
%patch 2 -p1
|
||||
%patch 100 -p1
|
||||
%endif
|
||||
# build: used only by skipped PEP 518 test
|
||||
# pytest-cov: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
|
||||
|
Loading…
Reference in New Issue
Block a user