File: test_release.sh

package info (click to toggle)
xmlsec1 1.2.14-1%2Bsqueeze1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 11,492 kB
  • ctags: 8,701
  • sloc: ansic: 61,722; sh: 11,345; xml: 11,035; makefile: 908; perl: 85
file content (12 lines) | stat: -rwxr-xr-x 197 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh 

module=$1
version=$2
build_root=/tmp
rpm_root=/usr/src/redhat

./autogen.sh --prefix=/usr --sysconfdir=/etc
make dist
mv $module-$version.tar.gz $rpm_root/SOURCES
rpm -ba $module.spec