Example project -- https://github.com/jsumners/staticdhcpd-rpm
When the build script in that project is run it looks for a sibling file
`gpg-env`. If found, it sources the file and generates the build command like
so:
```
rpmbuild --define "_topdir ${CWD}/rpmbuild" \
--define "_signature ${signature}" \
--define "_gpg_path ${gpg_path}" --define "_gpg_name ${gpg_name}" \
--sign --ba rpmbuild/SPECS/${SPEC1}
```
This works just fine in a RHEL 6 environment. But if you do it in a RHEL 7
environment it fails saying:
```
You must set "%_gpg_name" in your macro file
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/153
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint