Continue working on making a spec file
1. Add a new changelog 'generator' for rpm spec files to use 2. Get spec file generation working! 3. Add verify that checks if setup.py exists
This commit is contained in:
		@@ -210,7 +210,7 @@ def hostname():
 | 
			
		||||
    try:
 | 
			
		||||
        return socket.gethostname()
 | 
			
		||||
    except socket.error:
 | 
			
		||||
        return None
 | 
			
		||||
        return 'localhost'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def isuseable(path, options=os.W_OK | os.R_OK | os.X_OK):
 | 
			
		||||
@@ -641,6 +641,13 @@ def copy(src, dst):
 | 
			
		||||
    return dst
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def copytree(src, dst):
 | 
			
		||||
    LOG.debug("Copying full tree: %r => %r" % (src, dst))
 | 
			
		||||
    if not is_dry_run():
 | 
			
		||||
        shutil.copytree(src, dst)
 | 
			
		||||
    return dst
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def move(src, dst):
 | 
			
		||||
    LOG.debug("Moving: %r => %r" % (src, dst))
 | 
			
		||||
    if not is_dry_run():
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user