From 56ea4f65a792a6d4ebaeab34d6a0c1d9c8d13082 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 25 Mar 2011 16:02:21 +0100 Subject: remove FILENAME_INFORMALL and tighten up some loose ends Signed-off-by: Denys Vlasenko --- scripts/dbg_mkrpm.old | 48 ----------------------------------------------- scripts/dbg_rpmbuildlocal | 11 ----------- 2 files changed, 59 deletions(-) delete mode 100755 scripts/dbg_mkrpm.old delete mode 100755 scripts/dbg_rpmbuildlocal (limited to 'scripts') diff --git a/scripts/dbg_mkrpm.old b/scripts/dbg_mkrpm.old deleted file mode 100755 index 0149b215..00000000 --- a/scripts/dbg_mkrpm.old +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh - -#set -e - -#git clone git://git.fedorahosted.org/git/abrt.git -#SRCDIR="abrt" -#BUILDDIR="abrt" - -SRCDIR="." -BUILDDIR="../`basename "$PWD"`.builddir" - -if ! test -f "$SRCDIR/configure"; then - echo "Autogenerating configure" - (cd "$SRCDIR" && ./autogen.sh) || { rm -f "$SRCDIR/configure"; exit 1; } -fi - -test -f "$SRCDIR/abrt.spec" || exit 1 -ABRTVER=`grep ^Version: "$SRCDIR/abrt.spec" | head -n1 | sed 's/.* //'` - -rm -rf "$BUILDDIR" -mkdir "$BUILDDIR" 2>/dev/null - -cp -a "$SRCDIR" "$BUILDDIR"/abrt-$ABRTVER - -cd "$BUILDDIR" || exit 1 - -tar -czf abrt-$ABRTVER.tar.gz abrt-$ABRTVER -cp abrt-$ABRTVER/abrt.spec . -cp abrt-$ABRTVER/abrt.init . -cp abrt-$ABRTVER/abrt-ccpp.init . -#cp abrt-$ABRTVER/dbg_* . -rm -rf abrt-$ABRTVER - -# Less ugly way to pass exitcode (without bashisms)? -{ nice -n10 rpmbuild \ - --define "_topdir $PWD" \ - --define "_builddir $PWD" \ - --define "_rpmdir $PWD" \ - --define "_sourcedir $PWD" \ - --define "_specdir $PWD" \ - --define "_srcrpmdir $PWD" \ - --define "_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" \ - -bb abrt.spec 2>&1 -echo $? >"EXITCODE" -} | tee -a "$0.log" -ret=`cat EXITCODE` -rm EXITCODE -exit "$ret" diff --git a/scripts/dbg_rpmbuildlocal b/scripts/dbg_rpmbuildlocal deleted file mode 100755 index e0ed7add..00000000 --- a/scripts/dbg_rpmbuildlocal +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -exec rpmbuild \ ---define "_topdir $PWD" \ ---define "_builddir $PWD" \ ---define "_rpmdir $PWD" \ ---define "_sourcedir $PWD" \ ---define "_specdir $PWD" \ ---define "_srcrpmdir $PWD" \ ---define "_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" \ -"$@" -- cgit