[Rpm-maint] [rpm] Support Apache Subversion as SCM in the BUILD arena. (#55)

Neal Gompa (ニール・ゴンパ) notifications at github.com
Thu Jan 28 12:47:31 UTC 2016

> @@ -1120,6 +1122,23 @@ done \
>  %{__patch} %{-p:-p%{-p*}} %{-q:-s}\
>  %{__bzr} commit %{-q} -m %{-m*}
> +# Subversion
> +%__scm_setup_svn(q)\
> +%{__svnadmin} create .svnrepos\
> +%{__svn} mkdir %{-q} -m "Create directory structure." file://`pwd`/.svnrepos/trunk\
> +%{__svn} checkout %{-q} file://`pwd`/.svnrepos/trunk ./\
> +%{__svn} add %{-q} --force ./\
> +%{__svn} commit %{-q} -m "Initial import." && %{__svn} update %{-q}
> +
> +# Subversion 1.6 doesn't have its own command to apply patches
> +#%__scm_apply_svn(qp:m:)\

@ascherer Do patches generated by SVN support extended operations not supported by patch (such as changing permissions, ownership, etc.) like git-am patches do? If it does, then we probably want to use `svn patch`. If not, then I'd be okay with using standard `patch` instead.

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20160128/5b157611/attachment.html>

More information about the Rpm-maint mailing list