New Package: fish

Oliver Falk oliver at linux-kernel.at
Mon Jun 20 11:26:19 UTC 2005


[ ... ]
> On 6/17/05, Axel Liljencrantz <liljencrantz at gmail.com> wrote:
> [...]
> 
>>You can find the src.rpm here:
>>
>>http://roo.no-ip.org/fish/files/1.11.1/fish-1.11.1-1.src.rpm
>>
> 
> I hope I will get some feedback on what needs to happen for fish to be
> included in fedora extras.

The specfile is missing doxygen as a buildrequire.

For Fedora, I don't think that this is needed:
# The location of fish has changed, so we update the passwd file to make 
sure everything is consistent
cat /etc/passwd | sed -e "s/\/usr\/local\/bin\/fish/\/usr\/bin\/fish/" 
 >/etc/fish.tmp
#Backup old version
mv /etc/passwd /etc/passwd.rpmsave
#Replace with new version
mv /etc/fish.tmp /etc/passwd

You should check if fish is allready listed in /etc/shells:
postinstall scriptlet (using /bin/sh):
echo /usr/bin/fish >>/etc/shells

Since, a rpm -U --force, or rpm -i --force will list fish twice...

Best,
  Oliver




More information about the fedora-extras-list mailing list