[OpenAFS-devel] Building binary rpms for 1.5.77

Derrick Brashear shadow@gmail.com
Thu, 7 Oct 2010 13:07:30 -0400


On Thu, Oct 7, 2010 at 1:05 PM, Phillip Moore <w.phillip.moore@gmail.com> w=
rote:
> I managed to automate setting up a multi-cell environment for testing
> purposes, but I'm using the binary RPMs for 1.4.12 which are available on
> openafs.org. =A0There are numerous features in 1.5.* that want to use, so=
 now
> I'm looking to rebuild all of this with 1.5.77, for which of course no
> binary rpms have been published yet.
> I figured that those aren't being put together entirely by hand, so I tri=
ed
> to find out how that are built. =A0This documentation:
> http://wiki.openafs.org/AFSLore/HowToBuildOpenAFSFromSource/
> seems out of date, since it discusses cvs instead of git. =A0It also only
> discusses creating a source rpm, and I'm looking to build the same set of
> binary rpms that are available for 1.4.12.
> Can anyone give me some more pointers on how the 1.4.12 rpms were put
> together?

there's a makesrpm perl file we ship in src/packaging/RedHat. it takes
a few arguments, which include the src and doc tarballs for the
version you want, and will spit out an srpm. you then
rpmbuild -ba it. not much fuss.

> I'm going to play around with the code and docs that are there today, and
> see how far I get. =A0Figure that should be a good learning process...



--=20
Derrick