From 790fc68b1b6bd5a3a0a1dc4b681352b128826b58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 16 Mar 2014 13:02:28 +0100 Subject: [PATCH] RPM packaging: update build scripts --- redhat/build/Makefile.r14 | 8 ++++---- redhat/build/install_rpm_package.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/redhat/build/Makefile.r14 b/redhat/build/Makefile.r14 index ab3047a92..281f96906 100644 --- a/redhat/build/Makefile.r14 +++ b/redhat/build/Makefile.r14 @@ -183,8 +183,8 @@ ifneq ($(wildcard /boot/vmlinuz*.el5*),) endif sword: -# Build on Fedora >= 20 only -ifneq ($(wildcard /boot/vmlinuz*.fc20*),) +# Build on Fedora >= 20 only, or PCLinuxOS +ifneq ($(wildcard /boot/vmlinuz*.fc20* /etc/pclinuxos-release),) $(call buildpkg,3rdparty/sword) endif @@ -192,8 +192,8 @@ torsocks: $(call buildpkg,3rdparty/torsocks) wv2: -# Do NOT build on Mageia or openSUSE -ifeq ($(wildcard /etc/mageia-release /etc/SuSE-release),) +# Do NOT build on Mageia or openSUSE or PCLINUXOS +ifeq ($(wildcard /etc/mageia-release /etc/SuSE-release /etc/pclinuxos-release),) $(call buildpkg,3rdparty/wv2) endif diff --git a/redhat/build/install_rpm_package.sh b/redhat/build/install_rpm_package.sh index 19e2d4c4e..dfaf46e17 100755 --- a/redhat/build/install_rpm_package.sh +++ b/redhat/build/install_rpm_package.sh @@ -25,7 +25,7 @@ case "${PKGNAME}" in "koffice") PKGNAME="${PKGNAME}-suite";; esac -# Trinity Prefix, or not. +# Use the Trinity Prefix, or not. case "${PKGNAME}" in "trinity-"*|"qt3"|"python-qt3"|"esound") PREFIX="";; "gnuchess"|"imlib1"|"lilypond"|"mftrace"|"pcsc-perl"|"torsocks"|"wv2") PREFIX="";;