rpm spec - RPM %files absolute path issue -


i relatively new creating rpm packages. using fedora 19 os , not able make rpm pick %files absolute path. please advice on same

name: samplerpm version: 1 license: none release: 5.6 buildroot: /root/rpmbuild prefix: /root/rpmbuild summary: sample group: applications/sample %prep rm -r /home/siva/rpmbuild/sources/ %build cd /home/siva/repos/centina/sa ant clean make-private dist cp /home/siva/repos/centina/sa/dist/sample.zip /root/rpmbuild/sources  %install cp /home/siva/repos/centina/sa/dist/sample.zip /root/setup cd /root/setup unzip sample.zip chmod +x setup.sh ./setup.sh -o %description empty %files /root/rpmbuild/sources 

i following error

error: file not found: /root/rpmbuild/buildroot/samplerpm-1-5.6.x86_64/root/rpmbuild/sources 

thanks in advance

%files final files be. recommend finding rpm primer online - there many walk right thru step step.


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -