Hi Andreas,

On Sat, 10 Feb 2024 22:24:48 +0100, Andreas Grünbacher wrote:
> I'm all for better documentation. But the setup command is severely
> broken right now. Executing the %prep section in the current working
> directory is just insane. (...)

Because...?

Note that you can always use option -d if you want to execute the %prep
section in a different directory. The reason why it defaults to the
current directory is because this is where the original (slow)
implementation was ultimately preparing the working tree, and I wanted
to make the transition to the new (fast) method as smooth as possible.

I proposed this implementation 10 years ago, and nobody objected. It's
the default for 2 years now, and nobody complained.

(Actually, there was a report about "quilt setup" being unsafe:
 https://savannah.nongnu.org/bugs/?56969
 However my understanding is that this is caused by rpmbuild allowing
 arbitrary commands in spec files, and not related to slow mode vs.
 fast mode implementation details.)

-- 
Jean Delvare
SUSE L3 Support

_______________________________________________
Quilt-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to