Difference between revisions of "RPM"
Jump to navigation
Jump to search
(Initial page) |
m |
||
Line 7: | Line 7: | ||
Now, create your macro definition for your build path: | Now, create your macro definition for your build path: | ||
# echo "%_topdir /home/`echo $USER`/ | # echo "%_topdir /home/`echo $USER`/rpmbuild" > ~/.rpmmacros | ||
For rebuild your own rpm for fedora, download the last version to src.rpm package from: | For rebuild your own rpm for fedora, download the last version to src.rpm package from: |
Revision as of 14:35, 11 December 2009
Fedora RPM
First, set a you build enviroment ( never, never, never build a rpm package how root ):
# mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
Now, create your macro definition for your build path:
# echo "%_topdir /home/`echo $USER`/rpmbuild" > ~/.rpmmacros
For rebuild your own rpm for fedora, download the last version to src.rpm package from:
http://richzendy.org/repo/kiwix/
Also you must have installed the unac package ( also know how libunac ) package, download and install:
# rpm -ivh http://richzendy.org/repo/kiwix/unac-1.7.0-1.i386.rpm
now try this:
# rpmbuild --rebuild kiwix-1.9.svn_09122009-1.src.rpm