* 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