summaryrefslogtreecommitdiffstats
path: root/make-srpm.sh
diff options
context:
space:
mode:
authorIra Cooper <ira@samba.org>2016-09-13 15:29:07 +0200
committerIra Cooper <ira@samba.org>2016-09-13 15:51:35 +0200
commit0576dacd7f9ee8823388fa038a7d3833b2d0b474 (patch)
treee53a53f18cb607a8f39aeb1a7353234a0d5ea4e4 /make-srpm.sh
parentMerge pull request #11016 from wido/snap-max-uid (diff)
downloadceph-0576dacd7f9ee8823388fa038a7d3833b2d0b474.tar.xz
ceph-0576dacd7f9ee8823388fa038a7d3833b2d0b474.zip
make-srpm.sh: A simple script to make the srpm for ceph.
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>
Diffstat (limited to 'make-srpm.sh')
-rwxr-xr-xmake-srpm.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/make-srpm.sh b/make-srpm.sh
new file mode 100755
index 00000000000..de619fd8da3
--- /dev/null
+++ b/make-srpm.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+./make-dist
+rpmbuild -D"_sourcedir `pwd`" -D"_specdir `pwd`" -D"_srcrpmdir `pwd`" -bs ceph.spec