fixed directories with root rights in rpm build

master
Marc Wäckerlin 8 years ago
parent d4f73299a6
commit c901c00ba1
  1. 19
      ChangeLog
  2. 7
      resolve-rpmbuilddeps.sh

@ -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
* [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=
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
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) || \
@ -64,4 +70,5 @@ else
fi
fi
echo "**** Success: All Dependencies Resolved"

Loading…
Cancel
Save