Skip to content

Commit

Permalink
- deb provides don't support versions (jordansissel#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
jls committed Oct 26, 2012
1 parent f4b9042 commit 26b11cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/deb.erb
Expand Up @@ -16,7 +16,9 @@ Conflicts: <%= conflicts.join(", ") %>
#Pre-Depends: <%#= properpredeps.flatten.join(", ") %>
<%# end -%>
<% if !provides.empty? -%>
Provides: <%= provides.join(", ") %>
<%# Turn each provides from 'foo = 123' to simply 'foo' because Debian :\ -%>
<%# http://www.debian.org/doc/debian-policy/ch-relationships.html %>
Provides: <%= provides.collect { |d| d.split(" ").first }.join(", ") %>
<% end -%>
<% if !replaces.empty? -%>
Replaces: <%= replaces.join(", ") %>
Expand Down

0 comments on commit 26b11cd

Please sign in to comment.