diff --git a/python-dbus-python.changes b/python-dbus-python.changes index 4438b72..49dd29f 100644 --- a/python-dbus-python.changes +++ b/python-dbus-python.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 14 16:26:45 UTC 2017 - jmatejek@suse.com + +- drop unneeded epydoc requirement (API docs were not built anyway) + ------------------------------------------------------------------- Wed Mar 8 17:21:51 UTC 2017 - toddrme2178@gmail.com diff --git a/python-dbus-python.spec b/python-dbus-python.spec index efc208e..f2ae223 100644 --- a/python-dbus-python.spec +++ b/python-dbus-python.spec @@ -1,7 +1,7 @@ # # spec file for package python-dbus-python # -# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,15 +26,15 @@ Group: Development/Libraries/Python Url: http://www.freedesktop.org/wiki/Software/DBusBindings/ Source: https://files.pythonhosted.org/packages/source/d/dbus-python/dbus-python-%{version}.tar.gz Source99: python-dbus-python-rpmlintrc +BuildRequires: %{python_module devel} +BuildRequires: %{python_module docutils} +BuildRequires: %{python_module gobject} +BuildRequires: %{python_module xml} BuildRequires: epydoc BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildRequires: pkgconfig(dbus-1) >= 1.6.0 BuildRequires: pkgconfig(dbus-glib-1) -BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} -BuildRequires: %{python_module gobject} -BuildRequires: %{python_module docutils} -BuildRequires: %{python_module xml} Requires: python-gobject Requires: python-xml %ifpython2 @@ -59,9 +59,9 @@ D-Bus python bindings for use with python programs. %package devel Summary: Python bindings for D-Bus -- development files Group: Development/Libraries/Python -Requires: python-devel Requires: %{name} = %{version} Requires: %{name}-common-devel = %{version} +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 @@ -84,6 +84,7 @@ Python bindings for D-Bus. %package -n %{name}-common-devel Summary: Python bindings for D-Bus -- shared development files +Group: Development/Libraries/Python Requires: pkgconfig(dbus-1) >= 1.6.0 Requires: pkgconfig(dbus-glib-1) Provides: %{python_module dbus-python-common-devel = %{version}} @@ -100,7 +101,6 @@ the Python2 and Python3 versions of the bindings. # Remove Makefile* (fix rpmlint warning "makefile-junk") rm -f examples/Makefile* - %build export CFLAGS="%{optflags} -fstack-protector -fno-strict-aliasing -fPIC" %define _configure ../configure @@ -117,7 +117,6 @@ popd } - %install %{python_expand pushd build_%{$python_bin_suffix} @@ -163,7 +162,6 @@ ln -s %{_libdir}/pkgconfig/dbus-python.pc \ %fdupes %{buildroot} - %files %{python_files} %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog NEWS README @@ -172,7 +170,6 @@ ln -s %{_libdir}/pkgconfig/dbus-python.pc \ %{python_sitearch}/_dbus_bindings.so %{python_sitearch}/_dbus_glib_bindings.so - %files %{python_files devel} %defattr(-,root,root,-) %doc AUTHORS COPYING @@ -180,7 +177,6 @@ ln -s %{_libdir}/pkgconfig/dbus-python.pc \ %{_includedir}/dbus-1.0/dbus/dbus-python-%{python_bin_suffix}.h %{_libdir}/pkgconfig/dbus-python-%{python_bin_suffix}.pc - %files -n %{name}-common-devel %defattr(-,root,root,-) %doc AUTHORS COPYING @@ -188,5 +184,4 @@ ln -s %{_libdir}/pkgconfig/dbus-python.pc \ %{_includedir}/dbus-1.0/dbus/dbus-python.h %{_libdir}/pkgconfig/dbus-python.pc - %changelog