SOURCES: mutt-manual.patch - version matching current spec

Jakub Bogusz qboosh w pld-linux.org
Pon, 16 Lut 2004, 15:03:03 CET


On Mon, Feb 16, 2004 at 02:38:59PM +0100, Artur Frysiak wrote:
> On Mon, Feb 16, 2004 at 02:33:24PM +0100, qboosh wrote:
> > Author: qboosh                       Date: Mon Feb 16 13:33:24 2004 GMT
> > Module: SOURCES                       Tag: HEAD
> > ---- Log message:
> > - version matching current spec
> > 
> > ---- Files affected:
> > SOURCES:
> >    mutt-manual.patch (1.2 -> 1.3) 
> > 
> > ---- Diffs:
> > 
> > ================================================================
> > Index: SOURCES/mutt-manual.patch
> > diff -u SOURCES/mutt-manual.patch:1.2 SOURCES/mutt-manual.patch:1.3
> > --- SOURCES/mutt-manual.patch:1.2	Sun Feb 15 01:45:08 2004
> > +++ SOURCES/mutt-manual.patch	Mon Feb 16 14:33:18 2004
> > @@ -8,9 +8,9 @@
> >  -macro generic <f1> "!less @docdir@/manual.txt\n" "Show Mutt documentation"
> >  -macro index   <f1> "!less @docdir@/manual.txt\n" "Show Mutt documentation"
> >  -macro pager   <f1> "!less @docdir@/manual.txt\n" "Show Mutt documentation"
> > -+macro generic <f1> "!less @datadir@/mutt/manual.txt\n" "Show Mutt documentation"
> > -+macro index   <f1> "!less @datadir@/mutt/manual.txt\n" "Show Mutt documentation"
> > -+macro pager   <f1> "!less @datadir@/mutt/manual.txt\n" "Show Mutt documentation"
> > ++macro generic <f1> "!less @docdir@/manual.txt.gz\n" "Show Mutt documentation"
> > ++macro index   <f1> "!less @docdir@/manual.txt.gz\n" "Show Mutt documentation"
> > ++macro pager   <f1> "!less @docdir@/manual.txt.gz\n" "Show Mutt documentation"
> 
> Problem polega na tym że teraz dokumentacja w /etc/Muttrc będzie:
> macro generic <f1> "!less /usr/share/doc/mutt-1.4.2.1/manual.txt.gz\n"
> Po upgrade do 1.4.3 dalej to makro będzie zdefiniowane jak wyżej a w
> /etc/Muttrc.rpmnew będzie już poprawne, czyli po każdym upgrade musze
> grzebnąć w konfiguracji mutta :(

To inna sprawa - czy zmienić na %{_docdir}/mutt, czy na %{_datadir}/mutt
(i ew. dodać %doc)?
W każdym razie ścieżka do manual.txt jest podawana przez --with-docdir=,
jest używana w tym miejscu, przy instalacji plików i w manualu.

Nie zauważyłem, że w specu manual jest instalowany osobno w %{_datadir}
- gdzie indziej niż ścieżka przekazywana w %configure :/


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/



Więcej informacji o liście dyskusyjnej pld-devel-pl