Skip to content

Commit

Permalink
do not use not(). not supported on 1.8 e.g.
Browse files Browse the repository at this point in the history
  • Loading branch information
darix committed Oct 21, 2014
1 parent eed51b5 commit ba7932c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/gem_packages.spec.erb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ PreReq: update-alternatives
%description -n <%= pkg_basename %><%= config[:version_suffix] %>
<%= config[:description] or spec.description -%>
<% if spec.has_rdoc && not(config[:disable_docs]) -%>
<% if spec.has_rdoc && !(config[:disable_docs]) -%>
%package -n <%= pkg_basename %>-doc<%= config[:version_suffix] %>
Summary: RDoc documentation for <%= spec.name %>
Group: Development/Languages/Ruby
Expand Down Expand Up @@ -191,7 +191,7 @@ fi
<% end -%>
<%= gem_spec_dir %>/<%= mod_full_name -%>.gemspec

<% if spec.has_rdoc && not(config[:disable_docs]) -%>
<% if spec.has_rdoc && !(config[:disable_docs]) -%>
%files -n <%= pkg_basename %>-doc<%= config[:version_suffix] %>
%defattr(-,root,root,-)
%doc <%= gem_doc_dir %>
Expand Down

0 comments on commit ba7932c

Please sign in to comment.