synergy-scheduler-manager/packaging/rpm/python-synergy-scheduler-manager.spec
Vincent Llorens 6dd88f7b32 mark requests lib as dependency in RPM spec file
Forgot to add python-requests as a dependency in the spec file for
building the RPM file.

Change-Id: I50a11085363d8ebe80a90d78dfdbd3d03f6c5343
2016-06-07 15:14:39 +02:00

52 lines
1.2 KiB
RPMSpec

%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
Name: python-synergy-scheduler-manager
Version: 0.2
Release: 2%{?dist}
Summary: Advanced scheduling capability for OpenStack.
Source: %name-%version.tar.bz2
License: ASL 2.0
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-setuptools
Requires: python-pbr
Requires: python-synergy-service
Requires: python-oslo-config
Requires: python-oslo-messaging
Requires: python-requests
Requires: python-sqlalchemy
%description
The Scheduler Manager provides advanced scheduling (fairshare) capability for
OpenStack. In particular it aims to address the resource utilization issues
coming from the static allocation model inherent in the Cloud paradigm, by
adopting the dynamic partitioning strategy implemented by the advanced batch
schedulers.
%prep
%setup -q
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%files
%doc README.rst
%{python_sitelib}/*
%changelog
* Fri Jun 03 2016 Vincent Llorens <vincent.llorens@cc.in2p3.fr> - 0.2-2
- Make unit test pass