Skip to content

rpm: fix errors on recent fedora #187

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions rpm/grout.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
%global _lto_cflags %nil
%global branch main
%global __meson_wrap_mode default
%if "%toolset" != ""
%global __meson /usr/bin/scl run %toolset -- /usr/bin/meson
%if %{defined toolset}
%global __meson /usr/bin/scl run %{toolset} -- /usr/bin/meson
%endif

Name: grout
Expand All @@ -17,11 +17,11 @@ Version: %{version}
Release: %{release}
Source0: https://github.com/DPDK/grout/archive/%{branch}.tar.gz#/%{name}-%{version}-%{release}.tar.gz

%if "%toolset" == ""
BuildRequires: gcc >= 13
%else
BuildRequires: %toolset
%if %{defined toolset}
BuildRequires: %{toolset}
BuildRequires: scl-utils
%else
BuildRequires: gcc >= 13
%endif
BuildRequires: git
BuildRequires: libarchive-devel
Expand Down Expand Up @@ -54,7 +54,9 @@ It comes with a client library to configure it over a standard UNIX socket and
a CLI that uses that library. The CLI can be used as an interactive shell, but
also in scripts one command at a time, or by batches.

%if %{undefined _enable_debug_packages}
%debug_package
%endif

%package devel
Summary: Development headers for building %{name} API clients
Expand Down