Cross package maker. DEB/RPM generation or conversion. Derived from jordansissel/fpm.

⌈⌋ ⎇ branch:  cross package maker


Check-in [1c89c2c0c9]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:- remove monkeypatches and upgrade to backports 2.6.2
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1c89c2c0c958cc46737da36f34bf66d5cdcf315e
User & Date: jls@semicomplete.com 2012-08-07 16:32:59
Context
2012-08-07
16:33
purge yardoc on clean check-in: 43d9b23e27 user: jls@semicomplete.com tags: trunk
16:32
- remove monkeypatches and upgrade to backports 2.6.2 check-in: 1c89c2c0c9 user: jls@semicomplete.com tags: trunk
2012-08-06
06:37
fix missing logger check-in: ab26a3c762 user: jls@semicomplete.com tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Gemfile.lock.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PATH
  remote: .
  specs:
    fpm (0.4.11)
      arr-pm (~> 0.0.7)
      backports (= 2.3.0)
      cabin (~> 0.4.3)
      clamp (= 0.3.1)
      json (= 1.6.6)

GEM
  remote: http://rubygems.org/
  specs:
    arr-pm (0.0.7)
      cabin (> 0)
    backports (2.3.0)
    cabin (0.4.4)
      json
    clamp (0.3.1)
    diff-lcs (1.1.3)
    fattr (2.2.1)
    insist (0.0.5)
    json (1.6.6)





|









|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PATH
  remote: .
  specs:
    fpm (0.4.11)
      arr-pm (~> 0.0.7)
      backports (= 2.6.2)
      cabin (~> 0.4.3)
      clamp (= 0.3.1)
      json (= 1.6.6)

GEM
  remote: http://rubygems.org/
  specs:
    arr-pm (0.0.7)
      cabin (> 0)
    backports (2.6.2)
    cabin (0.4.4)
      json
    clamp (0.3.1)
    diff-lcs (1.1.3)
    fattr (2.2.1)
    insist (0.0.5)
    json (1.6.6)

Changes to fpm.gemspec.

22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  
  # For logging
  # https://github.com/jordansissel/ruby-cabin
  spec.add_dependency("cabin", "~> 0.4.3") # license: Apache 2 

  # For backports to older rubies
  # https://github.com/marcandre/backports
  spec.add_dependency("backports", "2.3.0") # license: MIT

  # For reading and writing rpms
  spec.add_dependency("arr-pm", "~> 0.0.7") # license: Apache 2

  # For command-line flag support
  # https://github.com/mdub/clamp/blob/master/README.markdown
  spec.add_dependency("clamp", "0.3.1") # license: MIT







|







22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  
  # For logging
  # https://github.com/jordansissel/ruby-cabin
  spec.add_dependency("cabin", "~> 0.4.3") # license: Apache 2 

  # For backports to older rubies
  # https://github.com/marcandre/backports
  spec.add_dependency("backports", "2.6.2") # license: MIT

  # For reading and writing rpms
  spec.add_dependency("arr-pm", "~> 0.0.7") # license: Apache 2

  # For command-line flag support
  # https://github.com/mdub/clamp/blob/master/README.markdown
  spec.add_dependency("clamp", "0.3.1") # license: MIT

Deleted lib/fpm/monkeypatches.rb.

1
2
3
4
5
6
7
8
9
10
11
# Copied from https://raw.github.com/marcandre/backports/master/lib/backports/1.9.3/io.rb
# Also Hacked just to make it work
# This is necessary until a newer version of backports (> 2.3.0) is available
class << IO
  # Standard in Ruby 1.9.3 See official documentation[http://ruby-doc.org/core-1.9.3/IO.html#method-c-write]
  def write(name, string, offset = nil, options = Backports::Undefined)
    File.open(name, "w") do |fd|
      fd.write(string)
    end
  end unless method_defined? :write
end
<
<
<
<
<
<
<
<
<
<
<