Fix a bug in the spec file change

This commit is contained in:
Toshio Kuratomi 2016-05-04 10:21:55 -07:00
parent 71524dba13
commit 8394c02781

View file

@ -13,7 +13,7 @@ Url: http://www.ansible.com
Summary: SSH-based application deployment, configuration management, and IT orchestration platform
License: GPLv3
Group: Development/Libraries
Source: http://releases.ansible.com/ansible/%{name}-%{version}.tar.gz
Source: http://releases.ansible.com/ansible/ansible-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
@ -86,7 +86,7 @@ on remote nodes. Extension modules can be written in any language and
are transferred to managed machines automatically.
%prep
%setup -q
%setup -qn ansible-%{version}
%build
%{__python} setup.py build