Hello,
I am following the packagers guide RPM_Build_Manual_Rev2.pdf
This is what I am "building"? and where I have reached.
%post
if [ -f %{_sysconfdir}/kismet.conf ] ;
then
if ! egrep -q "^piddir=" %{_sysconfdir}/kismet.conf
then
echo "piddir=/var/run/" >> %{_sysconfdir}/kismet.conf
fi
fi
What I was unsure about is /sbin/ldconfig and what should be in the %post & %postun sections
Perhaps a better question would be where/how to find spec files and packages already done for PCLinuxOS that I could examine for guidance.
Thanks.
trustytrev.