On Mon, Mar 09, 2020 at 11:36:33PM +0100, clime wrote:
On Mon, 9 Mar 2020 at 22:45, Richard W.M. Jones
<rjones(a)redhat.com> wrote:
>
>
> This would break processing with ‘rpmspec’?
With just rpmspec, yes. The preproc-rpmspec tool can become a wrapper
around rpmspec aliased prerpmspec essentially doing the preprocessing,
then immediately passing the result to rpmspec for further processing.
Similarly with spectool, wrapper prespectool can be provided.
Also this would break fedpkg local, fedpkg srpm, rpmbuild, any process
which creates an SRPM, and arbitrary scripts that we run over spec
files?
If so, it seems like a bad idea to me.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org