Skip to content

Commit 3d047cf

Browse files
cursoragentlovasoa
andcommitted
build: Skip rpm build dependencies in CI
Co-authored-by: contact <contact@ophir.dev>
1 parent 092fad5 commit 3d047cf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/packages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ jobs:
149149
150150
- name: Build RPM package
151151
run: |
152-
rpmbuild -ba ~/rpmbuild/SPECS/sqlpage.spec
152+
# Use --nodeps to bypass build dependency checks since Rust is provided by CI
153+
rpmbuild -ba --nodeps ~/rpmbuild/SPECS/sqlpage.spec
153154
154155
- name: Run rpmlint checks
155156
run: |

rpm/sqlpage.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Source0: https://github.com/sqlpage/SQLPage/archive/v%{version}.tar.gz
1010
# Disable automatic shebang mangling - Rust source files use #! for attributes, not shebangs
1111
%undefine __brp_mangle_shebangs
1212

13+
# Note: cargo/rust listed for local builds; CI uses --nodeps flag with toolchain action
1314
BuildRequires: rust >= 1.70
1415
BuildRequires: cargo >= 1.70
1516
BuildRequires: openssl-devel

0 commit comments

Comments
 (0)