summaryrefslogtreecommitdiff
path: root/dists
diff options
context:
space:
mode:
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