On 2010-02-22 at 10:31, Graham Leggett <[email protected]> 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
=======================================