[Fedora-packaging] How to run own shell script from rpm spec

Jussi Lehtola jussilehtola at fedoraproject.org
Sun Sep 6 10:01:05 UTC 2009

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 at redhat.com

(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 at fedoraproject.org

More information about the Fedora-packaging mailing list