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

[Cluster-devel] Cluster Project branch, STABLE2, updated. cluster-2.03.02-15-g9e21333



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=9e213333cfac6dcb1e6c71d55e92cfbecfbe3df6

The branch, STABLE2 has been updated
       via  9e213333cfac6dcb1e6c71d55e92cfbecfbe3df6 (commit)
       via  08cd9e2b038b4cde192257794d41f774d4dfdbef (commit)
      from  45932c80f1a21c5c6b7486a9026a2e63e9b14d25 (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 9e213333cfac6dcb1e6c71d55e92cfbecfbe3df6
Author: Fabio M. Di Nitto <fdinitto redhat com>
Date:   Fri May 16 11:23:26 2008 +0200

    [BUILD] Set soname to 2.3
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto redhat com>

commit 08cd9e2b038b4cde192257794d41f774d4dfdbef
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 787b67d..f64f266 100755
--- a/configure
+++ b/configure
@@ -659,9 +659,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;
@@ -672,7 +671,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..4e8c8d6
--- /dev/null
+++ b/make/official_release_version
@@ -0,0 +1 @@
+SONAME "2.3"


hooks/post-receive
--
Cluster Project


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