diff options
-rw-r--r-- | packaging/dbus-python.spec | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/packaging/dbus-python.spec b/packaging/dbus-python.spec index bc53a51..9df22eb 100644 --- a/packaging/dbus-python.spec +++ b/packaging/dbus-python.spec @@ -3,7 +3,7 @@ Version: 1.1.1 Release: 0 Summary: Python bindings for D-Bus License: MIT -Group: Development/Libraries/Python +Group: System/Libraries Url: http://www.freedesktop.org/wiki/Software/DBusBindings/ Source0: http://dbus.freedesktop.org/releases/dbus-python/dbus-python-%{version}.tar.gz Source1001: dbus-python.manifest @@ -13,18 +13,16 @@ BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(dbus-glib-1) Requires: libxml2-python Requires: python-xml -Requires: dbus >= %( echo `rpm -q --queryformat '%{VERSION}' dbus`) -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: dbus >= 1.6.10 %description D-Bus python bindings for use with python programs. %package devel Summary: Python bindings for D-Bus -Group: Development/Libraries/Python Requires: dbus-python = %{version} -Requires: dbus >= %( echo `rpm -q --queryformat '%{VERSION}' dbus`) -Requires: dbus-devel >= %( echo `rpm -q --queryformat '%{VERSION}' dbus-devel`) +Requires: dbus >= 1.6.10 +Requires: dbus-devel >= 1.6.10 %description devel Developer files for Python bindings for D-Bus. @@ -39,9 +37,7 @@ export CFLAGS="%{optflags} -fstack-protector -fno-strict-aliasing -fPIC" make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install - -# Install additional docs +%make_install %remove_docs |