This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cluster Project branch, master, updated. cluster-2.99.01-12-g3a8f353


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=3a8f3538e1da5794e08ceb825a4b2b77e7052f6d

The branch, master has been updated
       via  3a8f3538e1da5794e08ceb825a4b2b77e7052f6d (commit)
      from  dc0eb68982a09f73568fd63e729fe171ac3c6943 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3a8f3538e1da5794e08ceb825a4b2b77e7052f6d
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
Date:   Fri May 16 11:17:51 2008 +0200

    [BUILD] Stop using DEVEL.DATE library soname
    
    Start using the official sonames also for development trees.
    release version is there to catch the same information.
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>

-----------------------------------------------------------------------

Summary of changes:
 configure                     |    8 ++++----
 make/official_release_version |    1 +
 2 files changed, 5 insertions(+), 4 deletions(-)
 create mode 100644 make/official_release_version

diff --git a/configure b/configure
index c798363..bc0203e 100755
--- a/configure
+++ b/configure
@@ -737,9 +737,8 @@ if ((not defined($somajor)) || (not defined($sominor)) || (not defined($release_
 
   if ((not defined($somajor)) || (not defined($sominor))) {
     if (not defined($current_soname)) {
-      $somajor = DEVEL;
-      $sominor = `date +%s`;
-      chomp $sominor;
+      print "ERROR: SONAME not defined in make/official_release_version\n";
+      exit 1;
     } else {
       $current_soname =~ s/.*"(.*)"\n/$1/;
       my @release_soname = split /\./, $current_soname;
@@ -750,7 +749,8 @@ if ((not defined($somajor)) || (not defined($sominor)) || (not defined($release_
 
   if (not defined($release_version)) {
     if (not defined($current_version)) {
-      $release_version = "$somajor.$sominor";
+      $release_version = `date +%s`;
+      chomp $release_version;
     } else {
       $release_version = $current_version;
       $release_version =~ s/.*"(.*)"\n/$1/;
diff --git a/make/official_release_version b/make/official_release_version
new file mode 100644
index 0000000..3bdc875
--- /dev/null
+++ b/make/official_release_version
@@ -0,0 +1 @@
+SONAME "2.9"


hooks/post-receive
--
Cluster Project


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]