Compare commits
14 Commits
caa90b653f
...
d87c93be47
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d87c93be47 | ||
|
|
2151ed283f | ||
|
|
a7633f8a94 | ||
|
|
aac689a293 | ||
|
|
ae04f8f151 | ||
|
|
e5423db44c | ||
|
|
f4dd7331c3 | ||
|
|
03c9235b53 | ||
|
|
613d4dc540 | ||
|
|
b4d1ae9108 | ||
|
|
aceea27bd8 | ||
|
|
16d8133387 | ||
|
|
3ddd6a10be | ||
|
|
f1191c75b9 |
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
Name: python-%{_name}
|
Name: python-%{_name}
|
||||||
Version: 0.6.0
|
Version: 0.6.0
|
||||||
Release: 9
|
Release: 13
|
||||||
Summary: Pythonic DBus library
|
Summary: Pythonic DBus library
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://pypi.python.org/pypi/pydbus
|
URL: https://github.com/LEW21/pydbus
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/pydbus/%{_name}-%{version}.tar.gz
|
Source0: https://github.com/LEW21/pydbus/archive/v%{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,17 +17,6 @@ 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
|
||||||
@ -41,21 +30,11 @@ 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
|
||||||
@ -63,6 +42,30 @@ 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
|
||||||
|
|||||||
4
python-pydbus.yaml
Normal file
4
python-pydbus.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: "LEW21/pydbus"
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator:
|
||||||
Loading…
x
Reference in New Issue
Block a user