Annoying checks in OpenSuSE 11.1

hi,
i fixed the following issues (although the package passes in OpenSuSE 11):

  • copying a desktop file results in an error message “…Translation not found…”
  • icons in /usr/share/applications/ are not accepted
  • rpmlint seems to check binary jar archives but complains that there’s no jastjar, etc

But how should I resolve this issue without changing the dependencies in the init script:

... checking for files with abuild user/group
... running 00-check-install-rpms
... installing all built rpms
Preparing packages for installation...
iplist-0.24-38.1
insserv: Service network has to be enabled to start service ipblock
insserv: Service syslog has to be enabled to start service ipblock
insserv: exiting now!
/sbin/insserv failed, exit code 1
ipblock 0:off 1:off 2:off 3:off 4:off 5:off 6:off
error: %post(iplist-0.24-38.1.x86_64) scriptlet failed, exit status 1
failed to install rpms, aborting build
System halted.

Hi
Yes, the rpmlint checks are a lot more stringent… Not sure what your
using in your spec file, but I found the following worked for me;

%post
%fillup_and_insserv -f -y <name_of_your_service>

%preun
%stop_on_removal <name_of_your_service>

%postun
%insserv_cleanup


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-4-default
up 1 day 9:10, 1 user, load average: 0.24, 0.14, 0.10
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82