Change control file to adapt Ubuntu 20.04 24/232924/1 upstream/0.168.2
authorbiao716.wang <biao716.wang@samsung.com>
Fri, 8 May 2020 09:45:54 +0000 (17:45 +0800)
committerbiao716.wang <biao716.wang@samsung.com>
Fri, 8 May 2020 09:47:13 +0000 (17:47 +0800)
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>
debian/control
debian/rules

index 9749a249d6266bc5ffe2876d01a6c11cc74984de..180213afe8e11b9c0ed78d2c4330a17da1ab301b 100644 (file)
@@ -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
index bd09ea5439e2113d7c10b3b870b9dddc9ddff690..5f27b9c2c90ed9ff4ab84c24f972134742942ff1 100755 (executable)
@@ -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