Permalink
Browse files

Add the extra packages to the package:rpm target

...so that the rpm/pkg directory contains a complete list of everything you might need when the target is done.
  • Loading branch information...
1 parent 4b6d235 commit 9bc9cd89fa0a27b177f4eb1d1b66f195b36a5810 @erikogan erikogan committed Dec 4, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 build/rpm.rb
View
@@ -54,7 +54,7 @@ def fetch(dir)
download("http://sysoev.ru/nginx/#{tarball}", "#{dir}/#{tarball}")
end
end
-
+
result = noisy_system('./rpm/release/mocksetup-first.sh', *args)
if !result
# exit status 4 means that the user needs to relogin.
@@ -72,7 +72,7 @@ def fetch(dir)
test_setup
create_tarball(@verbosity)
# Add a single -v for some feedback
- noisy_system(*(%w{./rpm/release/build.rb --single --stage-dir=pkg} + @build_verbosity))
+ noisy_system(*(%w{./rpm/release/build.rb --single --stage-dir=pkg --extra-packages=release/mock-repo} + @build_verbosity))
end
desc "Build a Yum repository for the current release"

0 comments on commit 9bc9cd8

Please sign in to comment.