Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

Commit 74ef8b0

Browse files
committed
fix rhel macro
1 parent c1e5329 commit 74ef8b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packaging/fedora/build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ rpmbuild root: %(rpmbuild)s
176176
'charliecloud-test': [rpms_arch, '%s.%s.rpm' % (rpms_dist, ARCH)]}
177177
rpm_specs = "/usr/local/src/SPECS"
178178
rpm_sources = "/usr/local/src/SOURCES"
179-
# Map el# to rhel# to avoid unresolved macro errors.
180-
rpmbuild_args += ["--define", "rhel " % rpm_dist[-1]]
179+
# Set rhel macro to avoid rpmbuild issues.
180+
rpmbuild_args += ["--define", "rhel 0"]
181181
rpmbuild_args += ["--define", "_topdir /usr/local/src"]
182182
rpmlint_args += ["--file", "%s/charliecloud.rpmlintrc" % rpm_specs]
183183
container += [CH_BASE + "/bin/ch-run", "-w",

0 commit comments

Comments
 (0)