Changeset 761 for trunk/dassbuild/usr/bin
- Timestamp:
- Jun 12, 2009, 6:04:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dassbuild/usr/bin/dassbuild_prepare.sh
r753 r761 122 122 svn log -v . > ChangeLog.new && mv ChangeLog.new ChangeLog 123 123 cat ChangeLog >> Changes 124 124 125 125 printf "done\n" 126 126 fi … … 132 132 if [ -r "SOURCES" ]; then 133 133 # create a tar file from the sources 134 SOURCE_ARCHIVE="$ PACKAGE-$VERSION.orig.tar.gz"134 SOURCE_ARCHIVE="${PACKAGE}_${VERSION}.orig.tar.gz" 135 135 printf "creating $SOURCE_ARCHIVE: " 136 136 … … 158 158 fi 159 159 160 160 # copy orig SPEC-file (may be modified later) 161 cp -a $SPECFILE ${BUILDTEMP}/src/${PACKAGE} 162 161 163 echo $SVN_BUILD_RELEASE 162 164 if [ "$SVN_BUILD_RELEASE" ]; then … … 165 167 #sed "s/^Release:.*/Release: $SVN_BUILD_RELEASE/ig" $SPECFILE > ${BUILDTEMP}/src/${PACKAGE}/$SPECFILE 166 168 #sed -r "s/^(Version:\s*\S*)/\1.$SVN_BUILD_RELEASE/ig" $SPECFILE > ${BUILDTEMP}/src/${PACKAGE}/$SPECFILE 167 sed "s/^Version:.*/Version: $VERSION/ig" $SPECFILE > ${BUILDTEMP}/src/${PACKAGE}/$SPECFILE 168 else 169 cp -a $SPECFILE ${BUILDTEMP}/src/${PACKAGE} 169 sed -i "s/^Version:.*/Version: $VERSION/ig" ${BUILDTEMP}/src/${PACKAGE}/$SPECFILE 170 fi 171 172 if [ "$SOURCE_ARCHIVE" ]; then 173 sed -i "s/^Source:.*/Source: $SOURCE_ARCHIVE/ig" ${BUILDTEMP}/src/${PACKAGE}/$SPECFILE 170 174 fi 171 175
Note:
See TracChangeset
for help on using the changeset viewer.