This is a pseudo-script of what to do - not really tested, but you should
get the idea:

# install requirements (be sure you have set multilib_policy=best in
/etc/yum.conf)
yum install 'apr-devel' 'apr-util-devel' 'autoconf' 'db4-devel'
'docbook-style-xsl' 'expat-devel' 'gettext' 'libtool' 'neon-devel'
'openssl-devel' 'python26' 'python26-devel' 'texinfo' 'which' 'httpd-devel'
'perl' 'perl(ExtUtils::MakeMaker)' 'java-devel' 'ruby-devel' 'ruby'

mkdir subversion ; cd subversion
wget http://apt.sw.be/source/subversion-1.6.15-0.1.rf.src.rpm
rpm2cpio subversion-1.6.15-0.1.rf.src.rpm  | cpio -ivd
# copy the patch from my earlier mail here
patch -p1 < svn-py26.patch
rpmbuild -bb --define="_sourcedir $PWD" --define="_specdir $PWD"
--define="_rpmdir $PWD" --define="_rpmfilename
%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" subversion.spec

- Thomas


2013/2/26 st0ne_c0ld <[email protected]>

> Hi Thomas,
>
> Sorry for asking, but could you tell which version of the spec I should
> patch?
> I found something on the github:
> https://github.com/repoforge/rpms/tree/master/specs/subversion
> But I do not quietly understand what file I should patch(there is no
> subversion.spec)?
>
> And am I right that after patching correct spec file I should run "rpm
> build" with some options and it will download all required source files by
> itself according to spec file? (I'm not very familiar with rpm building)
>
> Thanks,
> Dmitry
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to