Skip to content
  • Alex Sweet's avatar
    CPack/RPM: Fix weak dep support · 9b53eca3
    Alex Sweet authored and Brad King's avatar Brad King committed
    RPM 4.11.3 for el7 contains backported support for the RPM weak dep tags.
    It only supports querying those tags, but rpmbuild can not make use of them.
    Since CPack relies on rpmbuild --querytags to check for support, this
    commit switches to rpm --suggests to check for support of weak
    dependencies.
    
    Fixes: #22350
    9b53eca3