Re: rpmbuild failing

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

 



On Wednesday 27 April 2005 16:15, Ralph Blach wrote:
> When I open up the the tmp file
> 
> It contains
> %{__spec_clean_template}%{__spec_clean_post}
> 
> Where is the shell script that is being executed and how do I fix it

All I can offer at this point is generic advice of the
divide-and-conquer variety.

One angle of attack is to try and pare down your ~/.rpmmacros file to
the bare essentials.  Start with something like

%_topdir        /home/rcblach/redhat

and see if it works.

If that's not fruitful, try to pinpoint the section of your spec file
where trouble starts.  You can do this by inserting

 echo "hi there"; exit 1

at different locations in the spec file.


In theory, the line %{__spec_clean_template}%{__spec_clean_post}
should have been expanded to the values returned by

 $ rpm --eval '%{__spec_clean_template}'
 $ rpm --eval '%{__spec_clean_post}'

I don't know why it wasn't.

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux