ICAClient.sh 420 Bytes
Newer Older
Andrey Cherepanov's avatar
Andrey Cherepanov committed
1 2 3 4 5 6 7 8 9 10
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"

# Fix macro in file list
subst 's|%_h32bit|%%_h32bit|g' $SPEC

# Remove unmets
subst '1i%filter_from_requires /\\(SUNWut\\|LIBJPEG_6.2\\|kdelibs\\|killproc\\|start_daemon\\)/d' $SPEC
11 12
subst '1i%filter_from_requires /^libc.so.6(GLIBC_PRIVATE).*/d' $SPEC

Andrey Cherepanov's avatar
Andrey Cherepanov committed
13 14

# Add requires of lsb-init for init script
Vitaly Lipatov's avatar
Vitaly Lipatov committed
15
subst '/Group/Requires: lsb-init' $SPEC