Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-02-28 06:07:57 +01:00
commit c4912b97e4

View file

@ -25,7 +25,7 @@
Name: python-%{srcname}
Version: 3.7.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Python binding for the YARA pattern matching tool
Group: Development/Libraries
@ -42,9 +42,9 @@ BuildRequires: libtool
BuildRequires: yara-devel
BuildRequires: python2
BuildRequires: python2-devel
BuildRequires: python-libs
BuildRequires: python-nose
BuildRequires: python-setuptools
BuildRequires: python2-libs
BuildRequires: python2-nose
BuildRequires: python2-setuptools
%if 0%{?with_python3}
BuildRequires: python%{python3_pkgversion}-devel
@ -54,7 +54,7 @@ BuildRequires: python%{python3_pkgversion}-setuptools
%endif # if with_python3
# html doc generation
BuildRequires: python-sphinx
BuildRequires: python2-sphinx
%description
@ -184,6 +184,10 @@ PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3" -v ./tests.py:TestYar
%changelog
* Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.7.0-3
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild