mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
12 lines
288 B
Bash
Executable File
12 lines
288 B
Bash
Executable File
#!/bin/sh
|
|
|
|
#
|
|
# Create a SRPM which can be used to build Ceph
|
|
#
|
|
# ./make-srpm.sh <version>
|
|
# rpmbuild --rebuild /tmp/ceph/ceph-<version>-0.el7.centos.src.rpm
|
|
#
|
|
|
|
test -f "ceph-$1.tar.bz2" || ./make-dist $1
|
|
rpmbuild -D"_sourcedir `pwd`" -D"_specdir `pwd`" -D"_srcrpmdir `pwd`" -bs ceph.spec
|