Skip to content

Commit ba8ad6a

Browse files
committed
workflows/rpm.yml: Use more strict patching
Use the strict patching flags used for Copr builds, otherwise the test will not catch differences in patches that would make the build in Copr to fail. Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
1 parent 60284d6 commit ba8ad6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/rpm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v5
1717
- name: Check that Fedora patches apply
18-
run: for p in rpm/fedora/*.patch; do patch -p1 < "$p"; done
18+
run: for p in rpm/fedora/*.patch; do patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f < "$p"; done
1919
centos:
2020
runs-on: ubuntu-latest
2121
name: Check that CentOS RPM patches still apply
2222
steps:
2323
- uses: actions/checkout@v5
2424
- name: Check that CentOS patches apply
25-
run: for p in rpm/centos/*.patch; do patch -p1 < "$p"; done
25+
run: for p in rpm/centos/*.patch; do patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f < "$p"; done

0 commit comments

Comments
 (0)