spec file fixes on pidora (fc20 on raspberry pi)

This commit is contained in:
Norayr Chilingarian 2014-09-14 21:30:59 +04:00
parent c900218965
commit bf48ee50de
2 changed files with 27 additions and 8 deletions

View file

@ -54,8 +54,14 @@ build rpm
if you'd like to build an rpm installer, then
* compress sources as voc-1.0.src.tar.bz2
* put them to /usr/src/redhat/SOURCES/ (or other similar location)
* run "rpmbuild -ba voc.spec
* compress sources as voc-1.0.src.tar.bz2
assuming you in voc directory
> cd ..
> tar -jcvpf voc-1.0.src.tar.bz2 voc
* put them to ~/rpmbuild/SOURCES (on some systems as root to /usr/src/redhat/SOURCES/) or other similar location.
> mkdir -p ~/rpmbuild/SOURCES
> cp voc-1.0.src.tar.bz2 ~/rpmbuild/SOURCES
* cd to voc directory and run
> rpmbuild -ba voc.spec
this should create voc rpm installers.