Skip to content

Commit 9284250

Browse files
Disable implicit in-source builds for RPM (#742)
Our spec files already perform out-of-source CMake builds explicitly.
1 parent 09e4cee commit 9284250

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

bloom/generators/rpm/templates/ament_cmake/template.spec.em

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
%global __provides_exclude_from ^@(InstallationPrefix)/.*$
66
%global __requires_exclude_from ^@(InstallationPrefix)/.*$
77

8+
%global __cmake_in_source_build 1
9+
810
Name: @(Package)
911
Version: @(Version)
1012
Release: @(RPMInc)%{?dist}%{?release_suffix}

bloom/generators/rpm/templates/cmake/template.spec.em

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
%global __provides_exclude_from ^@(InstallationPrefix)/.*$
66
%global __requires_exclude_from ^@(InstallationPrefix)/.*$
77

8+
%global __cmake_in_source_build 1
9+
810
Name: @(Package)
911
Version: @(Version)
1012
Release: @(RPMInc)%{?dist}%{?release_suffix}

0 commit comments

Comments
 (0)