[Lunar-commits] <moonbase> rpm: updated to 5.4.9

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sun May 27 23:53:59 CEST 2012


commit 96dba56899ef1b11a5ff41fd5b1d09126a03284f
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sun May 27 23:53:59 2012 +0200

    rpm: updated to 5.4.9
---
 zbeta/rpm/BUILD     |    6 ++----
 zbeta/rpm/DETAILS   |   11 ++++++-----
 zbeta/rpm/PRE_BUILD |    4 ++++
 3 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/zbeta/rpm/BUILD b/zbeta/rpm/BUILD
index aa502fa..df28bf6 100644
--- a/zbeta/rpm/BUILD
+++ b/zbeta/rpm/BUILD
@@ -1,9 +1,7 @@
 (
 
-  sed -i -r 's@#if\ defined\(EOWNERDEAD\)@#if\ defined\(EOWNERDEAD\)\ \&\&\ defined\(PTHREAD_MUTEX_ROBUST_NP\)@' db/mutex/mut_pthread.c &&
-
-  LDFLAGS=$(echo $LDFLAGS | sed  s/"-z combreloc"// ) &&
-
+  tar -xzpvf $MODULE-$VERSION.tar.gz &&
+  cd $MODULE-$VERSION &&
   OPTS+=" --without-selinux --enable-static=no" &&
 
   default_build
diff --git a/zbeta/rpm/DETAILS b/zbeta/rpm/DETAILS
index c4ba63d..771079d 100644
--- a/zbeta/rpm/DETAILS
+++ b/zbeta/rpm/DETAILS
@@ -1,12 +1,13 @@
           MODULE=rpm
-           MAJOR=5.2
-         VERSION=${MAJOR}.0
-          SOURCE=$MODULE-$VERSION.tar.gz
+           MAJOR=5.4
+         VERSION=$MAJOR.9
+          SOURCE=$MODULE-$VERSION-0.20120508.src.rpm
       SOURCE_URL=http://rpm5.org/files/rpm/rpm-$MAJOR
-      SOURCE_VFY=sha1:45031ea461738f081559082d35ce80fcfea822e6
+      SOURCE_VFY=sha1:20e5cc7e29ff45b6c5378dbe8ae4af4d1b217971
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
         WEB_SITE=http://www.rpm5.org
          ENTERED=20021102
-         UPDATED=20090725
+         UPDATED=20120527
            PSAFE=no
            SHORT="Redhat command line driven package management system"
 
diff --git a/zbeta/rpm/PRE_BUILD b/zbeta/rpm/PRE_BUILD
new file mode 100644
index 0000000..608716a
--- /dev/null
+++ b/zbeta/rpm/PRE_BUILD
@@ -0,0 +1,4 @@
+validate_source_dir $SOURCE_DIRECTORY &&
+mkdir $SOURCE_DIRECTORY &&
+cd $SOURCE_DIRECTORY &&
+unpack $SOURCE


More information about the Lunar-commits mailing list