ros-infrastructure / ros_buildfarm

ROS buildfarm based on Docker
Apache License 2.0
77 stars 95 forks source link

Deal with RPM *-SPECPARTS build subdirectory #1033

Closed cottsay closed 3 months ago

cottsay commented 3 months ago

In typical RPM builds, the BUILD directory contains only a single subdirectory, which is where the package sources are extracted to prior to building.

Beginning with RPM 4.19, a -SPECPARTS subdirectory is created to facilitate dynamic spec file generation. We need to explicitly ignore it when we go looking for where the sources were extracted.