Mailinglist Archive: opensuse-packaging (122 mails)
| < Previous | Next > |
Re: [opensuse-packaging] Errors during the erase of Hipo
- From: "Vincenzo Barranco" <barravince@xxxxxxxxx>
- Date: Sat, 24 Nov 2007 15:38:06 +0100
- Message-id: <82ef59ac0711240638l16eb2a4fgfa5c6613d8b30e15@xxxxxxxxxxxxxx>
Hi,
I've resolved, because there was some problem with %postun, sorry.
Regards
Vincenzo
2007/11/24, Vincenzo Barranco <barravince@xxxxxxxxx>:
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
I've resolved, because there was some problem with %postun, sorry.
Regards
Vincenzo
2007/11/24, Vincenzo Barranco <barravince@xxxxxxxxx>:
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@xxxxxxx>:
* Vincenzo Barranco (barravince@xxxxxxxxx) [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: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |