[DAG] Rebuilding subversion - missing perl package

Tarjei Knapstad <[email protected]>
Newsgroups gmane.linux.freshrpms.user
Message-ID <[email protected]>
Hi!

Today I've been trying to rebuild the subversion-1.1.4 SRPM in the DAG
repository, as well as building 1.2.0 RPMS using the spec and 1.2
sources on an old RH8 box (heavily upgraded with homebrew packages)
for some migration testing from CVS to Subversion as well as testing
out the Trac bugtracker.

Now, I can build both 1.1.4 and 1.2.0 RPMS, but the subversion-perl
RPM is not built for either version.

I've upgraded SWIG to 1.3.21, and after checking the spec and the
filter-requires.sh script I found that I was missing
perl(Config::IniFiles) so I installed that. My Perl is version 5.8 so
I've got perl(File::Path) version 1.05 which should meet the second
requirement. I've also added the following on top of the spec to
support RH8 (-fPIE isn't available on my compiler, gcc 3.2):

%{?rh8:%define _without_pie 1}

Further down in the spec there was a section on perl which is
commented out for some reason (?):

# build the perl modules
#pushd subversion/bindings/swig/perl
#CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor"
#%{__make} %{?_smp_mflags}
#popd

I tried putting it back in but that made no difference.

Could anyone tell what I'm doing wrong? I can't quite understand why a
stock rebuild doesn't produce the same binary packages that are
offered in the DAG repo. If anyone could point me in the right
direction I'd be very grateful!

Cheers,
--
Tarjei
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.