rake-debian-build 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/debian/build/distribution.rb +1 -1
- data/lib/debian/build/platform.rb +7 -1
- metadata +3 -3
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# Generate all the Rake tasks
|
4
4
|
# Run 'rake -T' to see list of generated tasks (from gem root directory)
|
5
|
-
$hoe = Hoe.new('rake-debian-build', '1.0.
|
5
|
+
$hoe = Hoe.new('rake-debian-build', '1.0.7') do |p|
|
6
6
|
p.developer("Alban Peignier", "alban.peignier@free.fr")
|
7
7
|
p.summary = "Rake tasks to build debian packages"
|
8
8
|
p.url = "http://github.com/albanpeignier/rake-debian-build"
|
@@ -24,7 +24,7 @@ module Debian::Build
|
|
24
24
|
|
25
25
|
def self.ubuntu_distributions
|
26
26
|
@@ubuntu_distributions ||=
|
27
|
-
%w{hardy
|
27
|
+
%w{hardy jaunty karmic}.collect { |distribution| Distribution.new(:ubuntu, distribution) }
|
28
28
|
end
|
29
29
|
|
30
30
|
def source_result_directory
|
@@ -51,7 +51,13 @@ module Debian::Build
|
|
51
51
|
def pbuilder(options = {})
|
52
52
|
PBuilder.new do |p|
|
53
53
|
p[:basetgz] = pbuilder_base_file
|
54
|
-
|
54
|
+
|
55
|
+
other_mirrors = ["deb file:#{build_result_directory} ./"]
|
56
|
+
unless @distribution.ubuntu?
|
57
|
+
other_mirrors << "deb http://www.debian-multimedia.org #{distribution} main"
|
58
|
+
end
|
59
|
+
|
60
|
+
p[:othermirror] = "'#{other_mirrors.join('|')}'"
|
55
61
|
p[:bindmounts] = p[:buildresult] = build_result_directory
|
56
62
|
p[:distribution] = distribution
|
57
63
|
p[:hookdir] = default_hooks_directory
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake-debian-build
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alban Peignier
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-23 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 2.
|
23
|
+
version: 2.4.0
|
24
24
|
version:
|
25
25
|
description: ""
|
26
26
|
email:
|