commit
ae04f8f151
@ -2,7 +2,7 @@
|
||||
|
||||
Name: python-%{_name}
|
||||
Version: 0.6.0
|
||||
Release: 10
|
||||
Release: 11
|
||||
Summary: Pythonic DBus library
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/LEW21/pydbus
|
||||
@ -17,7 +17,6 @@ BuildArch: noarch
|
||||
%description
|
||||
Dbus library for Python.
|
||||
|
||||
%if %{with python2}
|
||||
%package -n python2-%{_name}
|
||||
Summary: %{summary} in python2
|
||||
BuildRequires: python2-devel python2-setuptools
|
||||
@ -26,7 +25,6 @@ Requires: python2-gobject-base
|
||||
|
||||
%description -n python2-%{_name}
|
||||
Python2 version of %{summary}.
|
||||
%endif
|
||||
|
||||
%package -n python3-%{_name}
|
||||
Summary: %{summary} in python3
|
||||
@ -48,13 +46,11 @@ Python3 version of %{summary}.
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
%if %{with python2}
|
||||
%files -n python2-%{_name}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python2_sitelib}/%{_name}*info/
|
||||
%{python2_sitelib}/%{_name}/
|
||||
%endif
|
||||
|
||||
%files -n python3-%{_name}
|
||||
%doc README.rst
|
||||
@ -63,6 +59,12 @@ Python3 version of %{summary}.
|
||||
%{python3_sitelib}/%{_name}/
|
||||
|
||||
%changelog
|
||||
* Mon Jul 13 2020 Liquor<lirui130@huawei.com> - 0.6.0-11
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:delete useless macros
|
||||
|
||||
* Tue Dec 31 2019 hanxinke<hanxinke@huawei.com> - 0.6.0-10
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user