fpm 0.2.19 → 0.2.20
Sign up to get free protection for your applications and to get access to all the features.
- data/templates/rpm.erb +6 -0
- metadata +11 -11
data/templates/rpm.erb
CHANGED
@@ -28,6 +28,12 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
28
28
|
nextversion[2] = 0
|
29
29
|
nextversion = nextversion.join(".")
|
30
30
|
["#{name} >= #{version}", "#{name} < #{nextversion}"]
|
31
|
+
# Convert gem >= A.B.C <= X.Y.Z to '>= A.B.C' and '<= X.Y.Z'
|
32
|
+
elsif d =~ /\d [<>]=? \d/
|
33
|
+
puts d
|
34
|
+
# split out version numbers with their equality sign
|
35
|
+
name, lower_version, upper_version = d.scan(/([\w-]+) ([<>]=? [\d\.]+) ([<>]=? [\d\.]+)/)[0]
|
36
|
+
["#{name} #{lower_version}", "#{name} #{upper_version}"]
|
31
37
|
else
|
32
38
|
d
|
33
39
|
end
|
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:
|
5
|
-
prerelease:
|
4
|
+
hash: 63
|
5
|
+
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 20
|
10
|
+
version: 0.2.20
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jordan Sissel
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-05-
|
18
|
+
date: 2011-05-06 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -43,16 +43,16 @@ extra_rdoc_files: []
|
|
43
43
|
|
44
44
|
files:
|
45
45
|
- lib/fpm/builder.rb
|
46
|
-
- lib/fpm/namespace.rb
|
47
46
|
- lib/fpm/source.rb
|
48
47
|
- lib/fpm/rubyfixes.rb
|
49
|
-
- lib/fpm/source/npm.rb
|
50
|
-
- lib/fpm/source/dir.rb
|
51
|
-
- lib/fpm/source/rpm.rb
|
52
|
-
- lib/fpm/source/gem.rb
|
53
48
|
- lib/fpm/target/deb.rb
|
54
49
|
- lib/fpm/target/rpm.rb
|
55
50
|
- lib/fpm/package.rb
|
51
|
+
- lib/fpm/namespace.rb
|
52
|
+
- lib/fpm/source/dir.rb
|
53
|
+
- lib/fpm/source/rpm.rb
|
54
|
+
- lib/fpm/source/npm.rb
|
55
|
+
- lib/fpm/source/gem.rb
|
56
56
|
- lib/fpm.rb
|
57
57
|
- bin/fpm
|
58
58
|
- bin/fpm-npm
|
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
89
|
requirements: []
|
90
90
|
|
91
91
|
rubyforge_project:
|
92
|
-
rubygems_version: 1.
|
92
|
+
rubygems_version: 1.3.7
|
93
93
|
signing_key:
|
94
94
|
specification_version: 3
|
95
95
|
summary: fpm - package building and mangling
|