Skip to content
Merged
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
7 changes: 7 additions & 0 deletions fluent-package/yum/fluent-package.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,13 @@ The stable distribution of Fluentd, formerly known as td-agent.
%if %{use_scl_ruby}
. /opt/rh/rh-ruby%{scl_ruby_ver}/enable
%endif

# Disable package-note-file which embeds build environment path
# in LDFLAGS. It blocks build process with third-party gems which
# requires compile procedure.
%undefine _package_note_file # For AmazonLinux 2023
%undefine _package_note_flags # For RHEL 10

rake build:rpm_config FLUENT_PACKAGE_STAGING_PATH=%{buildroot} NO_VAR_RUN=1
rake build:all FLUENT_PACKAGE_STAGING_PATH=%{buildroot} PATH="$HOME/.cargo/bin:$PATH"
mkdir -p %{buildroot}%{_mandir}/man1
Expand Down
Loading