From 8520ae7d80973d92b2b7c893e8b69757cbaa6543 Mon Sep 17 00:00:00 2001 From: Marcela Rosales Date: Mon, 3 Jun 2019 14:25:56 -0500 Subject: [PATCH] Add files for fm-rest-api deb packaging Add control and rules files to generate fm-rest-api deb following StarlingX/MultiOS/Debian Wiki. Change-Id: Iad365e637269029cf7a371e29362dda0648a1ba9 Story: 2004792 Task: 33571 Signed-off-by: Marcela Rosales --- fm-rest-api/debian/control | 15 +++++++++++++++ fm-rest-api/debian/rules | 7 +++++++ 2 files changed, 22 insertions(+) create mode 100644 fm-rest-api/debian/control create mode 100644 fm-rest-api/debian/rules diff --git a/fm-rest-api/debian/control b/fm-rest-api/debian/control new file mode 100644 index 00000000..bbdb44fa --- /dev/null +++ b/fm-rest-api/debian/control @@ -0,0 +1,15 @@ +Source: fm-rest-api +Priority: extra +Maintainer: Marcela Rosales +Build-Depends: python-setuptools, + python-all, + debhelper, + dh-python, + fm-common-dev +Standards-Version: 3.9.6 + +Package: fm-rest-api +Architecture: all +Depends: ${misc:Depends}, + ${python:Depends} +Description: This package contains the fm-rest-api project. diff --git a/fm-rest-api/debian/rules b/fm-rest-api/debian/rules new file mode 100644 index 00000000..b54cfd7e --- /dev/null +++ b/fm-rest-api/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +export PYBUILD_INSTALL_ARGS=--install-data=/usr/share --prefix=/usr + +%: + dh $@ --with python2 --buildsystem=pybuild +