contrib/rpm: use %autosetup to simplify patch application

This allows us to omit the %patch1 macros.

See-also: http://rpm.org/user_doc/autosetup.html
This commit is contained in:
Thomas Haller 2018-08-03 11:04:51 +02:00
parent 2d6864efe1
commit e028a53612

View file

@ -449,9 +449,7 @@ by nm-connection-editor and nm-applet in a non-graphical environment.
%prep
%setup -q -n NetworkManager-%{real_version}
#%patch1 -p1
%autosetup -p1 -n NetworkManager-%{real_version}
%build