Skip to content

Commit

Permalink
Add note about rebuilding and installing
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.nexusformat.org/code/trunk@247 ff5d1e40-2be0-497f-93bd-dc18237bd3c7
  • Loading branch information
FreddieAkeroyd authored and faa committed Feb 22, 2004
1 parent 5eb333e commit fa65d57
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.rpm
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,26 @@ following:
will generate src and binary rpms from the current
nexus*.tar.gz created from the last "make distcheck" or "make dist"

(4) The above will generate both a src and binary (probably i386) rpm
You can always generate a binary rpm from a source rpm using e.g.

rpmbuild --rebuild nexus-2.0.0-1.src.rpm

While re-building files will be copied to a
temporary installation directory structure under /tmp/nexus-2.0.0
You may change this location using the --buildroot option, but
be very careful as the "build root" may ultimately get removed by rpm.
In particular, DO NOT give "/" as the build root.

If you want the final files installed in a different directory to
the defaults (/usr/local/{bin,lib,nexus}), get/build the binary rpm
and then use the rpm --prefix installation option e.g.

rpm -ivh --prefix /opt nexus-2.0.0-1.i386.rpm

will install the files to /opt/{bin,lib,nexus}

Freddie Akeroyd <F.A.Akeroyd@rl.ac.uk>
2004/02/22

$Id$

0 comments on commit fa65d57

Please sign in to comment.