Change-Id: I74dccd6f698341c98ce7d2856d1186877d9a326a
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
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)
.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)
-PYTHON=python
+PYTHON=python2
PACKAGE = $(shell basename `pwd`)
PYFILES = $(wildcard *.py)
PYVER := $(shell $(PYTHON) -c 'import sys; print "%.3s" %(sys.version)')
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/