[alacarte] fix build

Matthias Clasen mclasen at fedoraproject.org
Thu Jan 17 05:16:29 UTC 2013


commit 983670790feea8f4f2e2787faa3a607e8e00e643
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Thu Jan 17 00:17:02 2013 -0500

    fix build

 alacarte-ndesk.patch |   12 ++++++++++++
 alacarte.spec        |    5 ++++-
 2 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/alacarte-ndesk.patch b/alacarte-ndesk.patch
new file mode 100644
index 0000000..a698f74
--- /dev/null
+++ b/alacarte-ndesk.patch
@@ -0,0 +1,12 @@
+diff -up alacarte-3.7.3/data/Makefile.am.ndesk alacarte-3.7.3/data/Makefile.am
+--- alacarte-3.7.3/data/Makefile.am.ndesk	2013-01-17 00:16:03.801173558 -0500
++++ alacarte-3.7.3/data/Makefile.am	2013-01-17 00:16:11.300173290 -0500
+@@ -3,7 +3,7 @@ SUBDIRS = icons
+ @INTLTOOL_DESKTOP_RULE@
+ 
+ desktopdir = $(datadir)/applications
+-ndesktop_in_files = alacarte.desktop.in
++desktop_in_files = alacarte.desktop.in
+ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+ 
+ pkgdata_DATA = alacarte.ui launcher-editor.ui directory-editor.ui
diff --git a/alacarte.spec b/alacarte.spec
index d45f29b..aa9302b 100644
--- a/alacarte.spec
+++ b/alacarte.spec
@@ -11,6 +11,9 @@ URL:            http://www.gnome.org
 #VCS: git:git://git.gnome.org/alacarte
 Source0:        http://download.gnome.org/sources/alacarte/3.7/%{name}-%{version}.tar.xz
 
+# upstream fix
+Patch0: alacarte-ndesk.patch
+
 BuildArch:      noarch
 
 BuildRequires:  python, python-devel, gettext
@@ -33,7 +36,7 @@ should work with any desktop environment that uses this specification.
 
 %prep
 %setup -q
-
+%patch0 -p1 -b .ndesk
 
 %build
 %configure


More information about the scm-commits mailing list