summaryrefslogtreecommitdiff
path: root/dists
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-22 22:58:51 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-22 22:58:51 +0000
commit14895207298297ad48b833eb6a22eaa922608e4c (patch)
tree1c5030696123f4b8dde435726e92c503bc2096fb /dists
parent57e6f13e97c8e29ef5c5b9dedc3452d7900e1138 (diff)
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
Diffstat (limited to 'dists')
-rw-r--r--dists/rpm/ledgersmb.spec2
-rw-r--r--dists/source/build.sh14
2 files changed, 9 insertions, 7 deletions
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