rpms/sunbird/devel sunbird.spec,1.38,1.39

Jan Horak xhorak at fedoraproject.org
Tue Sep 22 14:00:33 UTC 2009


Author: xhorak

Update of /cvs/pkgs/rpms/sunbird/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10668

Modified Files:
	sunbird.spec 
Log Message:
Rebuild against new Thunderbird


Index: sunbird.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sunbird/devel/sunbird.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -p -r1.38 -r1.39
--- sunbird.spec	22 Sep 2009 13:42:31 -0000	1.38
+++ sunbird.spec	22 Sep 2009 14:00:33 -0000	1.39
@@ -11,6 +11,14 @@
 %define _use_internal_dependency_generator 0
 %define __find_requires %{SOURCE100} %{buildroot}
 
+# The tarball is pretty inconsistent with directory structure.
+# Sometimes there is a top level directory.  That goes here.
+#
+# IMPORTANT: If there is no top level directory, this should be 
+# set to the cwd, ie: '.'
+#%define tarballdir .
+%define tarballdir comm-central
+
 Name:           sunbird
 Version:        1.0
 Release:        0.12.20090715hg%{?dist}
@@ -106,6 +114,7 @@ calendaring tasks.
 
 %prep
 %setup -c -q -a 2
+cd %{tarballdir}
 %patch0 -p0 -b .jemalloc
 %patch10 -p0 -b .libical
 %patch11 -p0 -b .uilocale
@@ -114,6 +123,7 @@ find . -name '*.cpp' -o -name '*.h' |xar
 
 
 %build
+cd %{tarballdir}
 cat >.mozconfig <<EOF
 ac_add_options --disable-crashreporter
 ac_add_options --disable-debug
@@ -146,6 +156,7 @@ make -f client.mk build
 
 %install
 rm -rf $RPM_BUILD_ROOT
+cd %{tarballdir}
 
 # make install is bogus
 # copy tree, break symlinks




More information about the fedora-extras-commits mailing list