Building my first RPM

Blaxton blaxxton at yahoo.com
Fri Feb 20 04:49:38 UTC 2015


I am trying to build Python RPM and trying to keep .spec file as simple as I can.
build, compile, install and package is completed and now I have the binary RPMto install, but getting below error at the time of installation:
error: failed dependencies:
        /usr/local/bin/python is needed by Python-3.4.2-1
any idea what I am doing wrong ?Do I need to have python 2 ? to have python 3 installed ?or I am missing some thing in .spec file ?

For now I am packaging what ever it is in buildroot directory.

make DESTDIR=${RPM_BUILD_ROOT} install


%files
%defattr(-,root,system,-)
/usr/local/bin/*
/usr/local/lib/*
/usr/local/share/*
/usr/local/include/*

thanks


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20150220/a70075c9/attachment.html>


More information about the Rpm-list mailing list