update code
This commit is contained in:
parent
a92430603c
commit
467e66348c
@ -2,17 +2,16 @@
|
||||
|
||||
Name: dbus-python
|
||||
Version: 1.2.8
|
||||
Release: 4
|
||||
Release: 7
|
||||
Summary: original Python binding for dbus
|
||||
License: MIT
|
||||
URL: http://www.freedesktop.org/wiki/Software/DBusBindings/
|
||||
Source0: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz
|
||||
Source1: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz.asc
|
||||
Patch0: 0001-Move-python-modules-to-architecture-specific-directo.patch
|
||||
|
||||
BuildRequires: dbus-devel dbus-glib-devel python2-docutils
|
||||
BuildRequires: dbus-x11 python2-gobject python3-gobject
|
||||
BuildRequires: git autoconf-archive automake libtool
|
||||
BuildRequires: autoconf-archive automake libtool
|
||||
|
||||
%description
|
||||
Dbus-python is the original Python binding for dbus, the reference
|
||||
@ -23,6 +22,8 @@ Summary: Python2 bindings for dbus
|
||||
BuildRequires: python2-devel
|
||||
Provides: %{name} = %{version}-%{release}
|
||||
Provides: %{name}%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: %{name} < %{version}-%{release}
|
||||
%{?python_provide:%python_provide python2-dbus}
|
||||
|
||||
%description -n python2-dbus
|
||||
Python2 bindings for dbus.
|
||||
@ -30,29 +31,23 @@ Python2 bindings for dbus.
|
||||
%package -n python3-dbus
|
||||
Summary: Python3 bindings for dbus
|
||||
BuildRequires: python3-devel
|
||||
Provides: %{name} = %{version}-%{release}
|
||||
Provides: %{name}%{?_isa} = %{version}-%{release}
|
||||
%{?python_provide:%python_provide python3-dbus}
|
||||
|
||||
%description -n python3-dbus
|
||||
Python3 bindings for dbus
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%package help
|
||||
Summary: Doc files for %{name}
|
||||
Buildarch: noarch
|
||||
|
||||
%description help
|
||||
The %{name}-help package contains doc files for %{name}.
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1 -S git
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
autoreconf -vif
|
||||
@ -91,7 +86,6 @@ make check -k -C python3-build
|
||||
%license COPYING
|
||||
%{python3_sitearch}/_dbus_bindings.so
|
||||
%{python3_sitearch}/_dbus_glib_bindings.so
|
||||
%{python3_sitearch}/*.so
|
||||
%{python3_sitearch}/dbus/
|
||||
|
||||
%files devel
|
||||
@ -102,5 +96,23 @@ make check -k -C python3-build
|
||||
%doc NEWS ChangeLog README doc/API_CHANGES.txt doc/HACKING.txt doc/tutorial.txt
|
||||
|
||||
%changelog
|
||||
* Wed Oct 30 2019 jiangchuangang<jiangchuangang@huawei.com> - 1.2.8-7
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:modify provides
|
||||
|
||||
* Sat Oct 12 2019 shenyangyang <shenyangyang4@huawei.com> - 1.2.8-6
|
||||
- Type: enhancement
|
||||
- ID: NA
|
||||
- SUG: NA
|
||||
- DESC:add python-provides
|
||||
|
||||
* Mon Sep 30 2019 luhuaxin <luhuaxin@huawei.com> - 1.2.8-5
|
||||
- Type: enhancement
|
||||
- ID: NA
|
||||
- SUG: NA
|
||||
- DESC: package rebuild
|
||||
|
||||
* Fri Aug 30 2019 luhuaxin <luhuaxin@huawei.com> - 1.2.8-4
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user