Avoid 'unexpanded macro' warning in mock srpm builds
When preparing the srpm in mock or other minimal environments, the use of %{_emacs_version} causes a spurious warning: Possible unexpanded macro in: Requires: emacs-filesystem >= %{_emacs_version} Prevent the warning with a check that the macro is defined before use. (There is another use of %{_emacs_version}, but it only applies to EL-6 where the warning is not present. Just ignore it.)
This commit is contained in:
parent
ac594c4ca5
commit
314daae243
Loading…
Reference in New Issue
Block a user