synergy-scheduler-manager/packaging/rpm/python-synergy-scheduler-manager.spec
Vincent Llorens c86966c326 Remove versions for required packages
Requirement versions were set in the first place to limit the
buginess. However, after some time it appears that it made more
harm than good, as discussed in:
https://review.openstack.org/#/c/388003/

In this commit we remove the versions for the requirements, except
for the following:
- Nova
- synergy-service

In the future, if a specific dependency version is causing some issue
we should reintroduce the version for this dependency to block the
unstable version.

Sem-Ver: bugfix
Change-Id: If65e670a18a495a5c3f5c08c80b6b1d3abec5747
2016-10-27 11:18:30 +02:00

64 lines
1.7 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: 1.0.2
Release: 1%{?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-nova >= 12.0
Requires: python-oslo-config
Requires: python-oslo-messaging
Requires: python-oslo-serialization
Requires: python-oslo-versionedobjects
Requires: python-pbr
Requires: python-requests
Requires: python-sqlalchemy
Requires: python-synergy-service >= 1.1
%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
* Mon Aug 22 2016 Vincent Llorens <vincent.llorens@cc.in2p3.fr> - 1.0.2-1
- Add python-nova dependency
* Tue Jul 26 2016 Vincent Llorens <vincent.llorens@cc.in2p3.fr - 1.0.1-1
- Fix broken link in README
* Fri Jun 17 2016 Vincent Llorens <vincent.llorens@cc.in2p3.fr> - 1.0.0-1
- First public release of Synergy, full set of functionalities.
* Fri Jun 03 2016 Vincent Llorens <vincent.llorens@cc.in2p3.fr> - 0.2-2
- Make unit test pass