1cf4120 Fix debuginfo

Authored and Committed by labbott 4 years ago
1 file changed. 2 lines added. 1 lines removed.
    Fix debuginfo
    
    From the original RHEL patch:
    
        This extra '+' causes problems with the regular expression used with
        /usr/lib/rpm/find-debuginfo.sh script from rpm-build, which is used to filter
        the debug files to the corresponding debuginfo packages. The '+' character
        in the release is interpreted as a regular expression operator and the
        debuginfo filter fails, with the build failing on an empty debuginfo file list.
    
        Which means we need to escape the extra '+' character if we want debuginfo
        filter to work. I tried to use '\' to escape, but rpm "eats" that, in testing
        '[+]' worked so is what I'm using to fix/workaround this problem. When RHEL 8
        drops the the extra +<number> in the future, we can remove this fix/workaround.
    
    This problem is likely to come up so just add it in now.
    
        
file modified
+2 -1