[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Subversion 1.7.1 SRPM building tools and utilities

From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Sun, 30 Oct 2011 16:45:51 -0400

[ Accidentally sent this to old dev address, resending ]

The attached patch is a pretty thorough rewrite of the SRPM building
utilities, and spec files, for Subversion-1.7.1. It includes a number
of components:

* A new packaging/rpm/rhel-6 toolkit for building SRPM's. This kit no
longer overrides the user's $HOME/.rpmmacros, nor scatters debris
around their designated RPM build directory. It builds a
subversion.spec file, grabs the necessary "sqlite-amalgamation"
tarball for old RHEL releases, creates a mirror tarball, downloads the
sqlite-amalgamation tarball, and builds the SRPM locally from those
local patches and tarballs, with a "--nodeps" option. Much, much
cleaner: Building RPM's from it is a separate issue left to the
developer.

* Adds svn:ignore to the packaging/rpm/rhel-6 toolkit  to prevent
debris from being committed. (It may be desirable to put the staging
tarball source in /tmp/subversion-$VERSION: it certainly does *not*
belong in $HOME/rpms/sources/subverson-$VERSION, where it material was
prevously generated.

* New subversion.spec,in file, "svn copy" brought over from
rhel-5/subversion.spec and copied over with the Fedora 15
subverion-1.6.17 spec file. It's been modified to support RHEL 5 and
RHEL  6 compilation: I've not had a chance to test it on RHEL 4.
Particular modifications include disablinig the "psvn" and "kwallet"
handling, which are not compatible with RHEL 5's older base software,
and the use of "sqlite-amalgamation" tarballs on older systems. The
management of kde4 dependencies on RHEL 6 is also a bit confusing, due
to Red Hat's dual support of KDE3 and KDE4. The "--disable-static"
formerly workable option for subverison-1.6.x is also disabled,.

* A patch fo the kwallet build/ac-macros/kwallet.m4 file, to find the
KDE4 libraries and include files on RHEL/Fedora systems. Most of this
patch can be applied to the kwallet.m4, but the bout about the
"kde4/devel" suffix at the end of "kde4-config --path/lib" command may
not be appropriate for other systems. I don't have a SuSE or Debian
system on hand to test right now, though.

In addition, once this is done, the old packaging/rpm/rhel-{3,4,5}
directories should be deleted. They're broken and have been for some
time.

Received on 2011-10-30 21:46:38 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.