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