Permalink
Browse files

remove the SRPM from pkg even when building --single

the SRPM is still in the subdir
  • Loading branch information...
1 parent a324af2 commit 4b6d2356e33adcd7d5b84e3bb05078b22a21bd8d @erikogan erikogan committed Dec 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 rpm/release/build.rb
View
@@ -245,7 +245,7 @@ def noisy_system(*args)
if options.key?(:extra_packages)
FileUtils.cp(Dir["#{options[:extra_packages]}/*.rpm"], idir, :verbose => @verbosity > 0)
end
- FileUtils.rm_f(Dir["#{idir}/*.src.rpm"], :verbose => @verbosity > 1) unless options.key?(:single)
+ FileUtils.rm_f(Dir["#{idir}/*.src.rpm"], :verbose => @verbosity > 1)
end
unless options.key?(:single)

0 comments on commit 4b6d235

Please sign in to comment.