From: Arran Cudbard-Bell Date: Tue, 21 Jun 2022 16:26:36 +0000 (-0500) Subject: Try again to fix spec include paths X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4611959d14256fcdd35e572426d91b036b3d6eb1;p=thirdparty%2Ffreeradius-server.git Try again to fix spec include paths --- diff --git a/.github/workflows/ci-rpm.yml b/.github/workflows/ci-rpm.yml index 1ed5a9dc3d5..604db9b8bb3 100644 --- a/.github/workflows/ci-rpm.yml +++ b/.github/workflows/ci-rpm.yml @@ -136,17 +136,13 @@ jobs: run: | yum install -y procps-ng - - name: Install build dependencies - run: | - yum-builddep -y freeradius/redhat/freeradius.spec - # # It has been observed that sometimes not all the dependencies are # installed on the first go. Give it a second chance. # - - name: Second run of install build dependencies + - name: Install build dependencies run: | - yum-builddep -y redhat/freeradius.spec + yum-builddep -y redhat/freeradius.spec && yum-builddep -y redhat/freeradius.spec working-directory: freeradius - name: Build RPMs diff --git a/redhat/freeradius.spec b/redhat/freeradius.spec index 1b7fcfb7130..f56fa348161 100644 --- a/redhat/freeradius.spec +++ b/redhat/freeradius.spec @@ -216,7 +216,7 @@ BuildRequires: json-c-devel >= 0.13 %description libfreeradius-json Internal support library for FreeRADIUS modules using json-c, required by all modules that use json-c. -%include ./kafka.inc +%include %{_topdir}/kafka.inc %package libfreeradius-radius Summary: RADIUS protocol library for FreeRADIUS