[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: still confusion with the %doc directive in a spec file



On Monday 31 December 2001 11:38, Giulio Orsero wrote:
> On Mon, 31 Dec 2001 05:12:09 -0500 (EST), you wrote:
> >%description
> >This package contains WonderPics, just random images as
> >a test for building a noarch RPM.
> >%prep
> >exit 0
> >%build
> >exit 0
> >%install
> >exit 0
> >%clean
> >exit 0
>
> The %setup macro is also missing.

yeah, the %setup does an implicit "cd <...>/BUILD/<package>" all other stages 
rely on (I always stumble over that when I temporarily hack specs after the 
packaging failed). It would be nice if each of %build/%install/%files would 
do that themselves, but unfortunately only %setup has the necessary knowledge 
about the path.
Hmm, one could say the default is always BUILD/<package-version>, unless a 
%setup -n was given, but that sounds quite ugly.

Franz.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []