Skip to content

Commit

Permalink
spec: be on the safe side with "%if %X"
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Pokorný <[email protected]>
  • Loading branch information
jnpkrn committed Jan 27, 2015
1 parent 1476d24 commit a375782
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/clufter.spec
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ BuildRequires: git
# Python side (first for python2* macros)
BuildRequires: python2-devel
BuildRequires: python-setuptools
%if "%{clufter_check}"
%if "0%{clufter_check}"
BuildRequires: python-lxml
%endif

Expand Down Expand Up @@ -186,7 +186,7 @@ test -f '%{buildroot}%{clufter_script}' \
'%{buildroot}%{_defaultdocdir}/%{clufter_source}'

%check
%if "%{clufter_check}"
%if "0%{clufter_check}"
# just a basic sanity check
# we need to massage RA metadata files and PATH so the local run works
# XXX we could also inject buildroot's site_packages dir to PYTHONPATH
Expand Down

0 comments on commit a375782

Please sign in to comment.