Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > Hidden dependencies trying to create just a subversion client

Discussion topic

Back to topic list

Hidden dependencies trying to create just a subversion client

Author reilmb
Full name Reil B
Date 2009-04-23 08:28:20 PDT
Message I have been trying to create a standalone subversion client of 1.5.6.
I have the filter-requires.sh which should drop the requirement for
subversion-perl and I have stripped down the spec file to just get a
client build but the rpms still say

error: Failed dependencies:
        perl(SVN::Core) is needed by subversion-1.5.6-3.x86_64
        perl(SVN::Ra) is needed by subversion-1.5.6-3.x86_64
    Suggested resolutions:

Here is the spec file. I hope someone can find whats going wrong. I
can then do the install --nodeps and the files work but I just cant get
it to drop the dependency in the build.

more svnclient.spec
# set to zero to avoid running test suite
Summary: A Modern Concurrent Version Control System
Name: subversion
Version: 1.5.6
Release: 3
License: ASL 1.1
Group: Development/Tools
URL: http://subversion.tigris.org/
Source1: filter-requires.sh
BuildRequires: autoconf, libtool, python, python-devel, texinfo, which
BuildRequires: db4-devel >= 4.1.25, gettext
BuildRequires: neon >= 0:0.28.2, cyrus-sasl-devel
BuildRoot: %{_tmppath}/%{name}-​%{version}-%{release​}-root-%(%{__id_u}
Provides: svn = %{version}-%{release}

Subversion is a concurrent version control system which enables one
or more users to collaborate in developing and maintaining a
hierarchy of files and directories while keeping a history of all
changes. Subversion only stores the differences between versions,
instead of every complete file. Subversion is intended to be a
compelling replacement for CVS.

%package devel
Group: Development/Tools
Summary: Development package for the Subversion libraries
Requires: subversion = %{version}-%{release}, apr-devel, apr-util-devel

%description devel
The subversion-devel package includes the static libraries and
include files for developers interacting with the subversion

%setup -q

# Regenerate the buildsystem, so that:
# 1) patches applied to configure.in take effect
# 2) the swig bindings are regenerated using the system swig
#./autogen.sh --release

# fix shebang lines, #111498
perl -pi -e 's|/usr/bin/env perl -w|/usr/bin/perl -w|'

export CC=gcc CXX=g++ JAVA_HOME=%{jdk_path}
%configure --without-berkeley-db \
        --without-apache \
        --without-swig \
        --without-serf \
        --enable-shared \
        --with-ssl \
        --with-expat=/usr/lib64 \
        --prefix=/usr/local \
        --with-neon=/usr/loc​al/neon-0.28.3 \
make %{?_smp_mflags} all

rm -rf ${RPM_BUILD_ROOT}
make install \

install -m 755 -d ${RPM_BUILD_ROOT}%{​_sysconfdir}/subvers​ion

# Add subversion.conf configuration file into httpd/conf.d directory.
#install -m 755 -d ${RPM_BUILD_ROOT}%{​_sysconfdir}/httpd/c​onf.d
#install -m 644 $RPM_SOURCE_DIR/subversion.conf

# Remove unpackaged files
rm -rf ${RPM_BUILD_ROOT}%{​_includedir}/subvers​ion-*/*.txt \

# Trim what goes in docdir
rm -rf tools/*/*.in tools/test-scripts

# Rename authz_svn INSTALL doc for docdir
ln -f subversion/mod_authz​_svn/INSTALL mod_authz_svn-INSTALL
cp /usr/local/lib/libiconv*

# 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}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files -f %{name}.lang
%doc tools subversion/LICENSE mod_authz_svn-INSTALL
%doc contrib/client-side/​svn_load_dirs/{*.pl,​*.example,*.README}
%doc contrib/client-side/​svnmerge/*.{README,p​y}
%doc contrib/client-side/wcgrep
%dir %{_sysconfdir}/subversion

%files devel

« Previous message in topic | 1 of 1 | Next message in topic »


Show all messages in topic

Hidden dependencies trying to create just a subversion client reilmb Reil B 2009-04-23 08:28:20 PDT
Messages per page: