[contacts] fix build in f14

Peter Robinson pbrobinson at fedoraproject.org
Wed Sep 8 12:55:22 UTC 2010


commit a06d882d71b275c50b5971e106fc0a4ff04e040a
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Wed Sep 8 13:55:23 2010 +0100

    fix build in f14

 contacts-fixmake.patch |   11 +++++++++++
 contacts.spec          |    4 +++-
 2 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/contacts-fixmake.patch b/contacts-fixmake.patch
new file mode 100644
index 0000000..85d6f87
--- /dev/null
+++ b/contacts-fixmake.patch
@@ -0,0 +1,11 @@
+--- contacts-0.12/Makefile.in.orig	2010-09-08 13:09:20.098054179 +0100
++++ contacts-0.12/Makefile.in	2010-09-08 13:09:37.499057336 +0100
+@@ -739,7 +739,7 @@
+ 
+ 
+ snapshot:
+-        $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
++	$(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
+ 
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/contacts.spec b/contacts.spec
index a1a6501..518faac 100644
--- a/contacts.spec
+++ b/contacts.spec
@@ -7,7 +7,8 @@ Group:          Applications/Productivity
 License:        GPLv2+
 URL:            http://pimlico-project.org/contacts.html
 Source0:        ftp://ftp.gnome.org/pub/gnome/sources/%{name}/%{version}/%{name}-%{version}.tar.bz2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0:         contacts-fixmake.patch
+
 Requires(pre): GConf2
 Requires(post): GConf2
 Requires(preun): GConf2
@@ -27,6 +28,7 @@ devices, such as the Nokia 770 or the Sharp Zaurus series of PDAs.
 
 %prep
 %setup -q
+%patch0 -p1 -b .fixmake
 
 
 %build


More information about the scm-commits mailing list