Modernize %prep section
Newer rpm releases obsoleted a couple of things and now centpkg is failing on those deprecations and prevent building anything. error: %patchN is obsolete, use %patch N (or %patch -P N): %patch0 -p1 Resolves: RHEL-55291
This commit is contained in:
parent
c1f9c83b68
commit
7f9b53d524
@ -37,13 +37,7 @@ Requires: util-linux
|
||||
nvme-cli provides NVM-Express user space tooling for Linux.
|
||||
|
||||
%prep
|
||||
#%%setup -qn %%{name}-%%{commit0}
|
||||
%setup -q
|
||||
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%autosetup -p1 -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
%meson -Dudevrulesdir=%{_udevrulesdir} -Dsystemddir=%{_unitdir} -Ddocs=all -Ddocs-build=true -Dhtmldir=%{_pkgdocdir}
|
||||
|
Loading…
Reference in New Issue
Block a user