OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 12-Mar-2004 09:13:44 Branch: HEAD Handle: 2004031208134400 Modified files: openpkg-src/subversion subversion.spec Log: add svn2cvs tool and fix run-time deps Summary: Revision Changes Path 1.45 +16 -3 openpkg-src/subversion/subversion.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/subversion/subversion.spec ============================================================================ $ cvs diff -u -r1.44 -r1.45 subversion.spec --- openpkg-src/subversion/subversion.spec 23 Feb 2004 19:58:57 -0000 1.44 +++ openpkg-src/subversion/subversion.spec 12 Mar 2004 08:13:44 -0000 1.45 @@ -38,15 +38,17 @@ Group: SCM License: Apache/BSD Version: %{V_opkg} -Release: 20040223 +Release: 20040312 # package options %option with_cvs2svn no +%option with_svn2cvs no # list of sources Source0: http://subversion.tigris.org/tarballs/subversion-%{V_dist}.tar.gz Source1: http://svnbook.red-bean.com/book.pdf -Source2: rc.subversion +Source2: http://svn2cvs.tigris.org/nonav/source/browse/*checkout*/svn2cvs/src/svn2cvs.pl +Source3: rc.subversion # build information Prefix: %{l_prefix} @@ -56,7 +58,10 @@ BuildPreReq: libxml, db, openssl, zlib PreReq: libxml, db, openssl, zlib %if "%{with_cvs2svn}" == "yes" -PreReq: python +PreReq: cvs, python +%endif +%if "%{with_svn2cvs}" == "yes" +PreReq: cvs, perl, perl-xml %endif AutoReq: no AutoReqProv: no @@ -141,6 +146,14 @@ %{l_shtool} install -c -m 644 \ tools/cvs2svn/cvs2svn.1 \ $RPM_BUILD_ROOT%{l_prefix}/man/man1/ +%endif + +%if "%{with_svn2cvs}" == "yes" + # install svn2cvs(1) tool + %{l_shtool} install -c -m 755 \ + -e 's;#!/usr/bin/perl;#!%{l_prefix}/bin/perl;' \ + %{SOURCE svn2cvs.pl} \ + $RPM_BUILD_ROOT%{l_prefix}/bin/svn2cvs %endif # install run-command script @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]