Hi, I've resolved, because there was some problem with %postun, sorry. Regards
Vincenzo 2007/11/24, Vincenzo Barranco <[EMAIL PROTECTED]>: > 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 <[EMAIL PROTECTED]>: > > * Vincenzo Barranco ([EMAIL PROTECTED]) [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%20Conventions/spc.pdf > > 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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
