fpm 0.4.13 → 0.4.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELIST +3 -0
- data/lib/fpm/command.rb +9 -4
- data/lib/fpm/package/pyfpm/__init__.pyc +0 -0
- data/lib/fpm/package/pyfpm/get_metadata.pyc +0 -0
- data/templates/rpm.erb +5 -1
- metadata +18 -19
data/CHANGELIST
CHANGED
data/lib/fpm/command.rb
CHANGED
|
@@ -61,24 +61,29 @@ class FPM::Command < Clamp::Command
|
|
|
61
61
|
@dependencies << val
|
|
62
62
|
end # -d / --depends
|
|
63
63
|
option "--provides", "PROVIDES",
|
|
64
|
-
"What this package provides (usually a name)
|
|
64
|
+
"What this package provides (usually a name). This flag can be "\
|
|
65
|
+
"specified multiple times." do |val|
|
|
65
66
|
@provides ||= []
|
|
66
67
|
@provides << val
|
|
67
68
|
end # --provides
|
|
68
69
|
option "--conflicts", "CONFLICTS",
|
|
69
|
-
"Other packages/versions this package conflicts with"
|
|
70
|
+
"Other packages/versions this package conflicts with. This flag can " \
|
|
71
|
+
"specified multiple times." do |val|
|
|
70
72
|
@conflicts ||= []
|
|
71
73
|
@conflicts << val
|
|
72
74
|
end # --conflicts
|
|
73
75
|
option "--replaces", "REPLACES",
|
|
74
|
-
"Other packages/versions this package replaces
|
|
76
|
+
"Other packages/versions this package replaces. This flag can be "\
|
|
77
|
+
"specified multiple times." do |val|
|
|
75
78
|
@replaces ||= []
|
|
76
79
|
@replaces << val
|
|
77
80
|
end # --replaces
|
|
78
81
|
option "--config-files", "CONFIG_FILES",
|
|
79
82
|
"Mark a file in the package as being a config file. This uses 'conffiles'" \
|
|
80
83
|
" in debs and %config in rpm. You can specify a directory to have it " \
|
|
81
|
-
"scanned marking all files found as config files"
|
|
84
|
+
"scanned marking all files found as config files. If you have multiple " \
|
|
85
|
+
"files to mark as configuration files, specify this flag multiple times." \
|
|
86
|
+
do |val|
|
|
82
87
|
@config_files ||= []
|
|
83
88
|
@config_files << val
|
|
84
89
|
end # --config-files
|
|
Binary file
|
|
Binary file
|
data/templates/rpm.erb
CHANGED
|
@@ -32,7 +32,11 @@ Prefix: <%= prefix %>
|
|
|
32
32
|
<% end -%>
|
|
33
33
|
|
|
34
34
|
Group: <%= category %>
|
|
35
|
-
|
|
35
|
+
<%# Sometimes the 'license' field has multiple lines... Hack around it.
|
|
36
|
+
# While technically yes this means we are 'modifying' the license,
|
|
37
|
+
# since the job of FPM is to get shit done and that this is only
|
|
38
|
+
# modifying whitespace, it should be reasonably OK. -%>
|
|
39
|
+
License: <%= license.gsub("\n", " ") %>
|
|
36
40
|
<% if !vendor.nil? and !vendor.empty? -%>
|
|
37
41
|
Vendor: <%= vendor %>
|
|
38
42
|
<% end -%>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fpm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.14
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-08-
|
|
12
|
+
date: 2012-08-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: json
|
|
@@ -150,32 +150,32 @@ extensions: []
|
|
|
150
150
|
extra_rdoc_files: []
|
|
151
151
|
files:
|
|
152
152
|
- lib/fpm/errors.rb
|
|
153
|
-
- lib/fpm/util.rb
|
|
154
|
-
- lib/fpm/command.rb
|
|
155
|
-
- lib/fpm/package/pyfpm/get_metadata.py
|
|
156
|
-
- lib/fpm/package/pyfpm/__init__.pyc
|
|
157
|
-
- lib/fpm/package/pyfpm/get_metadata.pyc
|
|
158
|
-
- lib/fpm/package/pyfpm/__init__.py
|
|
159
|
-
- lib/fpm/package/python.rb
|
|
160
|
-
- lib/fpm/package/rpm.rb
|
|
161
153
|
- lib/fpm/package/npm.rb
|
|
162
|
-
- lib/fpm/package/
|
|
154
|
+
- lib/fpm/package/python.rb
|
|
155
|
+
- lib/fpm/package/solaris.rb
|
|
156
|
+
- lib/fpm/package/dir.rb
|
|
163
157
|
- lib/fpm/package/gem.rb
|
|
164
|
-
- lib/fpm/package/tar.rb
|
|
165
158
|
- lib/fpm/package/pear.rb
|
|
166
|
-
- lib/fpm/package/dir.rb
|
|
167
159
|
- lib/fpm/package/puppet.rb
|
|
168
|
-
- lib/fpm/package/
|
|
160
|
+
- lib/fpm/package/pyfpm/__init__.py
|
|
161
|
+
- lib/fpm/package/pyfpm/__init__.pyc
|
|
162
|
+
- lib/fpm/package/pyfpm/get_metadata.pyc
|
|
163
|
+
- lib/fpm/package/pyfpm/get_metadata.py
|
|
164
|
+
- lib/fpm/package/tar.rb
|
|
165
|
+
- lib/fpm/package/deb.rb
|
|
166
|
+
- lib/fpm/package/rpm.rb
|
|
167
|
+
- lib/fpm/util.rb
|
|
169
168
|
- lib/fpm/package.rb
|
|
170
169
|
- lib/fpm/namespace.rb
|
|
170
|
+
- lib/fpm/command.rb
|
|
171
171
|
- lib/fpm.rb
|
|
172
|
-
- bin/fpm-npm
|
|
173
172
|
- bin/fpm
|
|
174
|
-
-
|
|
175
|
-
- templates/puppet/package.pp.erb
|
|
173
|
+
- bin/fpm-npm
|
|
176
174
|
- templates/deb.erb
|
|
177
|
-
- templates/solaris.erb
|
|
178
175
|
- templates/rpm.erb
|
|
176
|
+
- templates/solaris.erb
|
|
177
|
+
- templates/puppet/package/remove.pp.erb
|
|
178
|
+
- templates/puppet/package.pp.erb
|
|
179
179
|
- LICENSE
|
|
180
180
|
- CONTRIBUTORS
|
|
181
181
|
- CHANGELIST
|
|
@@ -205,4 +205,3 @@ signing_key:
|
|
|
205
205
|
specification_version: 3
|
|
206
206
|
summary: fpm - package building and mangling
|
|
207
207
|
test_files: []
|
|
208
|
-
has_rdoc:
|