Renames the tarball to match the released one

Signed-off-by: Otavio R. Piske <opiske@redhat.com>
This commit is contained in:
Otavio R. Piske 2017-07-26 18:47:40 +02:00
parent 7702e67ec9
commit 154984f358
1 changed files with 1 additions and 1 deletions

2
dist/Makefile vendored
View File

@ -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