DistpartPart Spec files for RPM
Ian Reinhart Geiser
ian at geiseri.com
Sun May 23 00:24:01 UTC 2004
On Friday 21 May 2004 08:56 am, Anssi Hannula wrote:
> It appears it's required.
>
> Maybe you could replace them with:
> /*
>
> If user needs more advanced configuration, then he could edit the file
> himself.
>
> Anssi Hannula wrote:
> > Hi!
> >
> > It says "If you have any problem, please report", so I report:
> >
> > It adds the following lines to the .spec file:
> > %{_bindir}/*
> > %{_libdir}/*.so.*
> > %{_datadir}/%{name}
> > %{_mandir}/man8/*
> >
> > If the project doesn't have files matching all four lines, the build
> > will fail.
> > I had to comment them out.
> > I'm not expert in rpmbuilds, but aren't those lines not needed? I
> > mean, won't the rpmbuilder choose them automatically?
> >
> > I had also problem that distpartpart didn't recognise my _specdir,
> > _buildir etc, unless I added them to my ~/.rpmmacros. The rpm command
> > did recognise the dirs without the lines at ~/.rpmmacros.
Yeah generation of a correct spec file for non automake projects is absolutly
broken, and automake is questionable. Ideally this will all be fixed for at
least autmake and qmake projects in the next release. Sorry, but just
getting correct tar archives was a pain =)
Cheers
-ian reinhart geiser
More information about the KDevelop-devel
mailing list