remove build dependence with python-support 96/245496/3 devel master sandbox/wangbiao/0.9.9
authorbiao716.wang <biao716.wang@samsung.com>
Sat, 10 Oct 2020 06:55:43 +0000 (15:55 +0900)
committerbiao716.wang <biao716.wang@samsung.com>
Mon, 12 Oct 2020 02:49:03 +0000 (11:49 +0900)
Change-Id: I74dccd6f698341c98ce7d2856d1186877d9a326a
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
Makefile
createrepo/Makefile
debian/control

index 6b907d8..3e69eba 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ PKGNAME = createrepo
 VERSION=$(shell awk '/Version:/ { print $$2 }' ${PKGNAME}.spec)
 RELEASE=$(shell awk '/Release:/ { print $$2 }' ${PKGNAME}.spec)
 CVSTAG=createrepo-$(subst .,_,$(VERSION)-$(RELEASE))
-PYTHON=python
+PYTHON=python2
 SUBDIRS = $(PKGNAME) bin docs
 PYFILES = $(wildcard *.py)
 
@@ -51,7 +51,7 @@ MODULES = $(srcdir)/genpkgmetadata.py \
 
 .SUFFIXES: .py .pyc
 .py.pyc: 
-       python -c "import py_compile; py_compile.compile($*.py)"
+       $(PYTHON) -c "import py_compile; py_compile.compile($*.py)"
 
 
 all: $(MODULES)
index d3d3a34..ce948ae 100644 (file)
@@ -1,4 +1,4 @@
-PYTHON=python
+PYTHON=python2
 PACKAGE = $(shell basename `pwd`)
 PYFILES = $(wildcard *.py)
 PYVER := $(shell $(PYTHON) -c 'import sys; print "%.3s" %(sys.version)')
index 0b3394d..22d9188 100644 (file)
@@ -3,7 +3,7 @@ Section: admin
 Priority: optional
 Maintainer: Adam Cécile (Le_Vert) <gandalf@le-vert.net>
 Build-Depends: debhelper (>= 5.0.37.2)
-Build-Depends-Indep: python-all-dev (>= 2.3.5-11), python-support (>= 0.5.3)
+Build-Depends-Indep: python-all-dev (>= 2.3.5-11), dh-python
 Standards-Version: 3.7.3
 Homepage: http://linux.duke.edu/projects/metadata/