Skip to content

Commit

Permalink
github: Fix lint workflow
Browse files Browse the repository at this point in the history
We need to copy the spec file into the build directory for
the rpm target to work correctly.
  • Loading branch information
mgrabovsky committed Apr 12, 2022
1 parent ce7d2a2 commit 52fecdc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
run: dnf builddep --assumeyes --spec gnome-abrt.spec

- name: Configure build
run: meson build
run: meson setup build

- name: Build and install packages
run: |
meson compile -C build rpm
meson compile -C build rpm -v
dnf --assumeyes install ./build/rpm/**/*.rpm
- name: Run pylint
Expand Down
6 changes: 6 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ xmlto = find_program('xmlto',
required: get_option('docs')
)

configure_file(
copy: true,
input: 'gnome-abrt.spec',
output: 'gnome-abrt.spec',
)

subdir('data')
subdir('doc')
subdir('icons')
Expand Down

0 comments on commit 52fecdc

Please sign in to comment.