- trim dependencies from .la files
- detabify spec file - test suite disabled to ease stress on builders
This commit is contained in:
parent
8d428e2f69
commit
44203d19a5
@ -1,5 +1,5 @@
|
|||||||
# set to zero to avoid running test suite
|
# set to zero to avoid running test suite
|
||||||
%define make_check 1
|
%define make_check 0
|
||||||
|
|
||||||
%define with_java 1
|
%define with_java 1
|
||||||
|
|
||||||
@ -15,7 +15,7 @@
|
|||||||
Summary: Modern Version Control System designed to replace CVS
|
Summary: Modern Version Control System designed to replace CVS
|
||||||
Name: subversion
|
Name: subversion
|
||||||
Version: 1.4.4
|
Version: 1.4.4
|
||||||
Release: 3
|
Release: 4
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
URL: http://subversion.tigris.org/
|
URL: http://subversion.tigris.org/
|
||||||
@ -124,7 +124,7 @@ export svn_cv_ruby_sitedir_archsuffix=""
|
|||||||
|
|
||||||
export CC=gcc CXX=g++ JAVA_HOME=%{jdk_path}
|
export CC=gcc CXX=g++ JAVA_HOME=%{jdk_path}
|
||||||
%configure --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
|
%configure --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
|
||||||
--with-swig --with-neon=%{_prefix} \
|
--with-swig --with-neon=%{_prefix} \
|
||||||
--with-ruby-sitedir=%{ruby_sitearch} \
|
--with-ruby-sitedir=%{ruby_sitearch} \
|
||||||
--with-apxs=%{_sbindir}/apxs --disable-mod-activation \
|
--with-apxs=%{_sbindir}/apxs --disable-mod-activation \
|
||||||
--disable-static
|
--disable-static
|
||||||
@ -134,7 +134,7 @@ make %{?_smp_mflags} all
|
|||||||
make swig-py swig-py-lib %{swigdirs}
|
make swig-py swig-py-lib %{swigdirs}
|
||||||
make swig-pl swig-pl-lib swig-rb swig-rb-lib
|
make swig-pl swig-pl-lib swig-rb swig-rb-lib
|
||||||
%if %{with_java}
|
%if %{with_java}
|
||||||
make javahl
|
make %{?_smp_mflags} javahl
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -184,6 +184,12 @@ done
|
|||||||
# Rename authz_svn INSTALL doc for docdir
|
# Rename authz_svn INSTALL doc for docdir
|
||||||
ln -f subversion/mod_authz_svn/INSTALL mod_authz_svn-INSTALL
|
ln -f subversion/mod_authz_svn/INSTALL mod_authz_svn-INSTALL
|
||||||
|
|
||||||
|
# Trim exported dependencies to SVN and APR libraries only:
|
||||||
|
sed -i "/^dependency_libs/{
|
||||||
|
s, -l[^ ']*, ,g;
|
||||||
|
s,%{_libdir}/lib[^sa][^vp][^nr].*.la, ,g;
|
||||||
|
}" $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%if %{make_check}
|
%if %{make_check}
|
||||||
@ -267,6 +273,11 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 22 2007 Joe Orton <jorton@redhat.com> 1.4.4-4
|
||||||
|
- trim dependencies from .la files
|
||||||
|
- detabify spec file
|
||||||
|
- test suite disabled to ease stress on builders
|
||||||
|
|
||||||
* Wed Aug 8 2007 Joe Orton <jorton@redhat.com> 1.4.4-3
|
* Wed Aug 8 2007 Joe Orton <jorton@redhat.com> 1.4.4-3
|
||||||
- fix build with new glibc open()-as-macro
|
- fix build with new glibc open()-as-macro
|
||||||
- build all swig code in %%build, not %%install
|
- build all swig code in %%build, not %%install
|
||||||
|
Loading…
Reference in New Issue
Block a user