andreas.hanke@gmx-topmail.de schreef:
It is actually a PreReq and a Requires(postun), which should work. No idea why it doesn't work.
It's still illogical that the package mixes PreReq and Requires(postun). For consistency reasons, it should either use the legacy PreReq or the new-style Requires(post)+Requires(postun) and not a mixture of both, but this cannot affect functionality.
Andreas Hanke
My spec file is this now: Name: mydummy Version: 1.0 Release: 1 License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: java-1_4_2-gcj-compat-devel update-alternatives Group: Dummy Summary: My Dummy Package Source1: Test.java PreReq: /usr/sbin/update-alternatives But I'm still getting this error: installing antlr-2.7.6-25 /var/tmp/rpm-tmp.25108: line 1: /usr/sbin/update-alternatives: No such file or directory error: %post(antlr-2.7.6-25.noarch) scriptlet failed, exit status 127 :-( ... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org