dr 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dr/gitpackage.rb +8 -8
- data/lib/dr/version.rb +1 -1
- metadata +1 -1
data/lib/dr/gitpackage.rb
CHANGED
@@ -180,14 +180,6 @@ module Dr
|
|
180
180
|
build_dir = "#{br}/#{build_dir_name}"
|
181
181
|
FileUtils.cp_r src_dir, build_dir
|
182
182
|
|
183
|
-
# Make orig tarball
|
184
|
-
files = Dir["#{build_dir}/*"].map { |f| "\"#{f}\"" }.join " "
|
185
|
-
log :info, "Creating orig source tarball"
|
186
|
-
tar = "tar cz -C #{build_dir} --exclude=debian " +
|
187
|
-
"-f #{br}/#{@name}_#{version.upstream}.orig.tar.gz " +
|
188
|
-
"#{files}"
|
189
|
-
ShellCmd.new tar, :tag => "tar"
|
190
|
-
|
191
183
|
apt = "sudo chroot #{br} apt-get update"
|
192
184
|
deps = <<-EOS
|
193
185
|
sudo chroot #{br} <<EOF
|
@@ -209,6 +201,14 @@ EOS
|
|
209
201
|
log :info, "Installing build dependencies"
|
210
202
|
ShellCmd.new deps, :tag => "mk-build-deps", :show_out => true
|
211
203
|
|
204
|
+
# Make orig tarball
|
205
|
+
files = Dir["#{build_dir}/*"].map { |f| "\"#{f}\"" }.join " "
|
206
|
+
log :info, "Creating orig source tarball"
|
207
|
+
tar = "tar cz -C #{build_dir} --exclude=debian " +
|
208
|
+
"-f #{br}/#{@name}_#{version.upstream}.orig.tar.gz " +
|
209
|
+
"#{files}"
|
210
|
+
ShellCmd.new tar, :tag => "tar"
|
211
|
+
|
212
212
|
log :info, "Building the package"
|
213
213
|
ShellCmd.new build, :tag => "debuild", :show_out => true
|
214
214
|
|
data/lib/dr/version.rb
CHANGED