diff -Nru alsa-lib-1.2.2/debian/changelog alsa-lib-1.2.2/debian/changelog --- alsa-lib-1.2.2/debian/changelog 2020-03-07 18:21:22.000000000 +0000 +++ alsa-lib-1.2.2/debian/changelog 2020-03-10 15:12:02.000000000 +0000 @@ -1,3 +1,10 @@ +alsa-lib (1.2.2-2.1+rpi1) bullseye-staging; urgency=medium + + * Modify python 3.8 patch so builds with 3.7 still work. + * Fix clean target. + + -- Peter Michael Green Tue, 10 Mar 2020 15:12:02 +0000 + alsa-lib (1.2.2-2.1) unstable; urgency=medium [ Matthias Klose ] diff -Nru alsa-lib-1.2.2/debian/patches/python3.8.diff alsa-lib-1.2.2/debian/patches/python3.8.diff --- alsa-lib-1.2.2/debian/patches/python3.8.diff 2020-03-04 08:23:20.000000000 +0000 +++ alsa-lib-1.2.2/debian/patches/python3.8.diff 2020-03-10 15:12:02.000000000 +0000 @@ -10,7 +10,7 @@ pythoninc0= if test "$build_python2" != "yes"; then - pythonlibs0=$(python3-config --libs) -+ pythonlibs0=$(python3-config --libs --embed) ++ pythonlibs0=$(python3-config --libs `python3 -c 'import sys;print("" if sys.version_info < (3,8) else "--embed")'`) pythoninc0=$(python3-config --includes) fi if test -z "$pythonlibs0"; then diff -Nru alsa-lib-1.2.2/debian/rules alsa-lib-1.2.2/debian/rules --- alsa-lib-1.2.2/debian/rules 2020-02-29 15:51:16.000000000 +0000 +++ alsa-lib-1.2.2/debian/rules 2020-03-10 15:12:02.000000000 +0000 @@ -38,3 +38,8 @@ override_dh_makeshlibs: dh_makeshlibs -- -c4 + +override_dh_auto_clean: + rm -rf doc/doxygen + rm -f src/control/ctl_symbols_list.c src/control/libcontrol.la src/hwdep/libhwdep.la src/mixer/libmixer.la src/pcm/libpcm.la src/pcm/pcm_symbols_list.c src/rawmidi/librawmidi.la src/seq/libseq.la src/timer/libtimer.la src/ucm/libucm.la + dh_auto_clean