Changeset 636 in MondoRescue for branches/stable/tools/svn2build
- Timestamp:
- Jun 7, 2006, 5:44:52 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/tools/svn2build
r596 r636 6 6 # 7 7 8 umask 0229 8 dname=`dirname $0` 10 9 prem=`echo $dname |cut -c1` … … 75 74 m4 /tmp/mondorescue.mc $inc $dest/distributions/rpm/$p.spec > $dest/distributions/${ddir}-$dver/$p.spec 76 75 77 if [ -f $dest/distributions/$ddir/changelog ]; then 78 log=$dest/distributions/$ddir/changelog 79 elif [ -f $dest/distributions/$dfam/changelog ]; then 80 log=$dest/distributions/$dfam/changelog 81 else 82 echo "Unable to build RPM changelog for this distro. Please report to authors" 76 $TOOLHOME/mkchangelog.pl $dtype $p $dest/distributions/${ddir}-$dver/$p.spec 77 if [ $? -ne 0 ]; then 78 echo "Unable to create changelog for ${ddir}-$dver/$p.spec" 83 79 exit -1 84 80 fi 85 81 86 echo "Using $log customization to build changelog file"87 82 ddate=`LANG=C ; date "+%a %b %d %Y"` 88 83 cat > $dest/distributions/${ddir}-$dver/$p.changelog.new << EOF … … 91 86 92 87 EOF 93 cat $log >> $dest/distributions/${ddir}-$dver/$p.changelog.new94 m4 /tmp/mondorescue.mc $dest/distributions/${ddir}-$dver/$p.changelog.new >> $dest/distributions/${ddir}-${dver}/$p.spec95 rm -f $dest/distributions/${ddir}-$dver/$p.changelog.new96 97 88 elif [ "$dtype" = "ebuild" ]; then 98 89 m4 /tmp/mondorescue.mc $dest/distributions/$dfam/$p.ebuild > $dest/distributions/${ddir}-$dver/$p-$v-r$TAG.ebuild
Note:
See TracChangeset
for help on using the changeset viewer.