fpm 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/fpm/builder.rb +1 -0
  2. data/templates/rpm.erb +1 -0
  3. metadata +3 -3
@@ -41,6 +41,7 @@ class FPM::Builder
41
41
  @package = package_class_for(settings.package_type).new(@source)
42
42
  # Append dependencies given from settings (-d flag for fpm)
43
43
  @package.dependencies += settings.dependencies if settings.dependencies
44
+ @package.architecture = settings.architecture if settings.architecture
44
45
 
45
46
  @output = settings.package_path
46
47
  @recurse_dependencies = settings.recurse_dependencies
@@ -2,6 +2,7 @@ Name: <%= @name %>
2
2
  Version: <%= @version %>
3
3
  Release: <%= @iteration %>
4
4
  Summary: <%= @summary %>
5
+ BuildArch: <%= architecture %>
5
6
 
6
7
  Group: <%= @category %>
7
8
  <%#
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fpm
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jordan Sissel