diff options
author | François Andriot <albator78@libertysurf.fr> | 2021-05-02 13:35:44 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2021-05-02 13:35:44 +0200 |
commit | e651e47a9f147b023567fe8a98fd638e481f9872 (patch) | |
tree | 7f9cebc524b6a0a4f0735e03eaa7fce8d4a28543 | |
parent | 990ec4c1253d7867d3efd9ad98b7fd2a8bbf0006 (diff) | |
download | tde-packaging-e651e47a9f147b023567fe8a98fd638e481f9872.tar.gz tde-packaging-e651e47a9f147b023567fe8a98fd638e481f9872.zip |
RPM: update build scripts for opensuse TW
-rw-r--r-- | redhat/Makefile | 2 | ||||
-rw-r--r-- | redhat/docker/osstw/Dockerfile.i686 | 3 | ||||
-rw-r--r-- | redhat/docker/osstw/Dockerfile.x86_64 | 9 | ||||
-rw-r--r-- | redhat/docker/osstw/packages | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/redhat/Makefile b/redhat/Makefile index 360583fa8..e1605066f 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -368,7 +368,7 @@ kkbswitch: tdebase klamav: tdebase # Requires clamav >= 0.101.0 -ifeq (,$(filter $(DIST), .el5 .el6 .mga6)) +ifeq (,$(filter $(DIST), .el5 .el6 .mga6)) $(call buildpkg,applications/klamav) endif diff --git a/redhat/docker/osstw/Dockerfile.i686 b/redhat/docker/osstw/Dockerfile.i686 index 56a4286c5..2ba255565 100644 --- a/redhat/docker/osstw/Dockerfile.i686 +++ b/redhat/docker/osstw/Dockerfile.i686 @@ -7,7 +7,6 @@ ARG ARCH=i686 COPY packages /packages RUN zypper ar -f -G -n packman http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ packman \ && zypper ar -f -G -n gnome http://ftp.lysator.liu.se/pub/opensuse/repositories/GNOME:/Next/openSUSE_Factory gnome \ - && setarch ${ARCH} zypper refresh \ && setarch ${ARCH} zypper -n refresh \ && setarch ${ARCH} zypper -n dup \ && setarch ${ARCH} zypper -n update \ @@ -18,7 +17,7 @@ RUN useradd -m -s /bin/bash -u 1000 trinity \ && echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers USER trinity -ADD rpmmacros /home/trinity/.rpmmacros +COPY rpmmacros /home/trinity/.rpmmacros # Add YUM repository for locally built packages RUN mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} \ diff --git a/redhat/docker/osstw/Dockerfile.x86_64 b/redhat/docker/osstw/Dockerfile.x86_64 index 34b3b6d9f..e69c02087 100644 --- a/redhat/docker/osstw/Dockerfile.x86_64 +++ b/redhat/docker/osstw/Dockerfile.x86_64 @@ -4,9 +4,10 @@ ARG TDE_VERSION=14.0.10 ARG ARCH=x86_64 # Add PACKMAN repository -RUN zypper ar -f -G -n packman http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ packman -ADD packages /packages -RUN zypper refresh \ +COPY packages /packages +RUN zypper ar -f -G -n packman http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ packman \ + && zypper -n refresh \ + && zypper -n install busybox perl shadow \ && zypper -n dup \ && zypper -n update \ && zypper -n install $(</packages) @@ -16,7 +17,7 @@ RUN useradd -m -s /bin/bash -u 1000 trinity \ && echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers USER trinity -ADD rpmmacros /home/trinity/.rpmmacros +COPY rpmmacros /home/trinity/.rpmmacros # Add YUM repository for locally built packages RUN mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} \ diff --git a/redhat/docker/osstw/packages b/redhat/docker/osstw/packages index 2f103ee95..623129a61 100644 --- a/redhat/docker/osstw/packages +++ b/redhat/docker/osstw/packages @@ -4,7 +4,6 @@ aspell-devel audiofile-devel automake bdftopcf -bind-devel binutils-devel bison bluez-devel @@ -17,6 +16,7 @@ cdparanoia-devel chmlib-devel chrpath clamav +clamav-devel cln-devel clucene-core-devel cmake |