diff options
author | Harel Ben-Attia <harelba@gmail.com> | 2014-05-20 05:30:16 -0400 |
---|---|---|
committer | Harel Ben-Attia <harelba@gmail.com> | 2014-05-20 05:30:16 -0400 |
commit | 2f716c6d6ef02e74b87874599a752990ea76f2d8 (patch) | |
tree | 92f942bff31163fc0cdc9b02562275638995dea8 /dist/create-rpm | |
parent | faf9650be23a1371e2bdc76055c6c8ba67b46c70 (diff) |
Added message to create-rpm before committing and fixing
Diffstat (limited to 'dist/create-rpm')
-rwxr-xr-x | dist/create-rpm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dist/create-rpm b/dist/create-rpm index e6d1a3a..1ad5ee1 100755 --- a/dist/create-rpm +++ b/dist/create-rpm @@ -12,6 +12,10 @@ # Output rpm is generated inside build/rpm/RPMS/noarch/ # +echo Broken for now - fixing for version 1.4.0 + +exit 5 + if [ $# -ne 1 ]; then echo 'create-rpm <version>' @@ -41,6 +45,8 @@ rm ${REAL_PACKAGE_NAME}.1.html cat ${RPM_PACKAGE_NAME}.spec.template | sed "s/VERSION_PLACEHOLDER/$1/" > ${RPM_PACKAGE_NAME}.spec +wget "https://github.com/harelba/${REAL_PACKAGE_NAME}/archive/${VERSION}.tar.gz" + tar --create --transform s,^,${RPM_PACKAGE_NAME}-$1/, --exclude ${RPM_PACKAGE_NAME}.spec.template -f ${TAR_NAME} * rpmbuild --define "_topdir `pwd`/build/rpm" -ta ${TAR_NAME} |