summaryrefslogtreecommitdiff
path: root/dists
diff options
context:
space:
mode:
Diffstat (limited to 'dists')
-rw-r--r--dists/rpm/build.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/dists/rpm/build.sh b/dists/rpm/build.sh
new file mode 100644
index 00000000..2f439871
--- /dev/null
+++ b/dists/rpm/build.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# One must run the source file build first.
+
+cp ../release/ledger-sm*.tar.gz /usr/src/redhat/SOURCES/
+
+rpmbuild -ba dists/rpm/ledgersmb.spec
+
+mv /usr/src/redhat/RPMS/noarch/ledgersmb* ../release