fpm 0.2.27 → 0.2.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELIST +3 -0
  2. data/templates/rpm.erb +4 -0
  3. metadata +4 -4
data/CHANGELIST CHANGED
@@ -1,3 +1,6 @@
1
+ 0.2.28 (May 18, 2011)
2
+ - Use --replaces as "Obsoletes" in rpms.
3
+
1
4
  0.2.27 (May 18, 2011)
2
5
  - If present, DEBEMAIL and DEBFULLNAME environment variables will be used as
3
6
  the default maintainer. Previously the default was simply <$user@$hostname>
data/templates/rpm.erb CHANGED
@@ -45,6 +45,10 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
45
45
  <% provides.each do |prov| %>
46
46
  Provides: <%= prov %>
47
47
  <% end %>
48
+ <%# The closes equivalent in RPM to "replaces" is "Obsoletes" %>
49
+ <% replaces.each do |repl| %>
50
+ Obsoletes: <%= repl %>
51
+ <% end %>
48
52
 
49
53
  <%# rpm rejects descriptions with blank lines (even between content), so hack
50
54
  around it by replacing blank lines with ' .' %>
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: 33
4
+ hash: 47
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 27
10
- version: 0.2.27
9
+ - 28
10
+ version: 0.2.28
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jordan Sissel
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  requirements: []
105
105
 
106
106
  rubyforge_project:
107
- rubygems_version: 1.6.0
107
+ rubygems_version: 1.5.1
108
108
  signing_key:
109
109
  specification_version: 3
110
110
  summary: fpm - package building and mangling