154 |
print "ERROR: Increased version to %s, but RPM doesn't agree!?!" % version |
print "ERROR: Increased version to %s, but RPM doesn't agree!?!" % version |
155 |
return False |
return False |
156 |
|
|
157 |
# Download new tarball |
try: |
158 |
subprocess.check_call(['mgarepo', 'sync', '-d'], cwd=self.cwd) |
# Download new tarball |
159 |
# Check patches still apply |
subprocess.check_call(['mgarepo', 'sync', '-d'], cwd=self.cwd) |
160 |
subprocess.check_call(['bm', '-p', '--nodeps'], cwd=self.cwd) |
# Check patches still apply |
161 |
|
subprocess.check_call(['bm', '-p', '--nodeps'], cwd=self.cwd) |
162 |
|
except subprocess.CalledProcessError: |
163 |
|
return False |
164 |
|
|
165 |
return True |
return True |
166 |
|
|