fixed directories with root rights in rpm build
This commit is contained in:
		
							
								
								
									
										19
									
								
								ChangeLog
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								ChangeLog
									
									
									
									
									
								
							@@ -1,3 +1,22 @@
 | 
				
			|||||||
 | 
					2017-03-19 23:44  
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* [r467] build-in-docker.sh:
 | 
				
			||||||
 | 
						  typo fixed
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					2017-03-19 18:59  
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* [r466] ax_init_standard_project.m4, bootstrap.sh,
 | 
				
			||||||
 | 
						  build-in-docker.conf, build-in-docker.sh, configure.ac,
 | 
				
			||||||
 | 
						  debian/control.in, mrw-c++.spec.in, resolve-debbuilddeps.sh,
 | 
				
			||||||
 | 
						  resolve-rpmbuilddeps.sh, rpmsign.exp[ADD]:
 | 
				
			||||||
 | 
						  tested all rpm builds
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					2017-03-17 17:14  
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* [r465] ChangeLog, ax_init_standard_project.m4, bootstrap.sh,
 | 
				
			||||||
 | 
						  build-in-docker.sh, resolve-debbuilddeps.sh:
 | 
				
			||||||
 | 
						  improved windozw build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2016-12-12 14:12  
 | 
					2016-12-12 14:12  
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* [r464] ChangeLog, bootstrap.sh, build-in-docker.sh,
 | 
						* [r464] ChangeLog, bootstrap.sh, build-in-docker.sh,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,6 +16,12 @@ PACKAGE_NAME=$(sed -n 's/^ *m4_define(x_package_name, \(.*\)).*/\1/p' configure.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
TRAP_CMD=
 | 
					TRAP_CMD=
 | 
				
			||||||
DEPS=
 | 
					DEPS=
 | 
				
			||||||
 | 
					for f in BUILD BUILDROOT RPMS SPECS SRPMS; do
 | 
				
			||||||
 | 
					  if ! test -d $f; then
 | 
				
			||||||
 | 
					      TRAP_CMD+="rm -rf $f;"
 | 
				
			||||||
 | 
					      mkdir $f
 | 
				
			||||||
 | 
					  fi
 | 
				
			||||||
 | 
					done
 | 
				
			||||||
if test -e ${PACKAGE_NAME}.spec.in -a ! -e ${PACKAGE_NAME}.spec; then
 | 
					if test -e ${PACKAGE_NAME}.spec.in -a ! -e ${PACKAGE_NAME}.spec; then
 | 
				
			||||||
    for f in $(sed -n 's, *AX_\(RPM\|ALL\)_DEPEND_IFEXISTS(\([^)]*\)).*,\2,p' configure.ac); do
 | 
					    for f in $(sed -n 's, *AX_\(RPM\|ALL\)_DEPEND_IFEXISTS(\([^)]*\)).*,\2,p' configure.ac); do
 | 
				
			||||||
        if (test -x /usr/bin/zypper && zypper search -x "$f" 1>&2 > /dev/null) || \
 | 
					        if (test -x /usr/bin/zypper && zypper search -x "$f" 1>&2 > /dev/null) || \
 | 
				
			||||||
@@ -64,4 +70,5 @@ else
 | 
				
			|||||||
    fi
 | 
					    fi
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "**** Success: All Dependencies Resolved"
 | 
					echo "**** Success: All Dependencies Resolved"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user