diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-11-29 12:10:54 +0000 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-28 15:17:39 +0900 |
commit | 68e636680b153a0676fe74d5116ff361623bbd8c (patch) | |
tree | 75cc53387adfd1c60becc597c4b4af5e778095bb | |
parent | a4183f6ecca186bd576104d7f110ae29e9780ba6 (diff) | |
download | dbus-python-68e636680b153a0676fe74d5116ff361623bbd8c.tar.gz dbus-python-68e636680b153a0676fe74d5116ff361623bbd8c.tar.bz2 dbus-python-68e636680b153a0676fe74d5116ff361623bbd8c.zip |
Be less strict with dbus dependencies
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.spec | 6 |
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. |