Added new files to packages, made RPM script auto-generate its file list
This commit is contained in:
committed by
Paul Chote
parent
8f58e41304
commit
52854c77c2
@@ -10,6 +10,13 @@ PKGVERSION=`echo $1 | sed "s/-/\\./g"`
|
||||
sed -i "s/{VERSION_FIELD}/$PKGVERSION/" openra.spec
|
||||
rootdir=`readlink -f $2`
|
||||
sed -i "s|{ROOT_DIR}|$rootdir|" openra.spec
|
||||
|
||||
for x in `find $rootdir -type f`
|
||||
do
|
||||
y="/${x#$rootdir}"
|
||||
sed -i "/%files/ a $y" openra.spec
|
||||
done
|
||||
|
||||
cp openra.spec "$3/SPECS/"
|
||||
|
||||
cd "$3"
|
||||
|
||||
Reference in New Issue
Block a user