Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split packages from cmake_modules when adding them as buildreqs
When parsing cmake files for find_package dependencies, we match against entries in cmake_modules. Many of the entries of this file list multiple packages, separated by space. Split on whitespace so we actually feed only individual package names to each add_buildreq call. Otherwise, if cmake_modules provides "extra-cmake-modules png2ico", for example, and you have "png2ico" in buildreq_ban, the specfile would still list both extra-cmake-modules and png2ico as build dependencies, because add_buildreq only compared exact matches.
- Loading branch information