Update of /cvsroot/monetdb/MonetDB
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4016

Modified Files:
        MonetDB.spec.in rpm.mk.in 
Log Message:
propagated changes of Tuesday Aug 21 2007 - Thursday Aug 23 2007
from the MonetDB_1-18 branch to the development trunk


Index: MonetDB.spec.in
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/MonetDB.spec.in,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- MonetDB.spec.in     31 Jul 2007 13:41:42 -0000      1.52
+++ MonetDB.spec.in     23 Aug 2007 13:01:23 -0000      1.53
@@ -1,6 +1,15 @@
+# groups of related archs
+%define all_x86 i386 i586 i686
+
+%ifarch %{all_x86}
+%define bits 32
+%else
+%define bits 64
+%endif
+
 %define name MonetDB
 %define version @VERSION@
-%define release [EMAIL PROTECTED]@[EMAIL PROTECTED]@
+%define release 1%{?dist}%{?oid32:.oid32}%{!?oid32:.oid%{bits}}
 
 %define prefix /usr
 %define sysconfdir /etc
@@ -16,18 +25,10 @@
 Packager: Niels Nes <[EMAIL PROTECTED]>
 License:   MPL - http://monetdb.cwi.nl/Legal/MonetDBLicense-1.1.html
 BuildRequires: python 
+BuildRequires: zlib-devel, bzip2-devel, openssl-devel
 
 %{!?buildsystem: %define buildsystem 0}
 
-# groups of related archs
-%define all_x86 i386 i586 i686
-
-%ifarch %{all_x86}
-%define bits 32
-%else
-%define bits 64
-%endif
-
 %package devel
 Summary: MonetDB development package 
 Group: System 
@@ -53,6 +54,7 @@
        --enable-assert=no \
        --enable-optimize \
        --enable-bits=%{bits} \
+       %{?oid32:--enable-oid32} \
        %{?comp_cc:CC="%{comp_cc}"} \
        --prefix=%{prefix} \
        --sysconfdir=%{sysconfdir} \
@@ -74,6 +76,7 @@
 find $RPM_BUILD_ROOT -name .incs.in -print -o -name \*.la -print | xargs rm -f
 
 # cleanup stuff we don't want to install
+rm -r $RPM_BUILD_ROOT%{_libdir}/*.la
 rm -rf $RPM_BUILD_ROOT%{prefix}/share/%{name}/Mprofile-commands.lst
 
 rm -rf $RPM_BUILD_ROOT%{prefix}/bin/M*

Index: rpm.mk.in
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/rpm.mk.in,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- rpm.mk.in   26 Jul 2007 14:27:11 -0000      1.19
+++ rpm.mk.in   23 Aug 2007 13:01:23 -0000      1.20
@@ -37,6 +37,8 @@
        echo "%tmpdir            %{_tmppath}"         >> $(rpmtopdir)/rpmmacros
        echo "%rpmcflags         -O2 "                >> $(rpmtopdir)/rpmmacros
        echo "#%top_builddirroot %{_topdir}/INSTALL/" >> $(rpmtopdir)/rpmmacros
+       echo "%dist              [EMAIL PROTECTED]@"       >> 
$(rpmtopdir)/rpmmacros
+       if test "@oids@" -eq 32; then echo "%oid32 1" >> 
$(rpmtopdir)/rpmmacros; fi
 
 rpm:   MonetDB.spec $(top_builddir)/$(distdir).tar.gz $(rpmtopdir)/rpmmacros
        $(RPMBUILD) --rcfile $(rpmtopdir)/rpmrc -ta --target `uname -m` 
--define="buildsystem 1" --define="comp_cc @CC@" 
$(top_builddir)/$(distdir).tar.gz


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to