diff --git a/make-srpm.sh b/make-srpm.sh index de619fd8da3..1ba0ff088e0 100755 --- a/make-srpm.sh +++ b/make-srpm.sh @@ -1,4 +1,11 @@ #!/bin/sh -./make-dist +# +# Create a SRPM which can be used to build Ceph +# +# ./make-srpm.sh +# rpmbuild --rebuild /tmp/ceph/ceph--0.el7.centos.src.rpm +# + +./make-dist $1 rpmbuild -D"_sourcedir `pwd`" -D"_specdir `pwd`" -D"_srcrpmdir `pwd`" -bs ceph.spec