Few more changes to rpm.
This commit is contained in:
@@ -21,10 +21,11 @@ cp openra.spec openra$ARCH.spec
|
||||
sed -i "s/{VERSION_FIELD}/$PKGVERSION/" openra$ARCH.spec
|
||||
rootdir=`readlink -f $2`
|
||||
sed -i "s|{ROOT_DIR}|$rootdir|" openra$ARCH.spec
|
||||
sed -i "s/{ARCH}/$ARCH/" openra$ARCH.spec
|
||||
|
||||
for x in `find $rootdir -type f`
|
||||
do
|
||||
y="/${x#$rootdir}"
|
||||
y="${x#$rootdir}"
|
||||
sed -i "/%files/ a $y" openra$ARCH.spec
|
||||
done
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ Packager: Matthew Bowra-Dean <matthew@ijw.co.nz>
|
||||
Requires: mono-core mono-devel SDL openal mesa-dri-drivers-experimental gtk2 webkitgtk
|
||||
Prefix: /usr
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
Buildroot: /tmp/openra
|
||||
Buildroot: /tmp/openra{ARCH}
|
||||
|
||||
%description
|
||||
A multiplayer reimplementation of the Command & Conquer: Red Alert game
|
||||
|
||||
Reference in New Issue
Block a user