1- ### RPM external bootstrap-driver 40 .0
1+ ### RPM external bootstrap-driver 42 .0
22## NOCOMPILER
33Requires: rpm
44BuildRequires: cms-common fakesystem
@@ -9,50 +9,66 @@ BuildRequires: cms-common fakesystem
99%build
1010%install
1111packageList=" "
12- echo requiredtools ` echo %{requiredtools} | sed -e' s|\s+| |;s|^\s+||' `
13- for tool in ` echo %{requiredtools} | sed -e' s|\s+| |;s|^\s+||' `
14- do
15- case X$tool in
16- Xdistcc|Xccache )
17- ;;
18- * )
19- toolcap=` echo $tool | tr a-z- A-Z_`
20- toolversion=$( eval echo $` echo ${toolcap} _VERSION` )
21- toolrevision=$( eval echo $` echo ${toolcap} _REVISION` )
22- echo $toolversion $toolrevision
23- packageList=" $packageList external+${tool} +${toolversion} -1-${toolrevision} .%cmsplatf.rpm"
24- ;;
25- esac
12+ for tool in $( echo %{directpkgreqs} | tr ' /' ' +' ) ; do
13+ packageList=" $packageList ${tool} -1-1.%{cmsplatf}.rpm"
2614done
2715
2816additionalProvides= ""
2917##############################
3018# Packages to seed for runtime
3119##############################
32- platformSeeds= "bash tcsh perl bzip2-libs glibc nspr nss nss-util popt zlib glibc-devel openssl openssl-devel openssl-libs krb5-libs
33- libcom_err libX11 libXext libXft libXpm libglvnd-glx libglvnd-opengl mesa-libGLU"
20+ platformSeeds= " bash glibc glibc-headers openssl-libs"
21+ platformSeeds+= " libX11 libxcrypt"
22+
3423# Needed by python runtime
3524platformSeeds+= " readline ncurses-libs tcl tk"
25+
26+ # Needed by root runtime
27+ platformSeeds+= " mesa-libGLU libglvnd-glx libglvnd-opengl libXext libXft libXpm"
28+
29+ #Various packages perl dependencies
30+ platformSeeds+= " perl perl-libs"
31+ %if "%{rhel }" == "9"
32+ platformSeeds+= " libbrotli python3"
33+ platformSeeds+= " perl-base perl-lib perl-filetest perl-overload perl-vars"
34+ %endif
35+
36+ #Various packages required by xrootd with krb5 enabled
37+ platformSeeds+= " libcom_err krb5-libs"
38+
3639# Seed packages which provides these
37- packagesWithProvides= "/usr/bin/python3 /usr/bin/perl /usr/bin/env / usr/bin/uname "
40+ packagesWithProvides= " /usr/bin/python3 /usr/bin/env /usr/bin/uname /bin/sh / usr/bin/perl "
3841
3942##############################
4043#Packages to seed for build
4144##############################
42- platformBuildSeeds= "git patch make zip unzip bzip2 java-1.8.0-openjdk-devel libcom_err-devel which libXpm-devel libXft-devel mesa-libGLU-devel rsync"
43- #Needed by autotools,go and lcov
44- #platformBuildSeeds+=" perl-Carp perl-Data-Dumper perl-Digest-MD5 perl-Exporter perl-File-Path perl-File-Temp perl-Getopt-Long perl-PathTools perl-Text-ParseWords perl-constant"
45+ platformBuildSeeds= " git patch make zip unzip bzip2 which rsync"
46+ platformBuildSeeds+= " openssl-devel libxcrypt-devel"
47+ platformBuildSeeds+= " libX11 -devel libXpm-devel libXft-devel mesa-libGLU-devel"
48+ platformBuildSeeds+= " java-1.8.0-openjdk-devel"
49+
50+ %if "%{rhel }" == "9"
51+ platformBuildSeeds+= " brotli-devel"
52+ %endif
53+
54+ #Various packages required by xrootd with krb5 enabled
55+ platformBuildSeeds+= " libcom_err-devel krb5-devel"
56+
4557#needed by python build
4658platformBuildSeeds+= " readline-devel ncurses-devel tcl-devel tk-devel"
59+
60+ ##############################
61+ #Packages which provides a definition
62+ ##############################
4763packagesWithBuildProvides= ""
4864
4965%ifnarch aarch64
5066# Needed by oracle
5167platformSeeds+= " libaio"
5268%endif
5369
54- %if "%{rhel }" != "7 "
55- platformSeeds+= " libxcrypt perl-libs "
70+ %if "%{rhel }" == "9 "
71+ platformSeeds+= " libgcc "
5672%endif
5773
5874platformSeeds+= " %{?rhel:libgcc }"
0 commit comments