Python 2 binary package renamed to python2-dbusmock
This commit is contained in:
parent
057415ef3a
commit
a429f5990c
@ -2,7 +2,7 @@
|
||||
|
||||
Name: python-%{modname}
|
||||
Version: 0.16.7
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Mock D-Bus objects
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -16,17 +16,25 @@ BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-nose
|
||||
BuildRequires: python-devel, python-setuptools, dbus-python, python-nose
|
||||
BuildRequires: pygobject3, dbus-x11, upower
|
||||
Requires: dbus-python, pygobject3, dbus-x11
|
||||
|
||||
|
||||
|
||||
%description
|
||||
With this program/Python library you can easily create mock objects on
|
||||
D-Bus. This is useful for writing tests for software which talks to
|
||||
D-Bus services such as upower, systemd, ConsoleKit, gnome-session or
|
||||
others, and it is hard (or impossible without root privileges) to set
|
||||
%global _description\
|
||||
With this program/Python library you can easily create mock objects on\
|
||||
D-Bus. This is useful for writing tests for software which talks to\
|
||||
D-Bus services such as upower, systemd, ConsoleKit, gnome-session or\
|
||||
others, and it is hard (or impossible without root privileges) to set\
|
||||
the state of the real services to what you expect in your tests.
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python2-dbusmock
|
||||
Summary: %summary
|
||||
Requires: dbus-python, pygobject3, dbus-x11
|
||||
%{?python_provide:%python_provide python2-dbusmock}
|
||||
|
||||
%description -n python2-dbusmock %_description
|
||||
|
||||
%package -n python3-dbusmock
|
||||
Summary: Mock D-Bus objects (in Python3)
|
||||
%description -n python3-dbusmock
|
||||
@ -64,7 +72,7 @@ pushd %{py3dir}
|
||||
# %{__python3} setup.py test
|
||||
popd
|
||||
|
||||
%files
|
||||
%files -n python2-dbusmock
|
||||
%doc README.rst COPYING
|
||||
%{python2_sitelib}/*%{modname}*
|
||||
|
||||
@ -73,6 +81,10 @@ popd
|
||||
%{python3_sitelib}/*%{modname}*
|
||||
|
||||
%changelog
|
||||
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.16.7-4
|
||||
- Python 2 binary package renamed to python2-dbusmock
|
||||
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.7-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user