Changeset 728 for trunk/technical/common/build
- Timestamp:
- Oct 9, 2008, 3:50:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/technical/common/build/svn_build_prepare.sh
r727 r728 50 50 cp -a "$1" ${BUILDTEMP}/src/${PACKAGE} 51 51 cd ${BUILDTEMP}/src/${PACKAGE}; rpm2cpio $1 | cpio -i 52 fi 52 fi 53 53 else 54 54 # uses Subversion (svn) to generate more information for the RPM … … 69 69 SVN_BUILD_RELEASE=${SVN_BUILD_RELEASE}p 70 70 REBUILD="yes" 71 else # check if RPM has been buil dalready71 else # check if RPM has been built already 72 72 # TODO: this check is broken for OpenSUSE build service, 73 73 # because version is changed later on … … 104 104 printf "done\n" 105 105 fi 106 # just make sure, that the Changes file exist 106 # just make sure, that the Changes file exists 107 107 touch Changes 108 108 … … 155 155 fi 156 156 157 if [ -d debian ]; then 158 debfiles="control rules" 159 LANG=C;export LANG 160 sed -e "s/^Version:.*/Version: $VERSION-1/ig" -e "/^Files:/,$ d" debian/${PACKAGE} >${BUILDTEMP}/src/${PACKAGE}/${PACKAGE}.dsc 161 (echo "Files: "; echo " 0 0 ${PACKAGE}-${VERSION}.tar.bz2"; echo " 0 0 ${PACKAGE}_${VERSION}-1.diff.gz") >>${BUILDTEMP}/src/${PACKAGE}/${PACKAGE}.dsc 162 (echo "${PACKAGE} (${VERSION}-1) unstable; urgency=low" 163 echo 164 echo " * generated from SVN revision ${SVN_BUILD_RELEASE}" 165 echo 166 echo -n " -- dass IT GmbH <info@dass-it.de> "; date +"%a, %e %b %Y %X %z" 167 echo 168 )>${BUILDTEMP}/src/${PACKAGE}/debian.changelog 169 170 for f in $debfiles 171 do 172 [ -r "$f" ] && cp "debian/$f" ${BUILDTEMP}/src/${PACKAGE}/debian.$f 173 done 174 fi 157 175 fi
Note:
See TracChangeset
for help on using the changeset viewer.