Skip to content

Commit

Permalink
cliff is now listed in requirements
Browse files Browse the repository at this point in the history
As the VF is moving towards the new CLI, the dependencies
have to updated in both requirements.txt and in spec.

This patch introduces cliff >= 2.16.0 as Requires and
BuildRequires dependency of the python-validations-libs.

Depends-on: https://review.opendev.org/c/openstack/validations-libs/+/787317

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Id8476f2075b7b9037b678bcd27c379d5af265911
(cherry picked from commit 25208f6)
  • Loading branch information
jpodivin committed Apr 21, 2021
1 parent d47ebb0 commit 3a70ce7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python-validations-libs.spec
Expand Up @@ -44,6 +44,7 @@ BuildRequires: python%{pyver}-ansible-runner >= 1.2.0
%if %{pyver} == 2
BuildRequires: python2-mock
%endif
BuildRequires: python%{pyver}-cliff >= 2.16.0

Requires: python%{pyver}-pbr >= 3.1.1
Requires: python%{pyver}-six >= 1.11.0
Expand All @@ -53,6 +54,7 @@ Requires: PyYAML
%else
Requires: python%{pyver}-PyYAML
%endif
Requires: python%{pyver}-cliff >= 2.16.0

%description -n python%{pyver}-%{upstream_name}
A collection of python libraries for the Validation Framework
Expand Down Expand Up @@ -80,6 +82,7 @@ PYTHON=%{pyver_bin} %{pyver_bin} setup.py test

%files -n python%{pyver}-%{upstream_name}
%license LICENSE
%{_bindir}/validation
%doc README* AUTHORS ChangeLog
%{pyver_sitelib}/validations_libs
%{pyver_sitelib}/validations_libs-*.egg-info
Expand Down

0 comments on commit 3a70ce7

Please sign in to comment.