summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbiao716.wang <biao716.wang@samsung.com>2020-05-08 17:45:54 +0800
committerbiao716.wang <biao716.wang@samsung.com>2020-05-08 17:47:13 +0800
commite8c424646897638a51fa25d5bfdb03cadb636c65 (patch)
tree993f354a3a370c280f389da404a189eb33a05786
parentc5b4b826a95f6ac240e1508200ab284a37ab4329 (diff)
downloadosc-e8c424646897638a51fa25d5bfdb03cadb636c65.tar.gz
osc-e8c424646897638a51fa25d5bfdb03cadb636c65.tar.bz2
osc-e8c424646897638a51fa25d5bfdb03cadb636c65.zip
Change control file to adapt Ubuntu 20.04upstream/0.168.2
In Ubuntu 20.04 , with the file debian/rules, it iwll not execute python setup.py build commond defaultly, so add it explicitly. Change-Id: I63563cb02ea96e2e61338c8dfaca69ff8f6dafe9 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
-rw-r--r--debian/control4
-rwxr-xr-xdebian/rules1
2 files changed, 3 insertions, 2 deletions
diff --git a/debian/control b/debian/control
index 9749a24..180213a 100644
--- a/debian/control
+++ b/debian/control
@@ -2,14 +2,14 @@ Source: osc
Section: devel
Priority: extra
Maintainer: Adrian Schroeter <adrian@suse.de>
-Build-Depends: debhelper (>= 4.0.0), dpatch, python-urlgrabber
+Build-Depends: debhelper (>= 4.0.0), dpatch, python, python-dev, python-urlgrabber
Standards-Version: 3.8.3
Homepage: http://en.opensuse.org/Build_Service/CLI
Package: osc
Section: devel
Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python (>= 2.5), python-urlgrabber, python-rpm, python-keyring, python-gobject, python-m2crypto (>= 0.20)
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python (>= 2.5), python-urlgrabber, python-rpm, python-keyring, python-gobject, python-m2crypto (>= 0.20) | python3-m2crypto
Suggests: python-gnomekeyring, gnome-keyring, build (> 2010.04.24)
Description: openSUSE (buildsystem) commander
Commandline client for the openSUSE Build Service, which allows to access
diff --git a/debian/rules b/debian/rules
index bd09ea5..5f27b9c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,7 @@ build: build-stamp
build-stamp:
dh_testdir
touch build-stamp
+ python setup.py build --force
override_dh_installchangelogs:
dh_installchangelogs NEWS