Compare commits

..

14 Commits

Author SHA1 Message Date
openeuler-ci-bot
d87c93be47 !9 remove python2 subpackage
From: @panxh_purple
Reviewed-by: @hanxinke
Signed-off-by: @hanxinke
2020-10-30 15:25:22 +08:00
panxiaohe
2151ed283f remove subpackage python2-pydbus 2020-10-29 17:09:40 +08:00
openeuler-ci-bot
a7633f8a94 !7 modify the URL of Source0
Merge pull request !7 from wangchen/wangchen
2020-09-10 17:22:30 +08:00
wangchen2020
aac689a293 modify the URL of Source0 2020-09-08 11:39:29 +08:00
openeuler-ci-bot
ae04f8f151 !5 openEuler-python-pydbus
Merge pull request !5 from Liquor/master
2020-07-13 16:58:30 +08:00
liquor
e5423db44c delete useless macros 2020-07-13 15:02:15 +08:00
openeuler-ci-bot
f4dd7331c3 !4 add yaml file
Merge pull request !4 from wangchen/wangchen
2020-06-22 10:05:35 +08:00
wangchen2020
03c9235b53 add yaml file 2020-06-18 15:05:03 +08:00
openeuler-ci-bot
613d4dc540 !3 python-pydbus: update url and source0 field in spec file
Merge pull request !3 from openeuler-basic/test_hxk
2019-12-31 17:08:45 +08:00
hanxinke
b4d1ae9108 python-pydbus: update url and source0 field in spec file 2019-12-31 16:05:52 +08:00
惊奇脆片饼干
aceea27bd8 !2 revert update tarball
Merge pull request !2 from openeuler-basic/dev
2019-12-30 21:33:00 +08:00
openeuler-basic
16d8133387 revert update tarball 2019-12-30 21:27:19 +08:00
openeuler-ci-bot
3ddd6a10be !1 update tarball
Merge pull request !1 from openeuler-basic/dev
2019-12-30 15:55:38 +08:00
openeuler-basic
f1191c75b9 update tar 2019-12-30 15:43:59 +08:00
3 changed files with 31 additions and 24 deletions

View File

@ -2,11 +2,11 @@
Name: python-%{_name}
Version: 0.6.0
Release: 9
Release: 13
Summary: Pythonic DBus library
License: LGPLv2+
URL: https://pypi.python.org/pypi/pydbus
Source0: https://files.pythonhosted.org/packages/source/p/pydbus/%{_name}-%{version}.tar.gz
URL: https://github.com/LEW21/pydbus
Source0: https://github.com/LEW21/pydbus/archive/v%{version}.tar.gz
Patch1: 0001-make-direction-attribute-conforming-to-introspect.dt.patch
Patch2: 0002-Support-asynchronous-calls-58.patch
@ -17,17 +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
Requires: python2-gobject-base
%{?python_provide:%python_provide python2-%{_name}}
%description -n python2-%{_name}
Python2 version of %{summary}.
%endif
%package -n python3-%{_name}
Summary: %{summary} in python3
BuildRequires: python3-devel python3-setuptools
@ -41,21 +30,11 @@ Python3 version of %{summary}.
%autosetup -n %{_name}-%{version} -p1
%build
%py2_build
%py3_build
%install
%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
%license LICENSE
@ -63,6 +42,30 @@ 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
- 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
- Type:enhancement
- ID:NA

4
python-pydbus.yaml Normal file
View File

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