On Sun, 2009-09-06 at 15:02 +0530, ram s wrote:
Hi,
I am creating on example.sh in my source folder and tar it and put it
in /home/user/rpmbuild/SOURCES directory.
This is off-topic for this list. Ask at fedora-devel-list(a)redhat.com
instead.
(The reason why it fails is because example.sh and javacheck.sh are not
included in the RPM. Install them somewhere and include them in %files,
then you are able to run them in %post. They won't be available anyway
in %pre for new installs.)
--
Jussi Lehtola
Fedora Project Contributor
jussilehtola(a)fedoraproject.org