Skip to content

Commit

Permalink
fix: [rpm] make 'python setup.py srpm' works
Browse files Browse the repository at this point in the history
  • Loading branch information
ssato committed Feb 10, 2018
1 parent cb78292 commit 47c4973
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ def finalize_options(self):
def run(self):
self.pre_sdist()
self.run_command('sdist')
# Dirty hack.
self.copy_file("dist/%s-%s.tar.gz" % (PACKAGE, VERSION),
"dist/RELEASE_%s.tar.gz" % VERSION)
self.build_rpm()

def pre_sdist(self):
Expand Down

0 comments on commit 47c4973

Please sign in to comment.