spec file: do not define with_lint inside a comment

RPM expands macros even inside comments in spec files, so the with_lint
macro is unintentionally always defined.

Escape the percent sign in '%global' in the comment to prevent this.

https://fedorahosted.org/freeipa/ticket/6418

Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
Jan Cholasta 2016-12-05 12:17:54 +01:00 committed by Martin Babinsky
parent 8bc6775122
commit 1b85e59cee

View File

@ -9,7 +9,7 @@
%endif %endif
# lint is not executed during rpmbuild # lint is not executed during rpmbuild
# %global with_lint 1 # %%global with_lint 1
%global alt_name ipa %global alt_name ipa
%if 0%{?rhel} %if 0%{?rhel}