Skip to content

Commit

Permalink
Add c10s to Packit jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
evgenyz committed Jul 29, 2024
1 parent 8f06d23 commit 4a410b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ jobs:
metadata:
targets:
- fedora-all-x86_64
- centos-stream-8-x86_64
- centos-stream-9-x86_64
- centos-stream-10-x86_64

- job: tests
trigger: pull_request
metadata:
targets:
- fedora-all-x86_64
- centos-stream-8-x86_64
- centos-stream-9-x86_64
- centos-stream-10-x86_64

- <<: *build
trigger: commit
9 changes: 1 addition & 8 deletions openscap.spec
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@ BuildRequires: gcc-c++
BuildRequires: swig libxml2-devel libxslt-devel perl-generators perl-XML-Parser
BuildRequires: rpm-devel
BuildRequires: libgcrypt-devel
%if 0%{?fedora}
BuildRequires: pcre2-devel
%else
BuildRequires: pcre-devel
%endif
BuildRequires: libacl-devel
BuildRequires: libselinux-devel
BuildRequires: libcap-devel
Expand Down Expand Up @@ -131,12 +127,9 @@ Tool for scanning Atomic containers.

%build
%undefine __cmake_in_source_build
# gconf is a legacy system not used any more, and it blocks testing of oscap-anaconda-addon
# as gconf is no longer part of the installation medium
%cmake \
-DENABLE_PERL=OFF \
-DENABLE_DOCS=ON \
-DGCONF_LIBRARY=
-DENABLE_DOCS=ON
%cmake_build
make docs

Expand Down

0 comments on commit 4a410b8

Please sign in to comment.