fpm 0.4.5 → 0.4.6
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/templates/rpm.erb +5 -0
- metadata +2 -2
data/CHANGELIST
CHANGED
data/templates/rpm.erb
CHANGED
@@ -107,9 +107,14 @@ fi
|
|
107
107
|
# with "/", then make sure paths with spaces are quoted. I hate rpm so much.
|
108
108
|
|
109
109
|
# 'files' here is the method FPM::Package#files.
|
110
|
+
# The 'files' section of rpm can be
|
111
|
+
# Replace [ with [\[] to make rpm not use globs
|
112
|
+
# Replace * with [*] to make rpm not use globs
|
110
113
|
files.collect { |f| "/#{f}" } \
|
111
114
|
.reject { |f| config_files.include?(f) } \
|
112
115
|
.collect { |f| f[/\s/] and "\"#{f}\"" or f } \
|
116
|
+
.collect { |f| f.gsub("[", "[\\[]") } \
|
117
|
+
.collect { |f| f.gsub("*", "[*]") } \
|
113
118
|
.join("\n")
|
114
119
|
%>
|
115
120
|
|
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.6
|
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-04-
|
12
|
+
date: 2012-04-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|