Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent patch asking questions during build
Builds should always run unattended and never require user interactions. We also don't want unser input to affect the result. Without any options patch will ask for files to patch or whether it should reverse pachtes if they could be applied then. As -t aka --batch does reverse patches and skips patches with wrong version for the Prereq: line it is not suited for rpmbuild. We rather want the build to fail than silently drop (possibly security relevant) patches. We would prefer patch to error out when ever the patch looks not quite matching but -f aka --force is the option available closest to that. See man patch for details Resolves: #978
- Loading branch information