From 825e923cbedabcb4416868e5d707667bcf225155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Thu, 15 Jun 2017 06:54:58 +0000 Subject: [PATCH] fix fedora / centos build --- COPYING | 2 +- INSTALL | 2 +- ax_init_standard_project.m4 | 26 ++++++++++++++++++++++++++ bootstrap.sh | 7 +++++-- build-in-docker.conf | 5 ++++- build-in-docker.sh | 8 +++++++- libpcscxx.spec.in | 2 +- 7 files changed, 45 insertions(+), 7 deletions(-) diff --git a/COPYING b/COPYING index caeca07..2fcb217 120000 --- a/COPYING +++ b/COPYING @@ -1 +1 @@ -/usr/share/automake-1.14/COPYING \ No newline at end of file +/usr/share/automake-1.13/COPYING \ No newline at end of file diff --git a/INSTALL b/INSTALL index f812f5a..8b641e3 120000 --- a/INSTALL +++ b/INSTALL @@ -1 +1 @@ -/usr/share/automake-1.14/INSTALL \ No newline at end of file +/usr/share/automake-1.13/INSTALL \ No newline at end of file diff --git a/ax_init_standard_project.m4 b/ax_init_standard_project.m4 index 9fdb16c..bbbd850 100644 --- a/ax_init_standard_project.m4 +++ b/ax_init_standard_project.m4 @@ -456,6 +456,12 @@ AC_DEFUN([AX_USE_NODEJS], [ [${PATH}${PATH_SEPARATOR}${ANDROID_HOME}/tools]) AC_CONFIG_FILES([nodejs/package.json]) AC_CONFIG_FILES([nodejs/makefile]) + if test -z "${DEB_SECTION}"; then + AX_DEB_SECTION([web]) + fi + if test -z "${RPM_GROUP}"; then + AX_RPM_GROUP([Applications/Internet]) + fi AX_ADD_MAKEFILE_TARGET_DEP([maintainer-clean-am], [maintainer-clean-nodejs-targets], [nodejs/makefile.in]) test -f nodejs/makefile.in && cat >> nodejs/makefile.in <> html/makefile.in <&2 @@ -300,6 +300,12 @@ EOF ifthenelse "${repo}" "${INSTALL_REPO} 'ARG'" ((++i)) done + for package in "${packages[@]}"; do + ifthenelse "${package}" "${INSTALL_TOOL} ARG" + done + for command in "${commands[@]}"; do + ifthenelse "${command}" "ARG" + done docker exec ${DOCKER_ID} ./resolve-rpmbuilddeps.sh ;; esac diff --git a/libpcscxx.spec.in b/libpcscxx.spec.in index aee9bd2..9e524b8 100644 --- a/libpcscxx.spec.in +++ b/libpcscxx.spec.in @@ -13,7 +13,7 @@ BuildRequires: which, pkgconfig, gnupg, expect, subversion, make, automake, auto %if 0%{?suse_version} || 0%{?sles_version} BuildRequires: lsb-release, libqt5-qtbase-devel, libqt5-qttools, libQt5WebKit5-devel %else -BuildRequires: qt5-qtbase-devel, qt5-qttools-devel, qtwebkit-devel +BuildRequires: qt5-qtbase-devel, qt5-qttools-devel, qt5-qtwebkit-devel %if 0%{?mageia} BuildRequires: rpm-sign, lsb-release %else