Package: pyasn
Version: 1.6.1-2
Followup-For: Bug #999402
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jammy ubuntu-patch
Control: tags -1 patch

Hello,

This build failure is because debian/rules doesn't correctly handle the case
of multiple supported python versions.  The attached patch fixes the build
failure, and is what I've uploaded to Ubuntu for this issue.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru pyasn-1.6.1/debian/rules pyasn-1.6.1/debian/rules
--- pyasn-1.6.1/debian/rules    2020-09-02 09:02:17.000000000 -0700
+++ pyasn-1.6.1/debian/rules    2021-11-17 18:29:11.000000000 -0800
@@ -10,5 +10,7 @@
 
 
 override_dh_auto_test:
-       ln -s `pwd`/data .pybuild/*_pyasn/build/
+       for builddir in .pybuild/*_pyasn/build/; do \
+               ln -s `pwd`/data $$builddir; \
+       done
        dh_auto_test -O--buildsystem=pybuild

Reply via email to