/[soft]/mga-gnome/trunk/mga-gnome
ViewVC logotype

Diff of /mga-gnome/trunk/mga-gnome

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3012 by ovitters, Wed Feb 22 16:06:51 2012 UTC revision 3034 by ovitters, Wed Feb 22 20:47:36 2012 UTC
# Line 154  class SpecFile(object): Line 154  class SpecFile(object):
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    

Legend:
Removed from v.3012  
changed lines
  Added in v.3034

  ViewVC Help
Powered by ViewVC 1.1.30