![](https://seccdn.libravatar.org/avatar/a0a1213082ac2d424a9b4505324b3227.jpg?s=120&d=mm&r=g)
Hi, I've resolved, because there was some problem with %postun, sorry. Regards Vincenzo 2007/11/24, Vincenzo Barranco <barravince@gmail.com>:
Hi, So i've apparently setting up the new spec, but if i would like to update Hipo to the newer version in yast appears the same error, now there is a way to remove completely the old version of hipo, considering that forcing a erase option is not possible. Regards
Vincenzo
2007/11/23, Philipp Thomas <pth@suse.de>:
* Vincenzo Barranco (barravince@gmail.com) [20071123 17:13]:
linux-xxxx:/home/barravince # rpm -e hipo-0.5-6.1 /var/tmp/rpm-tmp.42486: line 1: fg: no job control
This usually indicates that a macro isn't available.
error: %postun(hipo-0.5-6.1.i586) scriptlet failed, exit status 1
As it says, the commands listed under %postun failed.
What can it be?
%postun %clean_icon_cache hicolor
Find out where this macro is defined and either remove the %postun altogether or make shure your package requires the package providing that macro.
BTW, there's a few nits I have with the package:
%define name hipo %define version 0.5
This isn't needed as these are defined by these entries:
Name: hipo Version: 0.5
----------------------
Group: Sound
This isn't a valid RPM group for openSUSE. Please check http://forge.novell.com/modules/xfcontent/private.php/library/SUSE%20Package... for possible groups.
----------------------
%build ./configure --prefix=%_prefix --libdir=%_prefix/lib
What is installed in %_prefix/lib ? If any of these is architecture dependent, i.e. a binary file, it belongs in %_libdir (i.e. prefix/lib for i586 and prefix/lib64 for x86-64).
----------------------
%install rm -rf $RPM_BUILD_ROOT
Either don't do this at all and rely on the build system to clean up things or add a 'mkdir $BUILD_ROOT' (without the -p option!) directly afterwards.
Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org