Compare commits

..

No commits in common. "d87c93be478c2a89d1848ce28eb539732da3d84c" and "caa90b653f4f94b9b9f2b994a1d91eb1b184040c" have entirely different histories.

3 changed files with 24 additions and 31 deletions

View File

@ -2,11 +2,11 @@
Name: python-%{_name} Name: python-%{_name}
Version: 0.6.0 Version: 0.6.0
Release: 13 Release: 9
Summary: Pythonic DBus library Summary: Pythonic DBus library
License: LGPLv2+ License: LGPLv2+
URL: https://github.com/LEW21/pydbus URL: https://pypi.python.org/pypi/pydbus
Source0: https://github.com/LEW21/pydbus/archive/v%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/p/pydbus/%{_name}-%{version}.tar.gz
Patch1: 0001-make-direction-attribute-conforming-to-introspect.dt.patch Patch1: 0001-make-direction-attribute-conforming-to-introspect.dt.patch
Patch2: 0002-Support-asynchronous-calls-58.patch Patch2: 0002-Support-asynchronous-calls-58.patch
@ -17,6 +17,17 @@ BuildArch: noarch
%description %description
Dbus library for Python. Dbus library for Python.
%if %{with python2}
%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}.
%endif
%package -n python3-%{_name} %package -n python3-%{_name}
Summary: %{summary} in python3 Summary: %{summary} in python3
BuildRequires: python3-devel python3-setuptools BuildRequires: python3-devel python3-setuptools
@ -30,11 +41,21 @@ Python3 version of %{summary}.
%autosetup -n %{_name}-%{version} -p1 %autosetup -n %{_name}-%{version} -p1
%build %build
%py2_build
%py3_build %py3_build
%install %install
%py2_install
%py3_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} %files -n python3-%{_name}
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
@ -42,30 +63,6 @@ Python3 version of %{summary}.
%{python3_sitelib}/%{_name}/ %{python3_sitelib}/%{_name}/
%changelog %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
- SUG:NA
- DESC:modify the URL of Source0
* 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
- SUG:NA
- DESC:update url and source0 field in spec file
* Sat Oct 19 2019 shenyangyang <shenyangyang4@huawei.com> - 0.6.0-9 * Sat Oct 19 2019 shenyangyang <shenyangyang4@huawei.com> - 0.6.0-9
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA

View File

@ -1,4 +0,0 @@
version_control: github
src_repo: "LEW21/pydbus"
tag_prefix: "^v"
seperator: