Hi Joachim. Excerpts from Joachim Breitner's message of Dom Jan 16 06:28:16 -0200 2011: (...) > It seems, though, that your sed action also affected previous changelog > entries: > > Am Samstag, den 15.01.2011, 15:13 +0000 schrieb Marco Silva: > > --- old-alex/changelog 2011-01-15 15:13:12.781879018 +0000 > > +++ new-alex/changelog 2011-01-15 15:13:12.789879439 +0000 > > @@ -1,8 +1,12 @@ > > alex (2.3.4-1) UNRELEASED; urgency=low > > > > + [ Erik de Castro Lopo ] > > * New upstream. > > * Remove patches/00-fix-warnings-on-big-endian.diff (fixed upstream). > > > > + [ Marco Silva ] > > + * Use ghc instead of ghc > > + > > -- Erik de Castro Lopo <[email protected]> Wed, 24 Nov 2010 20:23:08 > > +1100 > > > > alex (2.3.3-2) experimental; urgency=low > > @@ -38,7 +42,7 @@ > > * debian/control: Use Vcs-Browser: field. > > * debian/control: Bump Standards-Version: to 3.8.4, no changes needed. > > * debian/control: Bump version of Build-Depends: on haskell-devscripts > > - to 0.7 and remove versioned Build-Depends: on ghc6. > > + to 0.7 and remove versioned Build-Depends: on ghc. > > > > -- Marco Túlio Gontijo e Silva <[email protected]> Sun, 21 Feb 2010 > > 09:30:03 -0300 > > > > @@ -74,7 +78,7 @@ > > - Fixes a spelling mistake. (Closes: #419671) > > * debian/control: > > - Added Homepage field. > > - - Bump the build dependency on ghc6 to 6.8.2 as the packages needs > > + - Bump the build dependency on ghc to 6.8.2 as the packages needs > > Cabal 1.2 to build. > > - Bump the Standards-Version to 3.7.3. No changes needed. > > * debian/copyright: > > @@ -98,7 +102,7 @@ > > * Various debian/rules changes. > > * Create debian/get_version.hs for extracting the version from the > > cabal > > file. > > - * Requires ghc6 >= 6.4.2. > > + * Requires ghc >= 6.4.2. > > * No longer tries to detect platform. Closes: #332980, #340326. > > * Add 'XSLTPROC_OPTS = --nonet' to doc/config.mk.in. > > * Remove src/Parser.y and src/Scan.x before cleaning so the generated > > Do you think it is worth fixing that?
Yes, done. Thanks for checking the patches.
Just for reference, I used this script to fix it:
#!/bin/sh
set -e
set -x
INIT=$PWD
clean()
{
set +e
cd $INIT
rm -r */tmp
set -e
}
trap clean INT HUP QUIT TERM EXIT
clean
for i in *
do
cd $i/debian
darcs revert -a
darcs put ../tmp
awk '{if($1 == "--") {print; exit;} print;}' changelog \
| sed 's/Use ghc instead of ghc$/Use ghc instead of ghc6/' > temp
mv temp changelog
cd ../tmp
darcs unrecord -p 'Use ghc instead of ghc6' -a
darcs revert -a
if head -n1 changelog | grep UNRELEASED
then
awk 'BEGIN {imp=0;} {if(imp) {print;} if($1 == "--") {imp=1;}}' \
changelog >> ../debian/changelog
else
echo >> ../debian/changelog
cat changelog >> ../debian/changelog
fi
cd ../debian
rm -r ../tmp
darcs rec -a -m 'Correct sed s/ghc6/ghc in changelog entries'
cd $INIT
done
trap - INT HUP QUIT TERM EXIT
clean
Greetings.
(...)
--
marcot
http://marcot.eti.br/
[Flattr=54498]
signature.asc
Description: PGP signature
