summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 18:15:11 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:58 +0700
commit160749176abd9254d586aad2ea54b6ad2d84f454 (patch)
tree2b77d53a5dea4068d4a9d4c15dfd1fe8638c898b
parentf0210b0cce4e739336b61d514481c4e0658ea3ba (diff)
downloadslackbuilds-160749176abd9254d586aad2ea54b6ad2d84f454.tar.gz
python/python-pyspf: Fix REQUIRES for python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python-pyspf/python-pyspf.SlackBuild6
-rw-r--r--python/python-pyspf/python-pyspf.info2
2 files changed, 4 insertions, 4 deletions
diff --git a/python/python-pyspf/python-pyspf.SlackBuild b/python/python-pyspf/python-pyspf.SlackBuild
index 2679dbe642..942d854a78 100644
--- a/python/python-pyspf/python-pyspf.SlackBuild
+++ b/python/python-pyspf/python-pyspf.SlackBuild
@@ -31,7 +31,7 @@ ORIGNAM=$(echo $PRGNAM | cut -f2 -d-)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/python/python-pyspf/python-pyspf.info b/python/python-pyspf/python-pyspf.info
index 1a80991d56..3b545bf0d5 100644
--- a/python/python-pyspf/python-pyspf.info
+++ b/python/python-pyspf/python-pyspf.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://downloads.sourceforge.net/pymilter/pyspf-2.0.5.tar.gz"
MD5SUM="7e3f53362e3ad52ec8a496445085a34f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-pydns"
+REQUIRES="python2-pydns"
MAINTAINER="Steven King"
EMAIL="kingrst@gmail.com"