diff options
Diffstat (limited to 'source/a/smartmontools/smartmontools.SlackBuild')
-rwxr-xr-x | source/a/smartmontools/smartmontools.SlackBuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/source/a/smartmontools/smartmontools.SlackBuild b/source/a/smartmontools/smartmontools.SlackBuild index 1113e40af..f962f2bb0 100755 --- a/source/a/smartmontools/smartmontools.SlackBuild +++ b/source/a/smartmontools/smartmontools.SlackBuild @@ -27,7 +27,7 @@ BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) export ARCH=i486 ;; + i?86) export ARCH=i586 ;; arm*) export ARCH=arm ;; # Unless $ARCH is already set, use uname -m for all other archs: *) export ARCH=$( uname -m ) ;; @@ -82,15 +82,18 @@ cat $CWD/slack-desc > $PKG/install/slack-desc # These have already been copyed, but it is nice to keep the original # timestamps if possible, so we will copy over: cp -a \ - AUTHORS CHANGELOG COPYING* INSTALL NEWS README* TODO WARNINGS \ + AUTHORS ChangeLog COPYING* INSTALL NEWS README* TODO WARNINGS \ $PKG/usr/doc/smartmontools-$VERSION -# If there's a CHANGELOG, installing at least part of the recent history +# Nope. +rm -f $PKG/usr/doc/smartmontools-$VERSION/ChangeLog-5.0-6.0 + +# If there's a ChangeLog, installing at least part of the recent history # is useful, but don't let it get totally out of control: -if [ -r CHANGELOG ]; then +if [ -r ChangeLog ]; then DOCSDIR=$(echo $PKG/usr/doc/*-$VERSION) - cat CHANGELOG | head -n 1000 > $DOCSDIR/CHANGELOG - touch -r CHANGELOG $DOCSDIR/CHANGELOG + cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog + touch -r ChangeLog $DOCSDIR/ChangeLog fi # Build the package: |