[dexter] Fix FTBFS issues (bz 715964).

Thomas Moschny thm at fedoraproject.org
Fri Jun 24 20:46:08 UTC 2011


commit 4ace42b96a13528c5557e72ed206dc7d2612e345
Author: Thomas Moschny <thm at fedoraproject.org>
Date:   Fri Jun 24 22:42:41 2011 +0200

    Fix FTBFS issues (bz 715964).
    
    - Add missing BR on pyxdg.
    - Ensure xdg user data dir is present at build time.

 dexter.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/dexter.spec b/dexter.spec
index 31e2c95..588894f 100644
--- a/dexter.spec
+++ b/dexter.spec
@@ -1,6 +1,6 @@
 Name:           dexter
 Version:        0.18
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Address Book that goes hand in hand with Postler
 Group:          Applications/Internet
 License:        GPLv3 and GPLv2
@@ -12,12 +12,12 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  python-devel
 BuildRequires:  python-distutils-extra
-BuildRequires:  pygtk2 python-storm python-vobject 
+BuildRequires:  pygtk2 python-storm python-vobject pyxdg
 BuildRequires:  dbus-python pygobject2 python-enchant
 BuildRequires:  intltool
 BuildRequires:  Xvfb xauth
 BuildRequires:  desktop-file-utils
-Requires:       pygtk2 python-storm python-vobject
+Requires:       pygtk2 python-storm python-vobject pyxdg
 Requires:       dbus-python pygobject2 python-enchant
 
 
@@ -48,6 +48,8 @@ find . -type f -name '*.ui' \
 
 
 %build
+# work around https://bugs.launchpad.net/dexter-rolodex/+bug/801751
+mkdir -p $(python -c 'import glib; print glib.get_user_data_dir()')
 xvfb-run -a -w 1 %{__python} setup.py build
 
 
@@ -97,6 +99,11 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Fri Jun 24 2011 Thomas Moschny <thomas.moschny at gmx.de> - 0.18-4
+- Fix FTBFS issues (bz 715964).
+  - Add missing BR on pyxdg.
+  - Ensure xdg user data dir is present at build time.
+
 * Sat Apr  9 2011 Thomas Moschny <thomas.moschny at gmx.de> - 0.18-3
 - Include the office-address-book icon from the elementary icon theme
   as dexter.svg.


More information about the scm-commits mailing list