Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Richard Shaw
e0e0cf3026 Add conditional for help2man option not available on el6. 2017-09-01 18:00:57 -05:00

View file

@ -56,7 +56,7 @@ perl Makefile.pl -install --prefix=%{_prefix} --destdir=%{buildroot}
# Create man page
mkdir -p %{buildroot}%{_mandir}/man1
help2man -s 1 -N --version-string %{version} \
help2man -s 1 -N %{?!el6:--version-string %{version}} \
%{buildroot}%{_bindir}/%{name} > %{buildroot}%{_mandir}/man1/%{name}.1