Changeset - 4e0e72e46b37
[Not reviewed]
0 0 1
Jan Kaluza - 13 years ago 2012-12-03 14:18:06
hanzz.k@gmail.com
build_rpm.sh script
1 file changed with 16 insertions and 0 deletions:
0 comments (0 inline, 0 general)
packaging/fedora/build_rpm.sh
Show inline comments
 
new file 100755
 
#!/bin/sh
 
DIRNAME=spectrum2
 

	
 
echo "Cleaning up old sources ..."
 
rm -rf spectrum2-*
 

	
 
echo "Checking out a fresh copy ..."
 
rm -rf $DIRNAME
 
git clone ../../.git $DIRNAME
 
rm -rf $DIRNAME/.git
 

	
 
echo "Creating tarball ..."
 
tar czf $DIRNAME.tar.gz $DIRNAME
 

	
 
echo "Building package"
 
rpmbuild -ta $DIRNAME.tar.gz
0 comments (0 inline, 0 general)