summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-09-03 16:45:50 -0400
committerAnas Nashif <anas.nashif@intel.com>2013-09-03 16:46:10 -0400
commit0910bc53d2965584e7305b4f32158fa56af6197f (patch)
tree71c60a79d6a8c97621043a48c7b9415cb4e8d57d
parent2e58652f982bd7145706a0b7d5b9320afd6a3d2b (diff)
downloaddbus-python-accepted/tizen/ivi/genivi.tar.gz
dbus-python-accepted/tizen/ivi/genivi.tar.bz2
dbus-python-accepted/tizen/ivi/genivi.zip
- 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