Use %autosetup instead of %setup

This simplifies the process of adding patches to spec files.
Adding a patch is then just adding a %patch source and %Autosetup
will apply the patches in order.

Also add a speccheck for that case.

Change-Id: Ic4a925d800f3816b6cea865f779aa455e5b5a592
This commit is contained in:
Thomas Bechtold
2016-10-08 14:31:59 +02:00
committed by Dirk Mueller
parent 6118dc3310
commit b3ebb31022
87 changed files with 90 additions and 86 deletions

View File

@@ -54,7 +54,7 @@ Documentation for the client library for interacting with Openstack
Zaqar Queueing API.
%prep
%setup -q -n %{name}-%{version}
%autosetup -n %{name}-%{version}
%build
%py2_build