]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
make-srpm.sh: A simple script to make the srpm for ceph.
authorIra Cooper <ira@samba.org>
Tue, 13 Sep 2016 13:29:07 +0000 (09:29 -0400)
committerIra Cooper <ira@samba.org>
Tue, 13 Sep 2016 13:51:35 +0000 (09:51 -0400)
This is a simple script to make the srpm for ceph based
on make-dist.

Yes, it is short, but it will stop many people from
having to solve the same problem.

Signed-off-by: Ira Cooper <ira@redhat.com>
make-srpm.sh [new file with mode: 0755]

diff --git a/make-srpm.sh b/make-srpm.sh
new file mode 100755 (executable)
index 0000000..de619fd
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+./make-dist
+rpmbuild -D"_sourcedir `pwd`" -D"_specdir `pwd`" -D"_srcrpmdir `pwd`" -bs ceph.spec