supports build of RPM packages, tested on openSUSE; closes #5

This commit is contained in:
Marc Wäckerlin
2011-11-09 13:31:13 +00:00
parent 87a9580ff9
commit daf389ed35
3 changed files with 22 additions and 16 deletions

View File

@@ -41,10 +41,10 @@ tag: distcheck
cvs ci -R .
cvs tag -FR REL_@PACKAGENAME@-@MAJOR@-@MINOR@-@LEAST@ .
#rpm: dist
# cp @PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.tar.gz \
# /usr/src/packages/SOURCES/
# rpmbuild -ba --clean @PACKAGENAME@.spec
rpm: dist
cp @PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.tar.gz \
/usr/src/packages/SOURCES/
rpmbuild -ba --clean @PACKAGENAME@.spec
deps = ${top_srcdir}/COPYING ${top_srcdir}/README ${top_srcdir}/INSTALL ${top_srcdir}/NEWS ${top_srcdir}/ChangeLog