1
0
Dominique Leuenberger 2017-11-20 16:02:42 +00:00 committed by Git OBS Bridge
commit 9181c7e15f
2 changed files with 13 additions and 13 deletions

View File

@ -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 Wed Mar 8 17:21:51 UTC 2017 - toddrme2178@gmail.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 Products GmbH, Nuernberg, Germany. # Copyright (c) 2017 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
@ -26,15 +26,15 @@ 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: https://files.pythonhosted.org/packages/source/d/dbus-python/dbus-python-%{version}.tar.gz
Source99: python-dbus-python-rpmlintrc Source99: python-dbus-python-rpmlintrc
BuildRequires: %{python_module devel}
BuildRequires: %{python_module docutils}
BuildRequires: %{python_module gobject}
BuildRequires: %{python_module xml}
BuildRequires: epydoc BuildRequires: epydoc
BuildRequires: fdupes BuildRequires: fdupes
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)
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-gobject
Requires: python-xml Requires: python-xml
%ifpython2 %ifpython2
@ -59,9 +59,9 @@ 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: python-devel
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: %{name}-common-devel = %{version} Requires: %{name}-common-devel = %{version}
Requires: python-devel
Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}' dbus-1`) Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}' dbus-1`)
Requires: dbus-1-devel >= %( echo `rpm -q --queryformat '%{VERSION}' dbus-1-devel`) Requires: dbus-1-devel >= %( echo `rpm -q --queryformat '%{VERSION}' dbus-1-devel`)
%ifpython2 %ifpython2
@ -84,6 +84,7 @@ 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
Requires: pkgconfig(dbus-1) >= 1.6.0 Requires: pkgconfig(dbus-1) >= 1.6.0
Requires: pkgconfig(dbus-glib-1) Requires: pkgconfig(dbus-glib-1)
Provides: %{python_module dbus-python-common-devel = %{version}} 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") # Remove Makefile* (fix rpmlint warning "makefile-junk")
rm -f examples/Makefile* rm -f examples/Makefile*
%build %build
export CFLAGS="%{optflags} -fstack-protector -fno-strict-aliasing -fPIC" export CFLAGS="%{optflags} -fstack-protector -fno-strict-aliasing -fPIC"
%define _configure ../configure %define _configure ../configure
@ -117,7 +117,6 @@ popd
} }
%install %install
%{python_expand pushd build_%{$python_bin_suffix} %{python_expand pushd build_%{$python_bin_suffix}
@ -163,7 +162,6 @@ ln -s %{_libdir}/pkgconfig/dbus-python.pc \
%fdupes %{buildroot} %fdupes %{buildroot}
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README %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_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,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING %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 %{_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,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING %doc AUTHORS COPYING
@ -188,5 +184,4 @@ ln -s %{_libdir}/pkgconfig/dbus-python.pc \
%{_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
%changelog %changelog