diff options
author | Gerald Carter <jerry@samba.org> | 2002-08-28 23:13:32 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-08-28 23:13:32 +0000 |
commit | f0a44a06d0640383cdafd7c6bcfbb2d71d91fcb1 (patch) | |
tree | 6a82f5d6ae181cc7b009b9d9238a9ec3075073d7 /packaging | |
parent | eb7ce6ae02a5eea505a9c971c47e3048a6bfe171 (diff) | |
download | samba-f0a44a06d0640383cdafd7c6bcfbb2d71d91fcb1.tar.gz |
another sync with SAMBA_2_2. Regenerated docs after vl new strip-links.pl
change
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/Mandrake/makerpms.sh.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/Mandrake/makerpms.sh.tmpl b/packaging/Mandrake/makerpms.sh.tmpl index 493de7e0cd5..ba4eff0e2b1 100644 --- a/packaging/Mandrake/makerpms.sh.tmpl +++ b/packaging/Mandrake/makerpms.sh.tmpl @@ -60,9 +60,14 @@ SOURCES=`awk '/^Source/ {print $2}' samba.spec |grep -v "%{"` PATCHES=`awk '/^Patch/ {print $2}' samba.spec` for i in $PATCHES $SOURCES;do + # We have two cases to fix, one where it's bzip2'ed + # in the spec and not in CVS, one where it's bzip2'ed + # in CVS but not in the spec [ -e $i ] && cp -av $i $SRCDIR i_nobz2=`echo $i|sed -e 's/.bz2$//'` + i_bz2=$i.bz2 [ -e $i_nobz2 ] && bzip2 -kf $i_nobz2 && mv -fv $i $SRCDIR + [ -e $i_bz2 ] && bunzip2 -kf $i_bz2 && mv -fv $i $SRCDIR done echo Getting Ready to build release package |