Subpackage python2-dbusmock has been removed
This commit is contained in:
parent
4ba88f8d50
commit
d2cd79ed30
@ -2,7 +2,7 @@
|
||||
|
||||
Name: python-%{modname}
|
||||
Version: 0.17
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Summary: Mock D-Bus objects
|
||||
|
||||
License: LGPLv3+
|
||||
@ -13,10 +13,8 @@ BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-nose
|
||||
BuildRequires: python2-devel, python2-setuptools, python2-dbus, python2-nose
|
||||
BuildRequires: python2-gobject, dbus-x11, upower
|
||||
|
||||
|
||||
BuildRequires: dbus-x11
|
||||
BuildRequires: upower
|
||||
|
||||
%global _description\
|
||||
With this program/Python library you can easily create mock objects on\
|
||||
@ -27,13 +25,6 @@ the state of the real services to what you expect in your tests.
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python2-dbusmock
|
||||
Summary: %summary
|
||||
Requires: python2-dbus, python2-gobject, dbus-x11
|
||||
%{?python_provide:%python_provide python2-dbusmock}
|
||||
|
||||
%description -n python2-dbusmock %_description
|
||||
|
||||
%package -n python3-dbusmock
|
||||
Summary: %summary (Python3)
|
||||
Requires: python3-dbus, python3-gobject, dbus-x11
|
||||
@ -41,45 +32,28 @@ Requires: python3-dbus, python3-gobject, dbus-x11
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
rm -rf python-%{modname}.egg-info
|
||||
|
||||
rm -rf %{py3dir}
|
||||
cp -a . %{py3dir}
|
||||
|
||||
%build
|
||||
%{__python2} setup.py build
|
||||
|
||||
pushd %{py3dir}
|
||||
%{__python3} setup.py build
|
||||
popd
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
|
||||
%{__python2} setup.py install -O1 --skip-build --root=%{buildroot}
|
||||
|
||||
pushd %{py3dir}
|
||||
%{__python3} setup.py install -O1 --skip-build --root=%{buildroot}
|
||||
popd
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
|
||||
# Tests are disabled for now
|
||||
# %{__python2} setup.py test
|
||||
|
||||
pushd %{py3dir}
|
||||
# %{__python3} setup.py test
|
||||
popd
|
||||
|
||||
%files -n python2-dbusmock
|
||||
%doc README.rst COPYING
|
||||
%{python2_sitelib}/*%{modname}*
|
||||
|
||||
%files -n python3-dbusmock
|
||||
%doc README.rst COPYING
|
||||
%{python3_sitelib}/*%{modname}*
|
||||
|
||||
%changelog
|
||||
* Tue Jul 23 2019 Miro Hrončok <mhroncok@redhat.com> - 0.17-8
|
||||
- Subpackage python2-dbusmock has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user