lib/cany/dpkg/deb_helper_recipe.rb in cany-0.4.0 vs lib/cany/dpkg/deb_helper_recipe.rb in cany-0.5.0
- old
+ new
@@ -19,10 +19,15 @@
depend '${misc:Depends}'
depend creator.ruby_deb, situation: [:build, :runtime]
depend creator.ruby_deb + '-dev', situation: :build
end
+ def prepare
+ instance_eval &spec.prepare if spec.prepare
+ end
+
def clean
+ instance_eval &spec.clean if spec.clean
exec %w(dh clean)
end
def build
instance_eval &spec.build if spec.build