5b7df3c %pyproject_buildrequires: Support Package information on ELF objects

Authored and Committed by churchyard 2 years ago
    %pyproject_buildrequires: Support Package information on ELF objects
    
    When extension modules are built in %pyproject_buildrequires,
    we need to create the package note file.
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2097535
    
    This is tested via python-ldap -- %pyproject_buildrequires -w fails without the fix.
    
    Neither python-markupsafe nor python-mistune can be used as a test
    because they only warn when the extension module cannot be built
    because they fallback to pure Python.
    
        
file modified
+3 -0
file modified
+3 -0
file modified
+5 -2