rpms/crm114/devel crm114-64bit.patch,NONE,1.1 crm114.spec,1.3,1.4

Dominik Mierzejewski (rathann) fedora-extras-commits at redhat.com
Tue Apr 17 17:18:26 UTC 2007


Author: rathann

Update of /cvs/extras/rpms/crm114/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2765

Modified Files:
	crm114.spec 
Added Files:
	crm114-64bit.patch 
Log Message:
- fix testsuite on 64bit, patch by Jaakko Hyvätti

crm114-64bit.patch:

--- NEW FILE crm114-64bit.patch ---
--- crm114-20070301-BlameBaltar.no-TRE.src/crm_str_funcs.c.64bit	2007-03-02 16:33:55.000000000 +0100
+++ crm114-20070301-BlameBaltar.no-TRE.src/crm_str_funcs.c	2007-04-17 19:03:50.000000000 +0200
@@ -103,7 +103,7 @@
 {
   long i;
   // unsigned long hval;
-  long hval;
+  int32_t hval;
   unsigned long tmp;
 
   // initialize hval


Index: crm114.spec
===================================================================
RCS file: /cvs/extras/rpms/crm114/devel/crm114.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- crm114.spec	15 Apr 2007 21:05:40 -0000	1.3
+++ crm114.spec	17 Apr 2007 17:17:52 -0000	1.4
@@ -1,6 +1,6 @@
 %define cvsver 20070301
 %define codename BlameBaltar
-%define rel 3
+%define rel 4
 
 Summary: CRM114 Bayesian Spam Detector
 Name: crm114
@@ -11,6 +11,7 @@
 Group: Applications/Text
 Source0: http://crm114.sourceforge.net/%{name}-%{cvsver}-%{codename}.no-TRE.src.tar.bz2
 Patch0: %{name}-rpm.patch
+Patch1: %{name}-64bit.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
 BuildRequires: tre-devel
 
@@ -33,6 +34,7 @@
 %prep
 %setup -q -n %{name}-%{cvsver}-%{codename}.no-TRE.src
 %patch0 -p1 -b .r
+%patch1 -p1 -b .64bit
 chmod 644 README *.cf *.h *.recipe *.txt
 
 %build
@@ -62,6 +64,9 @@
 %{_datadir}/emacs/site-lisp/*.el
 
 %changelog
+* Tue Apr 17 2007 Dominik Mierzejewski <rpm at greysector.net> 0-0.4.20070301
+- fix testsuite on 64bit, patch by Jaakko Hyvätti
+
 * Sun Apr 15 2007 Dominik Mierzejewski <rpm at greysector.net> 0-0.3.20070301
 - updated to 20070301 "BlameBaltar"
 - added missing quine.crm to testsuite




More information about the scm-commits mailing list