Check-in [387a9ba400]
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Disable rpm provides hackery that doesn't belong in the gem package |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
387a9ba40040955995dbac198f64faf7 |
| User & Date: | jls@semicomplete.com 2012-03-19 07:04:43 |
Context
|
2012-03-19
| ||
| 07:17 | Remove unused and mysterious 'settings' method check-in: 160c9333a7 user: jls@semicomplete.com tags: trunk | |
| 07:04 | Disable rpm provides hackery that doesn't belong in the gem package check-in: 387a9ba400 user: jls@semicomplete.com tags: trunk | |
| 07:00 | - add note about rpm demolestation check-in: feaadaddf5 user: jls@semicomplete.com tags: trunk, v0.4.0 | |
Changes
Changes to lib/fpm/package/gem.rb.
| ︙ | ︙ | |||
124 125 126 127 128 129 130 |
end
# make sure we have a description
description_options = [ spec.description, spec.summary, "#{spec.name} - no description given" ]
self.description = description_options.find { |d| !(d.nil? or d.strip.empty?) }
# Upstream rpms seem to do this, might as well share.
| > > > | | 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 |
end
# make sure we have a description
description_options = [ spec.description, spec.summary, "#{spec.name} - no description given" ]
self.description = description_options.find { |d| !(d.nil? or d.strip.empty?) }
# Upstream rpms seem to do this, might as well share.
# TODO(sissel): Figure out how to hint this only to rpm?
# maybe something like attributes[:rpm_provides] for rpm specific stuff?
# Or just ignore it all together.
#self.provides << "rubygem(#{self.name})"
# By default, we'll usually automatically provide this, but in the case that we are
# composing multiple packages, it's best to explicitly include it in the provides list.
self.provides << "rubygem-#{self.name}"
spec.runtime_dependencies.map do |dep|
# rubygems 1.3.5 doesn't have 'Gem::Dependency#requirement'
|
| ︙ | ︙ |