Fix for el5 build
This commit is contained in:
parent
ad4ac4fc7e
commit
5c55f69976
1 changed files with 5 additions and 0 deletions
|
|
@ -5,8 +5,10 @@ Version: 1.4.0
|
|||
Release: 1%{?dist}
|
||||
Summary: Python Client for Zanata Server
|
||||
License: LGPLv2+
|
||||
Group: Applications/Text
|
||||
URL: http://zanata.org
|
||||
Source0: https://github.com/zanata/zanata-python-client/archive/v%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-setuptools
|
||||
|
|
@ -37,6 +39,9 @@ cp -pr zanataclient/VERSION-FILE build/lib/zanataclient
|
|||
%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
||||
rm -rf $RPM_BUILD_ROOT/%{_docdir}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst COPYING.LESSER zanata.ini CHANGELOG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue