1
0
mirror of https://github.com/jordansissel/fpm synced 2025-04-29 14:58:00 +02:00

use accessors in the templates

so the source can override them
This commit is contained in:
Jeanine Adkisson 2011-01-05 18:33:50 -08:00
parent a76ef974f9
commit 7e62488ebc

@ -1,13 +1,13 @@
Package: <%= @name %>
Version: <%= @version %>-<%= @iteration %>
Architecture: <%= @architecture %>
Maintainer: <%= @maintainer or "<unknown>" %>
<% if @dependencies.size > 0 %>
Depends: <%= @dependencies.join(", ") %>
Package: <%= name %>
Version: <%= version %>-<%= iteration %>
Architecture: <%= architecture %>
Maintainer: <%= maintainer or "<unknown>" %>
<% if dependencies.size > 0 %>
Depends: <%= dependencies.join(", ") %>
<% end %>
Standards-Version: 3.9.1
Section: <%= @category or "unknown" %>
Section: <%= category or "unknown" %>
Priority: extra
Homepage: <%= @url or "http://nourlgiven.example.com/" %>
Description: <%= @summary or "no summary given" %>
<%= @summary or "no description given"%>
Homepage: <%= url or "http://nourlgiven.example.com/" %>
Description: <%= summary or "no summary given" %>
<%= summary or "no description given"%>