Skip to content
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

Resolve rmw_implementation_packages dependencies. #16

Merged
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
Bloom does not support group_depend so entries below duplicate the group rmw_implementation_packages.
This ensures that binary packages have support for all of these rmw impl. enabled.
-->
<build_depend>rmw_connextdds</build_depend>
<build_depend>rmw_cyclonedds_cpp</build_depend>
<build_depend>rmw_fastrtps_cpp</build_depend>
<build_depend>rmw_fastrtps_dynamic_cpp</build_depend>
Expand Down
9 changes: 9 additions & 0 deletions rpm/template.spec.em
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
@{
# Connext is not available for RHEL - ignore any deps related to it
BuildDepends = [d for d in BuildDepends if 'connext' not in d]
}@
%bcond_without tests
%bcond_without weak_deps

Expand All @@ -15,6 +19,11 @@ License: @(License)
Source0: %{name}-%{version}.tar.gz
@[if NoArch]@\nBuildArch: noarch@\n@[end if]@

Requires: ros-@(Rosdistro)-rmw-implementation-packages(member)
%if 0%{?with_weak_deps}
Recommends: ros-@(Rosdistro)-rmw-cyclonedds-cpp
%endif

@[for p in Depends]Requires: @p@\n@[end for]@
@[for p in BuildDepends]BuildRequires: @p@\n@[end for]@
@[for p in Conflicts]Conflicts: @p@\n@[end for]@
Expand Down