SPECS: docbook-style-xsl.spec - fixed R:, release 2 for Th. sgm...

Pawel Sikora pluto w agmk.net
Nie, 17 Lip 2005, 21:24:58 CEST


On Sunday 17 of July 2005 21:14, Jakub Bogusz wrote:
> On Sun, Jul 17, 2005 at 01:04:59PM +0200, pluto wrote:
> > Author: pluto                        Date: Sun Jul 17 11:04:59 2005 GMT
> > Module: SPECS                         Tag: HEAD
> > ---- Log message:
> > - fixed R:, release 2 for Th.
> >   sgml-common           
> > ##################################################
> > /var/tmp/rpm-tmp.9447[10]: /usr/bin/xmlcatalog: not found
> >   error: post(sgml-common-0.6.3-5.noarch) scriptlet failed, exit status
> > 127

za pierwszym commitem poszedl zly komentarz (poprawilem pozniej log).

  docbook-style-xsl ##################################################
  /var/tmp/rpm-tmp.4068[4]: /usr/bin/xmlcatalog: not found
  error: post(docbook-style-xsl-1.68.1-1.noarch) scriptlet failed,
                                                 exit status 127

> >
> > -Requires(post,postun):	/usr/bin/xmlcatalog
> > -Requires(post,postun):	/etc/xml/catalog
> > +Requires(pre,postun):	/usr/bin/xmlcatalog
> > +Requires(pre,postun):	/etc/xml/catalog
>
> To mi śmierdzi obchodzeniem jakichś problemów z rpm-em...

%post
if ! grep -q %{catalog} /etc/xml/catalog ; then
        %xmlcat_add %{catalog}
fi

zeby %post zadzialalo, to w %R(pre) juz pakiet binarka musi byc.
caly smrod wyplynal przy reinkarnacji buildero th-athlon/x86-64
z ktorych przy okazji znieknelo czesc paczek. normalnie tego
nie widac, bo libxml2-* sa poinstalowane na builderach.

-- 
The only thing necessary for the triumph of evil
  is for good men to do nothing.
                                           - Edmund Burke



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