Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-02-12 01:35:45 +01:00
parent 635bbe7062
commit 7d63c56b6d

View File

@ -2,7 +2,7 @@
Name: python-%{modname}
Version: 0.17
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Mock D-Bus objects
Group: Development/Libraries
@ -14,8 +14,8 @@ BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-nose
BuildRequires: python-devel, python-setuptools, dbus-python, python-nose
BuildRequires: pygobject3, dbus-x11, upower
BuildRequires: python2-devel, python2-setuptools, python2-dbus, python2-nose
BuildRequires: python2-gobject, dbus-x11, upower
@ -30,7 +30,7 @@ the state of the real services to what you expect in your tests.
%package -n python2-dbusmock
Summary: %summary
Requires: dbus-python, pygobject3, dbus-x11
Requires: python2-dbus, python2-gobject, dbus-x11
%{?python_provide:%python_provide python2-dbusmock}
%description -n python2-dbusmock %_description
@ -81,6 +81,10 @@ popd
%{python3_sitelib}/*%{modname}*
%changelog
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.17-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> - 0.17-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild