mirror of https://github.com/eclipse/paho.mqtt.c
Renames the tarball to match the released one
Signed-off-by: Otavio R. Piske <opiske@redhat.com>
This commit is contained in:
parent
7702e67ec9
commit
154984f358
|
|
@ -2,7 +2,7 @@ VERSION=1.2.0
|
|||
|
||||
rpm-prep:
|
||||
mkdir -p ${HOME}/rpmbuild/SOURCES/
|
||||
tar --transform="s/\./paho-c-${VERSION}/" -cf ${HOME}/rpmbuild/SOURCES/paho-c-${VERSION}.tar.gz --exclude=./build.paho --exclude=.git --exclude=*.bz ./ --gzip
|
||||
tar --transform="s/\./paho-c-${VERSION}/" -cf ${HOME}/rpmbuild/SOURCES/v${VERSION}.tar.gz --exclude=./build.paho --exclude=.git --exclude=*.bz ./ --gzip
|
||||
|
||||
rpm: rpm-prep
|
||||
rpmbuild -ba dist/paho-c.spec
|
||||
|
|
|
|||
Loading…
Reference in New Issue