Group :: Text tools
RPM: logtop
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: rm-python2-from-makefile.patch
Download
Download
From 68805d2ff7c19c74537a0a6764fea5303f85f08e Mon Sep 17 00:00:00 2001
From: Andrey Bychkov <mrdrew@altlinux.org>
Date: Thu, 31 Oct 2019 17:34:15 +0300
Subject: [PATCH] rm python2 from makefile
---
Makefile | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index da9d19c..244fdfd 100644
--- a/Makefile
+++ b/Makefile
@@ -44,20 +44,15 @@ install: $(NAME)
install -m755 $(NAME) $(DESTDIR)/usr/bin/
mkdir -p $(DESTDIR)/usr/lib${LIB_SUFFIX}
install -m644 $(LINKERNAME) $(DESTDIR)/usr/lib${LIB_SUFFIX}/
- python ./setup.py install --root=$(DESTDIR)
python3 ./setup.py install --root=$(DESTDIR)
mkdir -p $(DESTDIR)/usr/share/man/man1
install -m644 doc/*.1 $(DESTDIR)/usr/share/man/man1/
-python-module:
- swig -python *.i
- python ./setup.py build_ext
-
python3-module:
swig -python -py3 *.i
python3 ./setup.py build_ext
-all: python-module python3-module
+all: python3-module
@make $(NAME)
@make lib$(NAME)
--
2.21.0