[Revisor-users] Adding binary to a respin?

Arno Karner arnokarner at yahoo.com
Tue Oct 16 23:27:06 UTC 2007


you snipped this section out


Requires: coreutils, utils
%doc


like duh, thats what I've been trying to tell you
I need to take these new rpms for a spin

how the subject got changed, and how I got involved in this thread I don't know.
Lets all slow down, take a deep breathe, and relax fc8 is almost here, the beta
seems stable, then we get 6 more moths to panic.

  Arno

> 
> hers is part of my spec file for the rpm in question,
> I don't create an srpm in the traditional sense,  and I don't
> build the srpm to get the noarch rpm, thats way over the top for a shell script rpm
> my source rpm is basicly a tar file of the source shell scripts
> the no arch rpm is made from the shell scripts that have alreay been install in /usr/local/sh
> which has a symbolic link /loc -> /usr/local, in the past I have supported 
> sol - solaris section, aix AIX sections, with open solairs I expect the solairs to come back
> there will never be an open AIX, or HP-UX but If I ever get them as clients they would
> 
> Summary: shell scripts
> Name: sh
> Version: 0.7.10
> Release: 5.kfc7
> Source: /usr/src/redhat/SOURCES/sh-0.7.10-5.kfc7.tar
> License: Tech Net Speaks Soft
> Group: shell/scripts
> URL: www.tnss.com
> 

-- Snip --

> 
> %post
> [ ! -L /loc ] && ln -s /usr/local/sh /loc
> grep /loc/sh/set_path /etc/profile > /dev/null
> if [ $? -ne 0 ] ; then
> echo ". /loc/sh/set_path" >> /etc/profile
> fi
> 
> %post tni
> [ ! -L /loc ] && ln -s /usr/local/sh /loc
> grep /loc/sh/set_path /etc/profile > /dev/null
> if [ $? -ne 0 ] ; then
> echo ". /loc/sh/set_path" >> /etc/profile
> fi
> 
> the post section fails because coreutils were not installed before this package
> its that simple

Then you need to add "Requires: coreutils" to your spec.

Jonathan Steffan
daMaestro
_______________________________________________
Revisor-users mailing list
Revisor-users at fedoraunity.org
http://lists.fedoraunity.org/mailman/listinfo/revisor-users







      ____________________________________________________________________________________
Check out the hottest 2008 models today at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraunity.org/pipermail/revisor-users/attachments/20071016/df921760/attachment.html 


More information about the Revisor-users mailing list