Re: [gnet-dev] Letting gnet-1.1.8 and gnet-2.0.1RPM packages coexist



On Monday 28 April 2003 18:20, you wrote:
> On Sun, 27 Apr 2003, Bas Mevissen wrote:
> > OK. Some remarks:
> >
> > The spec file for 1.1.8 doesn't contain the gnet.pc file. Furthermore,
> > the man page is not included in the package and (for RH systems)
> > installed in the wrong location by default.
>
> Will the spec file you sent me work in 1.1.8?
>

No, it was for 2.0.1. See the diff file I prepared (and now attached). For 
1.1.8, I'll prepare one soon. I assumed that you could add that yourself, but 
it's no problem for me to do it. But that will have to wait until tomorrow 
evening.

> > Please make sure that the files are owned by root.root before packing
> > (they weren't in the 1.1.8 tarball).
>
> Does this need to be done in the spec file?  I can't include root owned
> files in the tarball.
>

Why not? Some tar option should let you do that and otherwise use a computer 
where you can be root on.

Regards,

Bas.

diff -urN gnet-2.0.1/ChangeLog gnet-2.0.2/ChangeLog
--- gnet-2.0.1/ChangeLog	2003-04-22 00:22:11.000000000 +0200
+++ gnet-2.0.2/ChangeLog	2003-04-27 18:18:59.000000000 +0200
@@ -1,3 +1,8 @@
+Sun Apr 27 18:22:07 2003  Bas Mevissen <packager basmevissen nl>
+
+	* configure.ac: Update version for 2.0.2
+	* gnet.spec.in: Update to coexist with gnet-1.x.x packages
+
 Mon Apr 21 18:22:07 2003  David Helder  <dhelder umich edu>
 
 	* configure.ac: Update version for 2.0.1
@@ -913,7 +918,7 @@
 	
 	* src/mcast.c (gnet_mcast_socket_port_new): Add g_htonl around
 	   INADDR_ANY (style bug - it should not make a
-	   difference). (thanks Eduardo Pérez Ureta)
+	   difference). (thanks Eduardo Pérez Ureta)
 
 	* src/udp.c (gnet_udp_socket_new_interface): Fix memory leak on
 	   errors (thanks Jakub Jagielka).
diff -urN gnet-2.0.1/configure gnet-2.0.2/configure
--- gnet-2.0.1/configure	2003-04-22 02:30:30.000000000 +0200
+++ gnet-2.0.2/configure	2003-04-27 18:19:15.000000000 +0200
@@ -1,7 +1,7 @@
 #! /bin/sh
 # From configure.ac Revision: 1.35 .
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.57 for gnet 2.0.1.
+# Generated by GNU Autoconf 2.57 for gnet 2.0.2.
 #
 # Report bugs to <gnet gnetlibrary org>.
 #
@@ -428,8 +428,8 @@
 # Identity of this package.
 PACKAGE_NAME='gnet'
 PACKAGE_TARNAME='gnet'
-PACKAGE_VERSION='2.0.1'
-PACKAGE_STRING='gnet 2.0.1'
+PACKAGE_VERSION='2.0.2'
+PACKAGE_STRING='gnet 2.0.2'
 PACKAGE_BUGREPORT='gnet gnetlibrary org'
 
 ac_unique_file="src/gnet.c"
@@ -939,7 +939,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures gnet 2.0.1 to adapt to many kinds of systems.
+\`configure' configures gnet 2.0.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1006,7 +1006,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of gnet 2.0.1:";;
+     short | recursive ) echo "Configuration of gnet 2.0.2:";;
    esac
   cat <<\_ACEOF
 
@@ -1114,7 +1114,7 @@
 test -n "$ac_init_help" && exit 0
 if $ac_init_version; then
   cat <<\_ACEOF
-gnet configure 2.0.1
+gnet configure 2.0.2
 generated by GNU Autoconf 2.57
 
 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
@@ -1129,7 +1129,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by gnet $as_me 2.0.1, which was
+It was created by gnet $as_me 2.0.2, which was
 generated by GNU Autoconf 2.57.  Invocation command line was
 
   $ $0 $@
@@ -1740,7 +1740,7 @@
 
 PACKAGE=gnet
 
-VERSION=2.0.1
+VERSION=2.0.2
 
 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
@@ -10992,7 +10992,7 @@
 } >&5
 cat >&5 <<_CSEOF
 
-This file was extended by gnet $as_me 2.0.1, which was
+This file was extended by gnet $as_me 2.0.2, which was
 generated by GNU Autoconf 2.57.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -11055,7 +11055,7 @@
 
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-gnet config.status 2.0.1
+gnet config.status 2.0.2
 configured by $0, generated by GNU Autoconf 2.57,
   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
diff -urN gnet-2.0.1/configure.ac gnet-2.0.2/configure.ac
--- gnet-2.0.1/configure.ac	2003-04-22 00:22:04.000000000 +0200
+++ gnet-2.0.2/configure.ac	2003-04-27 18:16:54.000000000 +0200
@@ -6,7 +6,7 @@
 AC_PREREQ([2.52])
 
 # Init autoconf and automake
-AC_INIT([gnet], [2.0.1], [gnet gnetlibrary org])
+AC_INIT([gnet], [2.0.2], [gnet gnetlibrary org])
 AC_CANONICAL_SYSTEM
 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 AM_MAINTAINER_MODE
diff -urN gnet-2.0.1/gnet.spec gnet-2.0.2/gnet.spec
--- gnet-2.0.1/gnet.spec	2003-04-22 02:30:38.000000000 +0200
+++ gnet-2.0.2/gnet.spec	2003-04-27 18:19:42.000000000 +0200
@@ -1,11 +1,11 @@
 # Note that this is NOT a relocatable package
-%define ver      2.0.1
+%define ver      2.0.2
 %define libver   2.0
 %define rel      1
 %define prefix   /usr
 
 Summary: Gnet, a network library
-Name:      gnet
+Name:      gnet2
 Version:   %ver
 Release:   %rel
 Copyright: LGPL
@@ -48,7 +48,7 @@
 
 
 %prep
-%setup
+%setup -q -n gnet-%{version}
 
 %build
 %ifarch alpha
@@ -94,6 +94,9 @@
 %{prefix}/lib/libgnet-%{libver}.so
 
 %changelog
+* Sun Apr 27 2003 Bas Mevissen <packager basmevissen nl>
+- Updated to coexist with gnet-1.x.x RPM packages
+
 * Mon Mar 03 2003 Jeff Bonggren <jbon cfl rr com>
 - Removed Docdir directive.
 - Updated the files section.
diff -urN gnet-2.0.1/gnet.spec.in gnet-2.0.2/gnet.spec.in
--- gnet-2.0.1/gnet.spec.in	2003-03-13 19:01:36.000000000 +0100
+++ gnet-2.0.2/gnet.spec.in	2003-04-27 18:12:06.000000000 +0200
@@ -5,7 +5,7 @@
 %define prefix   /usr
 
 Summary: Gnet, a network library
-Name:      gnet
+Name:      gnet2
 Version:   %ver
 Release:   %rel
 Copyright: LGPL
@@ -48,7 +48,7 @@
 
 
 %prep
-%setup
+%setup -q -n gnet-%{version}
 
 %build
 %ifarch alpha
@@ -94,6 +94,9 @@
 %{prefix}/lib/libgnet-%{libver}.so
 
 %changelog
+* Sun Apr 27 2003 Bas Mevissen <packager basmevissen nl>
+- Updated to coexist with gnet-1.x.x RPM packages
+
 * Mon Mar 03 2003 Jeff Bonggren <jbon cfl rr com>
 - Removed Docdir directive.
 - Updated the files section.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]