Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-01-15 10:11:09 +01:00
parent 02895a4a46
commit d7b2d0c8ac

View File

@ -7,7 +7,7 @@
Name: %{srcname}
Version: 0.8
Release: 1%{?dist}
Release: 2%{?dist}
Summary: %{summary}
%global git_tag RELEASE_%(r=%{version}; echo $r | tr '.' '_')
@ -39,9 +39,9 @@ Summary: %{summary}
%{?python_provide:%python_provide python2-%{srcname}}
Requires: %{name} = %{version}-%{release}
Requires: python-requests
Requires: python-requests-oauthlib
Requires: python-jinja2
Requires: python2-requests
Requires: python2-requests-oauthlib
Requires: python2-jinja2
Requires: %{_bindir}/keycloak-httpd-client-install
%description -n python2-%{srcname}
@ -114,6 +114,10 @@ install -c -m 644 doc/keycloak-httpd-client-install.8 %{buildroot}/%{_mandir}/ma
%endif
%changelog
* Mon Jan 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.8-2
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Wed Jan 10 2018 John Dennis <jdennis@redhat.com> - 0.8-1
- Upgrade to upstream 0,8, includes:
- CVE-2017-15112 unsafe use of -p/--admin-password on command line