On Tuesday 18 November 2003 3:32 pm, [EMAIL PROTECTED] wrote:
> > On Tuesday 18 November 2003 12:39 pm, Buchan Milne wrote:
> >> 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).
> >
> > No such luck Buchan, get this message now.
> >
> > error: Bad package specification: %package -n %lib%{1} heartbeat 0
>
> D'Oh, that one seems to be a new addition that wasn't in fact tested.
>
> I've just tested on 8.2 in a chroot with:
>
> %{!?lib: %global lib lib}
> %{!?mklibname: %global mklibname(ds)
> %lib%{1}%{?2:%{2}}%{?3:_%{3}}%{-s:-static}%{-d:-devel}}
>
> (that's two lines ... in case the last one wrapped to two)OK we are making progress now. Only issues I am seeing is why would these be build dependencies? libgnome32-devel is needed by heartbeat-1.0.2-2mdk libid3tag0-devel is needed by heartbeat-1.0.2-2mdk Don't think I am going to be doing any MP3 tag modifying... Bret. > > I only tested with: > rpm -q --specfile samba.spec --with system > with the two changed lines above (relative to the packages in cooker). > > Otherwise, I can give the heartbeat SRPM a rebuild now since I have the > chroot available now ... > > Regards, > Buchan -- Bret Baptist Systems and Technical Support Specialist [EMAIL PROTECTED] Internet Exposure, Inc. http://www.iexposure.com (612)676-1946 x17 Web Development-Web Marketing-ISP Services ------------------------------------------ Today is the tomorrow you worried about yesterday.
