Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-01-29 13:29:42 +01:00
parent d1f62328bc
commit 2c72100ba0

View File

@ -12,11 +12,11 @@ Group: System Environment/Libraries
Summary: A framework to implement simple but nice CLIs Summary: A framework to implement simple but nice CLIs
Epoch: 1 Epoch: 1
Version: 1.1.fb24 Version: 1.1.fb24
Release: 1%{?dist} Release: 2%{?dist}
URL: https://github.com/agrover/configshell-fb URL: https://github.com/agrover/configshell-fb
Source: https://fedorahosted.org/released/targetcli-fb/%{oname}-%{version}.tar.gz Source: https://fedorahosted.org/released/targetcli-fb/%{oname}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: python-devel python-setuptools BuildRequires: python2-devel python2-setuptools
%if 0%{?with_python3} %if 0%{?with_python3}
BuildRequires: python3-devel python3-setuptools BuildRequires: python3-devel python3-setuptools
@ -30,7 +30,7 @@ command-line interfaces.
%package -n python2-configshell %package -n python2-configshell
Summary: %summary Summary: %summary
Requires: pyparsing python-urwid python-six Requires: python2-pyparsing python2-urwid python2-six
%{?python_provide:%python_provide python2-configshell} %{?python_provide:%python_provide python2-configshell}
%description -n python2-configshell %_description %description -n python2-configshell %_description
@ -84,6 +84,10 @@ popd
%endif %endif
%changelog %changelog
* Mon Jan 29 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1:1.1.fb24-2
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Fri Jan 26 2018 Andy Grover <agrover@redhat.com> - 1:1.1.fb24-1 * Fri Jan 26 2018 Andy Grover <agrover@redhat.com> - 1:1.1.fb24-1
- New upstream release - New upstream release
- Remove patch configshell-fix-term.patch - Remove patch configshell-fix-term.patch