Skip to content

Commit

Permalink
Add a call to fedpkg sources.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Nov 21, 2014
1 parent 6dddc60 commit 645f5e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hotness/buildsys.py
Expand Up @@ -102,6 +102,10 @@ def handle(self, package, upstream, version, rhbz):
]
output = self.run(cmd)

# First, get all patches and other sources from dist-git
output = self.run(['fedpkg', 'sources'], cwd=tmp)

# Then go and get the *new* tarball from upstream.
# For these to work, it requires that rpmmacros be redefined to
# find source files in the tmp directory. See: http://da.gd/1MWt
output = self.run(['spectool', '-g', specfile], cwd=tmp)
Expand Down

0 comments on commit 645f5e7

Please sign in to comment.