mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
packaging/RHEL-CTDB: try harder to set $RPMVER
metze
This commit is contained in:
parent
77f281a6d1
commit
914fc4f265
@ -27,6 +27,9 @@ TOPDIR=${DIRNAME}/../..
|
||||
|
||||
SPECFILE="samba.spec"
|
||||
RPMVER=`rpm --version | awk '{print $3}'`
|
||||
test -z "$RPMVER" && {
|
||||
RPMVER=`rpm --version | awk '{print $2}'`
|
||||
}
|
||||
RPM="rpmbuild"
|
||||
|
||||
##
|
||||
|
Loading…
x
Reference in New Issue
Block a user