Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

packaging: add python3.9 and pacct to rpm specfile #3834

Merged
merged 2 commits into from Nov 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions packaging/rhel/syslog-ng.spec
Expand Up @@ -27,13 +27,18 @@ Source4: syslog-ng.logrotate7
%bcond_without mqtt


%if 0%{?rhel} == 8
%global python_devel python39-devel
%global py_ver 3.9
%else
%if 0%{?rhel} == 7
%global python_devel python36-devel
%global py_ver 3.6
%else
%global python_devel python3-devel
%global py_ver %{python3_version}
%endif
%endif

%if 0%{?rhel} >= 7 || 0%{?fedora} <= 32
%bcond_without java
Expand Down Expand Up @@ -312,6 +317,7 @@ ryslog is not on the system.
--with-linux-caps=auto \
--enable-json \
--enable-ssl \
--enable-pacct \
--enable-smtp \
--enable-shared \
--disable-static \
Expand Down Expand Up @@ -478,6 +484,7 @@ fi
%{_libdir}/%{name}/libtags-parser.so
%{_libdir}/%{name}/libtfgetent.so
%{_libdir}/%{name}/libxml.so
%{_libdir}/%{name}/libpacctformat.so

%if %{with systemd}
%{_unitdir}/%{name}.service
Expand Down