summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-11-29 12:10:54 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-11-29 12:10:54 +0000
commit600189bdf7ebdfe6938f250109626b58a559a66a (patch)
treecb533b400d3b79117a0573dfae56e07f8c0dd21a
parent11f72e969a49eb0516c11a98bd23dfdc1b2c021a (diff)
downloaddbus-python-600189bdf7ebdfe6938f250109626b58a559a66a.tar.gz
dbus-python-600189bdf7ebdfe6938f250109626b58a559a66a.tar.bz2
dbus-python-600189bdf7ebdfe6938f250109626b58a559a66a.zip
A locally-rebuilt version of dbus will end up with release 0, causing it not to satisfy the dependency any more. It shouldn't be necessary to depend on a specific release anyway: library functionality is what really matters, and that's determined by the upstream version.
-rw-r--r--packaging/dbus-python.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/dbus-python.spec b/packaging/dbus-python.spec
index 6bd3445..d571dd7 100644
--- a/packaging/dbus-python.spec
+++ b/packaging/dbus-python.spec
@@ -12,7 +12,7 @@ BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dbus-glib-1)
Requires: libxml2-python
Requires: python-xml
-Requires: dbus >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus`)
+Requires: dbus >= %( echo `rpm -q --queryformat '%{VERSION}' dbus`)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -22,8 +22,8 @@ D-Bus python bindings for use with python programs.
Summary: Python bindings for D-Bus
Group: Development/Libraries/Python
Requires: dbus-python = %{version}
-Requires: dbus >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus`)
-Requires: dbus-devel >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-devel`)
+Requires: dbus >= %( echo `rpm -q --queryformat '%{VERSION}' dbus`)
+Requires: dbus-devel >= %( echo `rpm -q --queryformat '%{VERSION}' dbus-devel`)
%description devel
Developer files for Python bindings for D-Bus.