Update for 1.1.2.
This commit is contained in:
parent
67a2c93dd3
commit
7ad830020f
@ -18,7 +18,6 @@ Patch1: subversion-0.24.2-swig.patch
|
|||||||
Patch2: subversion-0.20.1-deplibs.patch
|
Patch2: subversion-0.20.1-deplibs.patch
|
||||||
Patch3: subversion-0.31.0-rpath.patch
|
Patch3: subversion-0.31.0-rpath.patch
|
||||||
Patch6: subversion-1.0.3-pie.patch
|
Patch6: subversion-1.0.3-pie.patch
|
||||||
Patch7: subversion-1.1.1-db43.patch
|
|
||||||
BuildPreReq: autoconf, libtool, python, python-devel, texinfo
|
BuildPreReq: autoconf, libtool, python, python-devel, texinfo
|
||||||
BuildPreReq: db4-devel >= 4.1.25, swig >= 1.3.21-5, docbook-style-xsl
|
BuildPreReq: db4-devel >= 4.1.25, swig >= 1.3.21-5, docbook-style-xsl
|
||||||
BuildPreReq: apr-devel, apr-util-devel, neon-devel >= 0:0.24.7-1
|
BuildPreReq: apr-devel, apr-util-devel, neon-devel >= 0:0.24.7-1
|
||||||
@ -77,7 +76,6 @@ This package includes the Perl bindings to the Subversion libraries.
|
|||||||
%patch2 -p1 -b .deplibs
|
%patch2 -p1 -b .deplibs
|
||||||
%patch3 -p1 -b .rpath
|
%patch3 -p1 -b .rpath
|
||||||
%patch6 -p1 -b .pie
|
%patch6 -p1 -b .pie
|
||||||
%patch7 -p1 -b .db43
|
|
||||||
|
|
||||||
rm -rf neon apr apr-util db4
|
rm -rf neon apr apr-util db4
|
||||||
|
|
||||||
@ -94,8 +92,8 @@ export CC=gcc CXX=g++
|
|||||||
%configure --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
|
%configure --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
|
||||||
--without-swig --with-neon=%{_prefix} \
|
--without-swig --with-neon=%{_prefix} \
|
||||||
--with-apxs=%{_sbindir}/apxs --disable-mod-activation
|
--with-apxs=%{_sbindir}/apxs --disable-mod-activation
|
||||||
make %{?_smp_mflags} all swig-py %{swigdirs}
|
make %{?_smp_mflags} all %{swigdirs}
|
||||||
make swig-pl
|
#make swig-pl swig-py
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
@ -114,6 +112,7 @@ install -m 644 $RPM_SOURCE_DIR/subversion.conf ${RPM_BUILD_ROOT}%{_sysconfdir}/h
|
|||||||
rm -rf ${RPM_BUILD_ROOT}%{_includedir}/subversion-*/*.txt \
|
rm -rf ${RPM_BUILD_ROOT}%{_includedir}/subversion-*/*.txt \
|
||||||
${RPM_BUILD_ROOT}%{pydir}/*/*.{a,la}
|
${RPM_BUILD_ROOT}%{pydir}/*/*.{a,la}
|
||||||
|
|
||||||
|
%if 0
|
||||||
# remove stuff produced with Perl modules
|
# remove stuff produced with Perl modules
|
||||||
find $RPM_BUILD_ROOT -type f \
|
find $RPM_BUILD_ROOT -type f \
|
||||||
-a \( -name .packlist -o \( -name '*.bs' -a -empty \) \) \
|
-a \( -name .packlist -o \( -name '*.bs' -a -empty \) \) \
|
||||||
@ -125,6 +124,7 @@ find $RPM_BUILD_ROOT%{_libdir}/perl5 -type f -perm 555 -print0 |
|
|||||||
|
|
||||||
# unnecessary libraries for swig bindings
|
# unnecessary libraries for swig bindings
|
||||||
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libsvn_swig_*.{so,la,a}
|
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libsvn_swig_*.{so,la,a}
|
||||||
|
%endif
|
||||||
|
|
||||||
# Trim what goes in docdir
|
# Trim what goes in docdir
|
||||||
rm -rf tools/*/*.in tools/test-scripts \
|
rm -rf tools/*/*.in tools/test-scripts \
|
||||||
|
Loading…
Reference in New Issue
Block a user