apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Poirier <poir...@pobox.com>
Subject Re: Help with building rpm for apr-util-1.3.9
Date Mon, 01 Mar 2010 14:31:56 GMT
On 2010-02-22 at 10:31, Graham Leggett <minfrin@sharp.fm> wrote:

> Using the standard released ASF tarballs for apr and apr-util, run the
> following to create SRPMs:
>
> rpmbuild -ts apr-<version>.tar.bz2
> rpmbuild -ts apr-util-<version>.tar.bz2
>
> (older apr releases required tar.gz files)
>
> Run the following to create RPMs (or build from the SRPMs):
>
> rpmbuild -tb apr-<version>.tar.bz2
> rpmbuild -tb apr-util-<version>.tar.bz2
>
> Resolve dependencies as appropriate (This works for me on RHEL5).

This looks like a good candidate to add to the build instructions in the
apr and apr-util README files.

E.g.

Index: README
===================================================================
--- README	(revision 917548)
+++ README	(working copy)
@@ -137,6 +137,22 @@
    ./testall -v
 
 
+Building APR RPM files on Linux
+===============================
+
+Run the following to create SRPMs:
+
+rpmbuild -ts apr-<version>.tar.bz2
+rpmbuild -ts apr-util-<version>.tar.bz2
+
+Run the following to create RPMs (or build from the SRPMs):
+
+rpmbuild -tb apr-<version>.tar.bz2
+rpmbuild -tb apr-util-<version>.tar.bz2
+
+Resolve dependencies as appropriate.
+
+
 Configuring and Building APR on Windows
 =======================================
 

Mime
View raw message