1 |
< |
### RPM external bootstrap-driver 1.0 |
2 |
< |
Source: bootstrap |
3 |
< |
Requires: apt zlib expat openssl beecrypt bz2lib db4 elfutils neon libxml2 rpm |
1 |
> |
### RPM external bootstrap-driver 19.0c |
2 |
> |
Source: bootstrap |
3 |
> |
Requires: apt zlib expat openssl beecrypt bz2lib db4 elfutils neon libxml2 rpm |
4 |
> |
#danger! cms-common version is now hardwired below (and in bootstrap.file) |
5 |
|
|
6 |
|
%prep |
7 |
|
%build |
25 |
|
|
26 |
|
|
27 |
|
case %cmsplatf in |
28 |
< |
slc*online* ) |
28 |
> |
slc*onl* ) |
29 |
|
platformSeeds="glibc coreutils bash tcsh zsh pdksh perl tcl |
30 |
|
readline openssl ncurses |
31 |
|
e2fsprogs krb5-libs freetype fontconfig |
79 |
|
# Fedora |
80 |
|
unsupportedSeeds="$unsupportedSeeds libX11 libXmu libSM libICE libXcursor |
81 |
|
libXext libXrandr libXft mesa-libGLU mesa-libGL e2fsprogs-libs libXi libXinerama |
82 |
< |
libXft libXrender libXpm" |
82 |
> |
libXft libXrender libXpm ncurses-libs" |
83 |
|
|
84 |
|
# Case statement for additional provides. |
85 |
|
case %cmsplatf in |
95 |
|
libkrb5.so.3 libssl.so.4 /bin/csh /bin/tcsh libreadline.so.4 |
96 |
|
libtcl8.4.so libtk8.4.so" |
97 |
|
|
98 |
+ |
defaultPkgs="cms+cms-common+1.0" |
99 |
+ |
|
100 |
|
mkdir -p %{i}/etc/profile.d |
101 |
|
(echo "instroot=%{instroot}"; \ |
102 |
|
echo "rpm_version=$RPM_VERSION"; \ |
106 |
|
echo "packageList=\"`echo $packageList`\""; \ |
107 |
|
echo "additionalProvides=\"$additionalProvides\""; \ |
108 |
|
echo "unsupportedProvides=\"$unsupportedProvides\""; \ |
109 |
+ |
echo "defaultPkgs=\"$defaultPkgs\""; \ |
110 |
|
) > %{i}/%{cmsplatf}-driver.txt |
111 |
+ |
# FIXME: Hack to make sure that the cms-common package is named correctly in the driver file. |
112 |
+ |
# We should make sure that the $PACKAGE_CATEGORY variable is used (requires changes to cmsBuild.sh which |
113 |
+ |
# I don't want to do at this point. |
114 |
+ |
perl -p -i -e 's|external[+]cms-common|cms+cms-common|g' %{i}/%{cmsplatf}-driver.txt |