rpms/ctemplate/devel ctemplate-0.93.bswap.patch, NONE, 1.1 ctemplate.spec, 1.5, 1.6 import.log, 1.2, 1.3

Rakesh Pandit rakesh at fedoraproject.org
Sun Apr 12 18:02:20 UTC 2009


Author: rakesh

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

Modified Files:
	ctemplate.spec import.log 
Added Files:
	ctemplate-0.93.bswap.patch 
Log Message:
Added python as BuildRequires, and bswap patch for ppc.


ctemplate-0.93.bswap.patch:

--- NEW FILE ctemplate-0.93.bswap.patch ---
--- ctemplate-0.93.org/src/template_string.cc	2009-04-13 09:59:48.301599306 +0530
+++ ctemplate-0.93/src/template_string.cc	2009-04-13 11:15:10.005599785 +0530
@@ -85,7 +85,7 @@
 // we do what we can to make this as efficient as possible.
 #if defined(HAVE_BYTESWAP_H)
 # include <byteswap.h>              // GNU (especially linux)
-# define BSWAP32(x)  bswap32(x)
+# define BSWAP32(x)  bswap_32(x)
 #elif defined(HAVE_LIBKERN_OSBYTEORDER_H)
 # include <libkern/OSByteOrder.h>   // OS X
 # define BSWAP32(x)  OSSwapInt32(x)


Index: ctemplate.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ctemplate/devel/ctemplate.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ctemplate.spec	12 Apr 2009 15:52:36 -0000	1.5
+++ ctemplate.spec	12 Apr 2009 18:01:48 -0000	1.6
@@ -1,6 +1,6 @@
 Name:           ctemplate
 Version:        0.93
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A simple but powerful template language for C++
 
 Group:          Development/Tools
@@ -8,8 +8,9 @@
 URL:            http://code.google.com/p/google-ctemplate/
 Source0:        http://google-ctemplate.googlecode.com/files/%{name}-%{version}.tar.gz
 Patch0:         ctemplate-0.93.consts.patch
+Patch1:         ctemplate-0.93.bswap.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:  chrpath
+BuildRequires:  chrpath, python
 
 %description
 CTemplate is a simple but powerful template language for C++. It
@@ -29,7 +30,8 @@
 %prep
 %setup -q
 %patch0 -p1 -b .const
-
+chmod 644 src/template_string.cc
+%patch1 -p1 -b .bswap
 
 %build
 %configure --disable-static
@@ -91,6 +93,9 @@
 %{_includedir}/%{name}/*.h
 
 %changelog
+* Sun Apr 12 2009 Rakesh Pandit <rakesh at fedoraproject.org> - 0.93-2
+- Added python as BuildRequires, and bswap patch for ppc
+
 * Sun Apr 12 2009 Rakesh Pandit <rakesh at fedoraproject.org> - 0.93-1
 - Updated to 0.93, removed patch for consts - fixed upstream
 


Index: import.log
===================================================================
RCS file: /cvs/pkgs/rpms/ctemplate/devel/import.log,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- import.log	12 Apr 2009 15:52:36 -0000	1.2
+++ import.log	12 Apr 2009 18:01:48 -0000	1.3
@@ -1,2 +1,3 @@
 ctemplate-0_91-2_fc10:HEAD:ctemplate-0.91-2.fc10.src.rpm:1220684308
 ctemplate-0_93-1_fc11:HEAD:ctemplate-0.93-1.fc11.src.rpm:1239551194
+ctemplate-0_93-2_fc11:HEAD:ctemplate-0.93-2.fc11.src.rpm:1239559001




More information about the fedora-extras-commits mailing list