<p>Another try with <code><(cat)</code> instead of <code>%{1}</code>: Set <strong>bash</strong> as executing shell in the specfile</p>

<pre><code>%prep
%define _buildshell /bin/shell
%autosetup -S svn
</code></pre>

<p>This produces the correct commands</p>

<pre><code>+ /bin/cat /home/andreas/Programming/RPM/SOURCES/0001-Fix-intermediate-bugs.patch
+ /usr/bin/svn patch -q /dev/fd/63
</code></pre>

<p>but results in the error message</p>

<pre><code>svn: E000029: Can't set position pointer in file '/dev/fd/63': Illegal seek
</code></pre>

<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#issuecomment-176659948">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ANb806zvPKjYXenQE4KyUcf8Bh9wc82bks5peyd2gaJpZM4HLi_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#issuecomment-176659948"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>