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

Modified Files:
        MonetDB-java.spec.in configure.ag rpm.mk.in 
Log Message:
Changed the name of the generated tar balls (and the name of the
top-level directory within them).
The names are now equal to what nightly testing created, so that
doesn't have to rename the tar balls anymore.
The files are still installed in the same place as before.
Building RPMs still works.

The main change in the code is that we no longer use @PACKAGE@ since
that is the longer tar ball name which we don't want in the
installation directories we create.  Also, we can't use the defaults
when installing include files since they would also otherwise be
installed in a directory with @PACKAGE@ in it.

Note, this will undoubtedly negatively affect the monetdb-install
script, but I leave it to its owner to fix that.


Index: MonetDB-java.spec.in
===================================================================
RCS file: /cvsroot/monetdb/java/MonetDB-java.spec.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- MonetDB-java.spec.in        28 Nov 2007 16:23:56 -0000      1.2
+++ MonetDB-java.spec.in        3 Dec 2007 08:24:22 -0000       1.3
@@ -15,7 +15,7 @@
 Group: Applications/Databases
 License: MPL - http://monetdb.cwi.nl/Legal/MonetDBLicense-1.1.html
 URL: http://monetdb.cwi.nl/
-Source: http://downloads.sourceforge.net/monetdb/java-%{version}.tar.gz
+Source: http://downloads.sourceforge.net/monetdb/MonetDB-java-%{version}.tar.gz
 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 BuildArch: noarch
 
@@ -56,7 +56,7 @@
 %prep
 rm -rf $RPM_BUILD_ROOT
 
-%setup -q -n java-%{version}
+%setup -q -n MonetDB-java-%{version}
 
 %build
 

Index: configure.ag
===================================================================
RCS file: /cvsroot/monetdb/java/configure.ag,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- configure.ag        29 Nov 2007 12:01:37 -0000      1.3
+++ configure.ag        3 Dec 2007 08:24:22 -0000       1.4
@@ -19,7 +19,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.59)
-AC_INIT([MonetDB Java], [1.7.1], [EMAIL PROTECTED], [java])
+AC_INIT([MonetDB Java], [1.7.1], [EMAIL PROTECTED], [MonetDB-java])
 AC_CONFIG_AUX_DIR(conf)
 AM_INIT_AUTOMAKE
 AM_CONFIG_HEADER([monetdb_java_config.h])

Index: rpm.mk.in
===================================================================
RCS file: /cvsroot/monetdb/java/rpm.mk.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- rpm.mk.in   29 Nov 2007 12:01:37 -0000      1.3
+++ rpm.mk.in   3 Dec 2007 08:24:22 -0000       1.4
@@ -45,7 +45,7 @@
        $(RPMBUILD) --rcfile 
/usr/lib/rpm/rpmrc:/usr/lib/rpm/redhat/rpmrc:$(rpmtopdir)/rpmrc -ts 
--define="buildsystem 1" $(top_builddir)/$(distdir).tar.gz
 
 cleanup_distr:
-       find java-* -perm -0100 -type f ! -name \*.bat ! -name \*.sh ! -exec 
grep -q '^#!' {} \; -exec chmod a-x {} \;
-       find java-* -name \*.in ! -name configure.in ! -name \*.spec.in -print 
| while read i; do test -f $${i%.in} && rm -f $${i%.in}; done || true
+       find MonetDB-java-* -perm -0100 -type f ! -name \*.bat ! -name \*.sh ! 
-exec grep -q '^#!' {} \; -exec chmod a-x {} \;
+       find MonetDB-java-* -name \*.in ! -name configure.in ! -name \*.spec.in 
-print | while read i; do test -f $${i%.in} && rm -f $${i%.in}; done || true
 
 dist-hook: cleanup_distr


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to