<p>In <a href="https://github.com/rpm-software-management/rpm/pull/55#discussion_r51117087">macros.in</a>:</p>
<pre style='color:#555'>> @@ -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:)\
</pre>
<p>Personally, I'ld vote for including the 'old' version of <code>%__scm_apply_svn</code> for <em>all</em> versions of subversion (using standard <code>patch</code> instead of <code>svn patch</code>). <code>svn patch</code> does <em>not</em> support pipe input, so compressed patches – rare as they might be – are completely unsupported by the 'new' version of <code>%__scm_apply_svn</code>. (I have no idea if the AS project is willing to extend <code>svn patch</code> for piped input; the <a href="https://github.com/apache/subversion/blob/trunk/subversion/libsvn_client/patch.c#L3725">relevant source code</a> looks quite inflexible in this respect.)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/rpm-software-management/rpm/pull/55/files#r51117087">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ANb80xdfSktEBxbvBZfgF-GeaJQr5jzKks5pegSygaJpZM4HLi_k.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/rpm-software-management/rpm/pull/55/files#r51117087"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>