From 14895207298297ad48b833eb6a22eaa922608e4c Mon Sep 17 00:00:00 2001 From: einhverfr Date: Thu, 22 Mar 2007 22:58:51 +0000 Subject: Slight changes in build system for RC5 git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@990 4979c152-3d1c-0410-bac9-87ea11338e46 --- dists/rpm/ledgersmb.spec | 2 +- dists/source/build.sh | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'dists') diff --git a/dists/rpm/ledgersmb.spec b/dists/rpm/ledgersmb.spec index 5b99340a..20543253 100644 --- a/dists/rpm/ledgersmb.spec +++ b/dists/rpm/ledgersmb.spec @@ -1,6 +1,6 @@ # RPM spec written for and tested on Fedora Core 6 Summary: LedgerSMB - Open Source accounting software -Name: ledger-smb +Name: ledgersmb Version: 1.2.0rc5 Release: 1 License: GPL diff --git a/dists/source/build.sh b/dists/source/build.sh index 50b2a152..ce9faf16 100644 --- a/dists/source/build.sh +++ b/dists/source/build.sh @@ -10,6 +10,7 @@ else fi version="1.2.0-rc5"; +rpmversion="1.2.0rc5"; build_d="../release"; if test -d blib; then @@ -20,15 +21,15 @@ if test -d _build; then rm -rf _build fi -if test -d $build_d/ledger-smb; then - rm -rf $build_d/ledger-smb +if test -d $build_d/ledgersmb; then + rm -rf $build_d/ledgersmb fi if test ! -d $build_d; then mkdir $build_d fi -mkdir $build_d/ledger-smb -cp -R * $build_d/ledger-smb -cd $build_d/ledger-smb +mkdir $build_d/ledgersmb +cp -R * $build_d/ledgersmb +cd $build_d/ledgersmb pwd find -name '*.svn' -exec rm -rf '{}' ';' rm ledger-smb.conf @@ -36,4 +37,5 @@ rm ledgersmb.conf cd doc/database $pg_doc cd ../../.. -tar -zcvf ledger-smb-$version.tar.gz ledger-smb +tar -zcvf ledgersmb-$version.tar.gz ledgersmb +cp ledgersmb-$version.tar.gz ledgersmb-$rpmversion.tar.gz -- cgit v1.2.3