Tried this --- my-find-supplements (revision 133) +++ my-find-supplements (working copy) @@ -16,6 +16,8 @@ if test -z "$krel"; then exit fi +echo "krel: $krel" +echo "pci_id_file: __ $PCI_ID_FILE __" # and create our own list of modalias supplements for id in $(cat ${PCI_ID_FILE} | cut -d " " -f 1|sed 's/0x//g'); do and both - $krel and $PCI_ID_FILE - are empty. Seems the script no longer gets the pci id file as paraemter although it's specified. in specfile. %define __kmp_supplements %_sourcedir/my-find-supplements %pci_id_file