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:
committed by
Dirk Mueller
parent
6118dc3310
commit
b3ebb31022
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user