1
0

Accepting request 620627 from home:scarabeus_iv:branches:Base:System

- Version update to version 1.2.8:
  * Python 2.7 required or 3.4 respectively
  * Tests use tap.py functionality
  * Upstream dropped epydoc completely
  * See NEWS for more

- Use requires_ge instead of the rpm calls

OBS-URL: https://build.opensuse.org/request/show/620627
OBS-URL: https://build.opensuse.org/package/show/Base:System/python-dbus-python?expand=0&rev=9
This commit is contained in:
Dirk Mueller 2018-07-06 07:50:36 +00:00 committed by Git OBS Bridge
parent 884a21cbbf
commit 63bd7c9b4a
5 changed files with 50 additions and 28 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e2f1d6871f74fba23652e51d10873e54f71adab0525833c19bad9e99b1b2f9cc
size 612112

3
dbus-python-1.2.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:abf12bbb765e300bf8e2a1b2f32f85949eab06998dbda127952c31cb63957b6f
size 787426

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAlrslM8ACgkQ4FrhR4+B
TE/eMA/5AdRHMAgmUbqZifvXKi24UkXrmpNRi8hKNL/Gm6RVKeyekbns2AP3c8wb
afKG0EDMF28UpatBKCpg1rXBbvmG9WDuMsE1HlTra8/n2GuITyk878qvu/adbWSv
fGf3NnI/xRJKsGNhymNpiZ1w4cg/JXtSmjxCG3/MbIiHC/VaFURxNJx+HRxefQOY
I2Q11PMqnc51Ty186pLduhWEiyeBWr9WMWkwirew2wa9R9GzE05SfwlUnktFEChT
4MyUDEDqAfUOmtHi9a5sRvnnQmvAV2pivLpYnivommgQKpDV/2Mydh1RMVjns6vA
5GI2FAfl3zEI99b56VLxDPu1HSdTSaxb82PSzZB32JCOZ4uAAjgQjD+bePfVCFSi
MGx5XtnSS5B2Nc25D0gp7fOnsHuLAQzSAKwZ0Wu+fBlQdurbA/l4ZCQAL8kHM/8d
RwHzhu3942cYSi3Y3Juy07kmCfwVwfbDFHtixA2irmfZixnCGygPb5DtlEaAIYFQ
plS0n3p6ES/Wy5hs9aKR8kvzHKHXwpbV8V9FCYsTC8HbLF9S7HMxFIglZOSPoiPe
1GJSmp3uIx2EZQUgCt3dYeKqRLtX4UYl0627PLwo9SPkkPqxCqll2BLZr2V/2Ll0
wPXbLH1SxuE0YoUArrWv4/OkztUQnAG1vSKsLIT7jkrvbtLK1ug=
=j3xA
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Jul 4 13:48:04 UTC 2018 - tchvatal@suse.com
- Version update to version 1.2.8:
* Python 2.7 required or 3.4 respectively
* Tests use tap.py functionality
* Upstream dropped epydoc completely
* See NEWS for more
-------------------------------------------------------------------
Wed Jul 4 13:44:57 UTC 2018 - tchvatal@suse.com
- Use requires_ge instead of the rpm calls
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 18 13:03:22 UTC 2017 - jmatejek@suse.com Mon Dec 18 13:03:22 UTC 2017 - jmatejek@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-dbus-python # spec file for package python-dbus-python
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,24 +18,27 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-dbus-python Name: python-dbus-python
Version: 1.2.4 Version: 1.2.8
Release: 0 Release: 0
Summary: Python bindings for D-Bus Summary: Python bindings for D-Bus
License: MIT License: MIT
Group: Development/Libraries/Python Group: Development/Libraries/Python
Url: http://www.freedesktop.org/wiki/Software/DBusBindings/ URL: http://www.freedesktop.org/wiki/Software/DBusBindings/
Source: https://files.pythonhosted.org/packages/source/d/dbus-python/dbus-python-%{version}.tar.gz Source: http://dbus.freedesktop.org/releases/dbus-python/dbus-python-%{version}.tar.gz
Source2: http://dbus.freedesktop.org/releases/dbus-python/dbus-python-%{version}.tar.gz.asc
Source99: python-dbus-python-rpmlintrc Source99: python-dbus-python-rpmlintrc
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module docutils} BuildRequires: %{python_module docutils}
BuildRequires: %{python_module gobject} BuildRequires: %{python_module gobject}
BuildRequires: %{python_module xml} BuildRequires: %{python_module xml}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(dbus-1) >= 1.6.0 BuildRequires: pkgconfig(dbus-1) >= 1.6.0
BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(dbus-glib-1)
Requires: python-gobject Requires: python-gobject
Requires: python-xml Requires: python-xml
%requires_ge dbus-1
%ifpython2 %ifpython2
Provides: dbus-1-python = %{version} Provides: dbus-1-python = %{version}
Provides: dbus-1-python2 = %{version} Provides: dbus-1-python2 = %{version}
@ -46,23 +49,19 @@ Obsoletes: dbus-1-python2 < %{version}
Provides: dbus-1-python3 = %{version} Provides: dbus-1-python3 = %{version}
Obsoletes: dbus-1-python3 < %{version} Obsoletes: dbus-1-python3 < %{version}
%endif %endif
Requires: dbus-1 >= %( echo `rpm -q --queryformat '%%{VERSION}' dbus-1`)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%python_subpackages %python_subpackages
%description %description
D-Bus python bindings for use with python programs. D-Bus python bindings for use with python programs.
%package devel %package devel
Summary: Python bindings for D-Bus -- development files Summary: Python bindings for D-Bus -- development files
Group: Development/Libraries/Python Group: Development/Libraries/Python
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: %{name}-common-devel = %{version} Requires: %{name}-common-devel = %{version}
%requires_ge dbus-1
%requires_ge dbus-1-devel
Requires: python-devel Requires: python-devel
Requires: dbus-1 >= %( echo `rpm -q --queryformat '%%{VERSION}' dbus-1`)
Requires: dbus-1-devel >= %( echo `rpm -q --queryformat '%%{VERSION}' dbus-1-devel`)
%ifpython2 %ifpython2
Provides: dbus-1-python-devel = %{version} Provides: dbus-1-python-devel = %{version}
Provides: dbus-1-python2-devel = %{version} Provides: dbus-1-python2-devel = %{version}
@ -80,7 +79,6 @@ D-Bus python bindings for use with python programs.
This package contains the development files for This package contains the development files for
Python bindings for D-Bus. Python bindings for D-Bus.
%package -n %{name}-common-devel %package -n %{name}-common-devel
Summary: Python bindings for D-Bus -- shared development files Summary: Python bindings for D-Bus -- shared development files
Group: Development/Libraries/Python Group: Development/Libraries/Python
@ -94,7 +92,6 @@ D-Bus python bindings for use with python programs.
This package contains development files shared between This package contains development files shared between
the Python2 and Python3 versions of the bindings. the Python2 and Python3 versions of the bindings.
%prep %prep
%setup -q -n dbus-python-%{version} %setup -q -n dbus-python-%{version}
# Remove Makefile* (fix rpmlint warning "makefile-junk") # Remove Makefile* (fix rpmlint warning "makefile-junk")
@ -109,7 +106,7 @@ pushd build_%{$python_bin_suffix}
export PYTHON=$python export PYTHON=$python
export pythondir=%{$python_sitearch} export pythondir=%{$python_sitearch}
%configure --docdir=%{_docdir}/%{$python_prefix}-dbus-python %configure PYTHON="/usr/bin/$python"
make %{?_smp_mflags} make %{?_smp_mflags}
popd popd
@ -131,9 +128,6 @@ mv %{buildroot}%{_includedir}/dbus-1.0/dbus/dbus-python.h \
%{buildroot}%{_includedir}/dbus-1.0/dbus/dbus-python-%{$python_bin_suffix}.h %{buildroot}%{_includedir}/dbus-1.0/dbus/dbus-python-%{$python_bin_suffix}.h
mv %{buildroot}%{_libdir}/pkgconfig/dbus-python.pc \ mv %{buildroot}%{_libdir}/pkgconfig/dbus-python.pc \
%{buildroot}%{_libdir}/pkgconfig/dbus-python-%{$python_bin_suffix}.pc %{buildroot}%{_libdir}/pkgconfig/dbus-python-%{$python_bin_suffix}.pc
mkdir -p %{buildroot}%{_docdir}/%{$python_prefix}-dbus-python-devel
mv %{buildroot}%{_docdir}/%{$python_prefix}-dbus-python/{API_CHANGES.*,HACKING.*,PY3PORT.*,tutorial.*} %{buildroot}%{_docdir}/%{$python_prefix}-dbus-python-devel/
} }
%if 0%{?have_python2} && 0%{?have_python3} %if 0%{?have_python2} && 0%{?have_python3}
@ -162,23 +156,21 @@ ln -s %{_libdir}/pkgconfig/dbus-python.pc \
%fdupes %{buildroot} %fdupes %{buildroot}
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license COPYING
%doc AUTHORS COPYING ChangeLog NEWS README %doc AUTHORS ChangeLog NEWS README
%{_docdir}/%{python_prefix}-dbus-python/
%{python_sitelib}/dbus/ %{python_sitelib}/dbus/
%{python_sitearch}/_dbus_bindings.so %{python_sitearch}/_dbus_bindings.so
%{python_sitearch}/_dbus_glib_bindings.so %{python_sitearch}/_dbus_glib_bindings.so
%files %{python_files devel} %files %{python_files devel}
%defattr(-,root,root,-) %license COPYING
%doc AUTHORS COPYING %doc AUTHORS
%{_docdir}/%{python_prefix}-dbus-python-devel/
%{_includedir}/dbus-1.0/dbus/dbus-python-%{python_bin_suffix}.h %{_includedir}/dbus-1.0/dbus/dbus-python-%{python_bin_suffix}.h
%{_libdir}/pkgconfig/dbus-python-%{python_bin_suffix}.pc %{_libdir}/pkgconfig/dbus-python-%{python_bin_suffix}.pc
%files -n %{name}-common-devel %files -n %{name}-common-devel
%defattr(-,root,root,-) %license COPYING
%doc AUTHORS COPYING %doc AUTHORS
%doc doc/ examples/ %doc doc/ examples/
%{_includedir}/dbus-1.0/dbus/dbus-python.h %{_includedir}/dbus-1.0/dbus/dbus-python.h
%{_libdir}/pkgconfig/dbus-python.pc %{_libdir}/pkgconfig/dbus-python.pc