remove subpackage python2-pydbus

This commit is contained in:
panxiaohe 2020-10-29 15:03:53 +08:00
parent a7633f8a94
commit 2151ed283f

View File

@ -2,7 +2,7 @@
Name: python-%{_name}
Version: 0.6.0
Release: 12
Release: 13
Summary: Pythonic DBus library
License: LGPLv2+
URL: https://github.com/LEW21/pydbus
@ -17,15 +17,6 @@ BuildArch: noarch
%description
Dbus library for Python.
%package -n python2-%{_name}
Summary: %{summary} in python2
BuildRequires: python2-devel python2-setuptools
Requires: python2-gobject-base
%{?python_provide:%python_provide python2-%{_name}}
%description -n python2-%{_name}
Python2 version of %{summary}.
%package -n python3-%{_name}
Summary: %{summary} in python3
BuildRequires: python3-devel python3-setuptools
@ -39,19 +30,11 @@ Python3 version of %{summary}.
%autosetup -n %{_name}-%{version} -p1
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%files -n python2-%{_name}
%doc README.rst
%license LICENSE
%{python2_sitelib}/%{_name}*info/
%{python2_sitelib}/%{_name}/
%files -n python3-%{_name}
%doc README.rst
%license LICENSE
@ -59,6 +42,12 @@ Python3 version of %{summary}.
%{python3_sitelib}/%{_name}/
%changelog
* Thu Oct 29 2020 panxiaohe<panxiaohe@huawei.com> - 0.6.0-13
- Type:requirement
- ID:NA
- SUG:NA
- DESC:remove subpackage python2-pydbus
* Tue Sep 8 2020 wangchen<wangchen137@huawei.com> - 0.6.0-12
- Type:enhancement
- ID:NA