python-ovh
python-ovh copied to clipboard
Create python-ovh.spec file
This file has been tested on CentOS/RHEL 6, 7 and on Fedora 26 & 27 to build the RPM packages. To build the packages on CentOS 7 for the version 0.4.8 for example you need to do the following:
yum install rpm-build python-devel python-setuptools python-sphinx git wget
mkdir -p ~/rpmbuild/SOURCES ; ~/rpmbuild/SOURCES
wget https://github.com/ovh/python-ovh/archive/v0.4.8.tar.gz
cd ; git clone https://github.com/ovh/python-ovh.git
cd python-ovh ; rpmbuild -ba rpmbuild/python-ovh.spec
This pull request is propose with the same license as the project (BSD) to make it easy to accept.