Changeset 729 for trunk/technical/common/build/svn_build_prepare.sh
- Timestamp:
- Oct 9, 2008, 5:35:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/technical/common/build/svn_build_prepare.sh
r728 r729 13 13 # needs force parameter for tar.bz2 creation 14 14 15 # when building debian packages, which files from the "debian" 16 # directory are required (in addition to the package description 17 # and changelog) 18 debfiles="control rules" 19 15 20 BUILDUSER=$USER 16 21 [ -z $DEST_DIR ] && DEST_DIR="/tmp/build.$BUILDUSER" … … 155 160 fi 156 161 162 # if there is a directory named "debian", prepare the 163 # necessary files to build a debian package on OpenSUSE build service 164 157 165 if [ -d debian ]; then 158 debfiles="control rules" 159 LANG=C;export LANG166 LANG=C;export LANG 167 # replace version number in the description file 160 168 sed -e "s/^Version:.*/Version: $VERSION-1/ig" -e "/^Files:/,$ d" debian/${PACKAGE} >${BUILDTEMP}/src/${PACKAGE}/${PACKAGE}.dsc 169 # update the file list in the description file 161 170 (echo "Files: "; echo " 0 0 ${PACKAGE}-${VERSION}.tar.bz2"; echo " 0 0 ${PACKAGE}_${VERSION}-1.diff.gz") >>${BUILDTEMP}/src/${PACKAGE}/${PACKAGE}.dsc 171 # create a changelog file 162 172 (echo "${PACKAGE} (${VERSION}-1) unstable; urgency=low" 163 173 echo … … 167 177 echo 168 178 )>${BUILDTEMP}/src/${PACKAGE}/debian.changelog 169 179 # copy files from "debian" directory into the package directory, renaming 180 # them accordingly 170 181 for f in $debfiles 171 182 do
Note:
See TracChangeset
for help on using the changeset viewer.