Check-in Number:
|
2685 | |
Date: |
2002-Oct-29 18:52:56 (local)
2002-Oct-29 17:52:56 (UTC) |
User: | rse |
Branch: | |
Comment: |
use an even more complete tarball rolling program |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/sa/devtool.conf 1.10 -> 1.11
--- devtool.conf 2002/10/26 15:45:32 1.10
+++ devtool.conf 2002/10/29 17:52:56 1.11
@@ -26,24 +26,34 @@
mv README.n README
%dist
- echo "+++ generating"
+ rm -f sa-*.tar.gz
./devtool autoclean
./devtool autogen
- echo "+++ configuring"
./configure
- echo "+++ building"
- make clean all man
- echo "+++ cleaning"
+ make clean all
make distclean
- echo "+++ fixing"
./shtool fixperm -v .
- echo "+++ rolling"
- V=`./shtool version -l txt -d short VERSION`
- ./shtool tarball -o sa-${V}.tar.gz -d sa-${V} -u ossp -g ossp \
- -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz' -c 'gzip --best' .
+ V=`./shtool version -lc -d short sa_vers.c`
+ ./shtool tarball -o sa-${V}.tar.gz -d sa-${V} -u gnu -g sa \
+ -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*' -c 'gzip --best' .
ls -l sa-${V}.tar.gz
- echo "+++ testing"
- gunzip <sa-${V}.tar.gz | tar tvf -
+ gunzip <sa-${V}.tar.gz | tar tvf - | head -10; echo "[...]"
+ gunzip <sa-${V}.tar.gz | tar tvf - | tail -10
+
+%snap
+ rm -f sa-*.tar.gz
+ ./devtool autoclean
+ ./devtool autogen
+ ./configure
+ make clean all
+ make distclean
+ ./shtool fixperm -v .
+ D=`date '+%Y%m%d'`
+ ./shtool tarball -o sa-SNAP-${D}.tar.gz -d sa-SNAP-${D} -u gnu -g sa \
+ -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*' -c 'gzip --best' .
+ ls -l sa-SNAP-${D}.tar.gz
+ gunzip <sa-SNAP-${D}.tar.gz | tar tvf - | head -10; echo "[...]"
+ gunzip <sa-SNAP-${D}.tar.gz | tar tvf - | tail -10
%release
echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/sa/"
|
|