RPM packaging: update build scripts

pull/3/head
François Andriot 7 years ago
parent 5475bd3f14
commit 3505b71195

@ -623,7 +623,7 @@ ksquirrel: tdebase libkipi libksquirrel
$(call buildpkg,applications/ksquirrel)
kstreamripper: tdebase
# Do NOT build on Fedora >= 27 (problem with scons and python3)
# Do NOT build on Fedora 27, OpenSUSE >= 15.0 (problem with scons and python3)
ifeq (,$(filter $(DIST),.fc27 .oss150))
$(call buildpkg,applications/kstreamripper)
endif
@ -853,7 +853,7 @@ mathemagics:
$(call buildpkg,extras/mathemagics)
pan: gmime intltool
ifeq (,$(filter $(DIST),.el5))
ifeq (,$(filter $(DIST),.el5 .oss150))
$(call buildpkg,3rdparty/pan)
endif

@ -16,7 +16,7 @@ REPO="centos-${VERSION}"
# Installation minimale de la distribution
rm -rf "${INSTALLROOT}"
install -m 644 "${DIR}/${REPO}.repo" "/etc/yum.repos.d"
yum install --disablerepo="*" --enablerepo="${REPO}*" --nogpgcheck -y --installroot "${INSTALLROOT}" libselinux yum
yum install --disablerepo="*" --enablerepo="${REPO}*" --nogpgcheck --releasever="${VERSION}" -y --installroot "${INSTALLROOT}" libselinux yum yum-plugin-ovl
rm -f "/etc/yum.repos.d/${REPO}.repo"
touch "${INSTALLROOT}/etc/fstab" "${INSTALLROOT}/etc/mtab"

@ -3,3 +3,4 @@ perl
setarch
vim-enhanced
yum
yum-plugin-ovl

@ -3,3 +3,4 @@ perl
setarch
vim-enhanced
yum
yum-plugin-ovl

@ -4,15 +4,15 @@ ARG TDE_VERSION=14.0.4
ARG ARCH=x86_64
# Add EPEL repository
RUN rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-10.noarch.rpm
RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm
# Add NUX repository
RUN rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
# Install Trinity build dependencies
ADD packages /etc/yum.repos.d/packages
ADD packages /packages
RUN yum update -y
RUN yum install -y $(</etc/yum.repos.d/packages)
RUN yum install -y $(</packages)
# Add YUM repository for locally built packages
ADD rpmbuild.repo /etc/yum.repos.d/rpmbuild.repo

@ -71,6 +71,7 @@ java-devel
java-openjdk
kernel
lame-devel
lcms-devel
libacl-devel
libarchive-devel
libart_lgpl-devel
@ -127,6 +128,7 @@ libXtst-devel
libXv-devel
libXxf86dga-devel
libXxf86vm-devel
libusb-devel
lirc-devel
lm_sensors-devel
meanwhile-devel
@ -194,3 +196,4 @@ xscreensaver-gl-base
xscreensaver-gl-extras
xulrunner-devel
xz-devel
yum-plugin-ovl

Loading…
Cancel
Save