mirror of
https://github.com/ceph/ceph
synced 2024-12-30 07:23:11 +00:00
0ae3154eb2
This allows for overriding the version to be build in the SRPM. make-dist already supports this, pass down the parameter so you can run: $ ./make-srpm.sh 12.0.0 Afterwards RPMs can be build using: $ rpmbuild --rebuild /tmp/ceph-12.0.0.el7.src.rpm Signed-off-by: Wido den Hollander <wido@42on.com>
12 lines
259 B
Bash
Executable File
12 lines
259 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
|
|
#
|
|
|
|
./make-dist $1
|
|
rpmbuild -D"_sourcedir `pwd`" -D"_specdir `pwd`" -D"_srcrpmdir `pwd`" -bs ceph.spec
|