dr 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/dr/gitpackage.rb +8 -8
  2. data/lib/dr/version.rb +1 -1
  3. metadata +1 -1
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Dr
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: