summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-09-03 16:45:50 -0400
committerChanho Park <chanho61.park@samsung.com>2014-11-28 15:17:39 +0900
commit002c86fcd0343c2c471c0ea66c613016d1bfc4f9 (patch)
treeb9a99ae2275c0dabdf71c2d46f3a353a223a7ff9
parent64fc0964b1d9325f3e42d5c47ac1d0b7a2153c93 (diff)
downloaddbus-python-002c86fcd0343c2c471c0ea66c613016d1bfc4f9.tar.gz
dbus-python-002c86fcd0343c2c471c0ea66c613016d1bfc4f9.tar.bz2
dbus-python-002c86fcd0343c2c471c0ea66c613016d1bfc4f9.zip
fixed runtime dependencies
- Do not depend on RPM to get version of dbus - Fixed package groups Change-Id: Ie3bf84eef9542a889e251bf7f05c0f9715f3cf67 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
-rw-r--r--packaging/dbus-python.spec14
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