%configure \
--with-editor=vi \
--with-zlib \
+ --with-python=%{_bindir}/python \
+ --with-perl5=%{_bindir}/perl \
%if %{with net_client_only}
--without-apache \
--without-swig \
%endif
# perl
%if %{with perl}
-bdir=$(pwd)
-%{__make} install-swig-pl-lib \
- LC_ALL=C \
- DESTDIR=${bdir}/swig-pl-lib-buildroot
-%{__make}
-cd subversion/bindings/swig/perl
-env APR_CONFIG=%{_bindir}/apr-config \
- APU_CONFIG=%{_bindir}/apu-config \
- %{__perl} Makefile.PL \
- INSTALLDIRS=vendor
-env LIBRARY_PATH=${bdir}/swig-pl-lib-buildroot%{_libdir} %{__make}
-cd ../../../../
+%{__make} swig-pl
%endif
%endif
$RPM_BUILD_ROOT/home/services/subversion{,/repos}
%{__make} install \
- LC_ALL=C \
%if !%{with net_client_only} && %{with python}
install-swig-py \
%endif
swig_pydir_extra=%{py_sitedir}/svn
%if !%{with net_client_only} && %{with perl}
-%{__make} install-swig-pl-lib \
- LC_ALL=C \
- DESTDIR=$RPM_BUILD_ROOT
-%{__make} -C subversion/bindings/swig/perl install \
+%{__make} install-swig-pl
DESTDIR=$RPM_BUILD_ROOT
%endif