-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bret Baptist wrote:
> This is the result from rpm --rebuild heartbeat-1.0.2-2mdk.src.rpm:
> error: Bad package specification: %package -n %mklibname heartbeat 0


Easy fix (I think)

Add something like this to the top of the spec file:

%{!?mklibname: %define mklibname
%lib%{1}%{?2:%{2}}%{?3:_%{3}}%{-s:-static}%{-d:-devel}}
(that's one line)

This is what I use on samba, and it should still build on 8.0 even (not
that I have tried this particular feature on it recently ...)

If it's a couple of newer packages on 8.2, just add the macro to your
~/.rpmmacros (might need some tweaking).

Regards,
Buchan

- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/umdFrJK6UGDSBKcRAhM5AKC84sLuy1mjDeAc4fSYUl/q3KPadQCgpDAV
sME+2XWbiWffg5kiI3zYoYE=
=aRje
-----END PGP SIGNATURE-----


Reply via email to