Compare commits
No commits in common. "d87c93be478c2a89d1848ce28eb539732da3d84c" and "caa90b653f4f94b9b9f2b994a1d91eb1b184040c" have entirely different histories.
d87c93be47
...
caa90b653f
@ -2,11 +2,11 @@
|
||||
|
||||
Name: python-%{_name}
|
||||
Version: 0.6.0
|
||||
Release: 13
|
||||
Release: 9
|
||||
Summary: Pythonic DBus library
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/LEW21/pydbus
|
||||
Source0: https://github.com/LEW21/pydbus/archive/v%{version}.tar.gz
|
||||
URL: https://pypi.python.org/pypi/pydbus
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/pydbus/%{_name}-%{version}.tar.gz
|
||||
|
||||
Patch1: 0001-make-direction-attribute-conforming-to-introspect.dt.patch
|
||||
Patch2: 0002-Support-asynchronous-calls-58.patch
|
||||
@ -17,6 +17,17 @@ 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
|
||||
@ -30,11 +41,21 @@ 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
|
||||
@ -42,30 +63,6 @@ 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
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
version_control: github
|
||||
src_repo: "LEW21/pydbus"
|
||||
tag_prefix: "^v"
|
||||
seperator:
|
||||
Loading…
x
Reference in New Issue
Block a user