![]() |
"I installed the RPM, dropped my .war file in the deploy directory, and it works ;)" Number of (S)RPMs available: 675 |
Rebuilding packagesHere are some explanations for rebuilding packages from source, as it is mandatory for our non-free section (we can't distribute binary packages of them). Initial setup
First, you need a build tree. You may already have one in
rpm |-- BUILD |-- RPMS | |-- i386 | |-- i586 | `-- noarch |-- SOURCES |-- SPECS |-- SRPMS `-- tmp
Actually, under the default RPM configuration, you need one subdirectory
per architecture you intend to build for in
Now you need to do some
%_topdir %(echo ${HOME}/rpm)
%_tmppath %{_topdir}/tmp
%packager Firstname Lastname <your.address@here>
# Uncomment to have built RPMs land in
Of course, substitute your own name to the above. Note that all
macros are only default values for tags not explicitly filled in
Building a package
Normal command for rebuilding a standard source package
(
Further, packages from non-free section
are actually
Unless something fails in the process, you should obtain the
source package in More informationFor more information about building packages:
|
|
|
Copyleft 2002-2003 JPackage Project [credits] $Id: rebuilding.php,v 1.9 2003/11/27 16:09:02 guillomovitch Exp $ |
|