diff -Nru boswars-2.8/debian/changelog boswars-2.8/debian/changelog --- boswars-2.8/debian/changelog 2023-07-08 02:20:53.000000000 +0000 +++ boswars-2.8/debian/changelog 2023-07-09 19:49:11.000000000 +0000 @@ -1,3 +1,10 @@ +boswars (2.8-2) unstable; urgency=medium + + * FTBFS: redo split -arch vs -any, + add an explicit dependency on python3:any (Closes: #1040763) + + -- Alexandre Detiste Sun, 09 Jul 2023 21:49:11 +0200 + boswars (2.8-1) unstable; urgency=medium * Team upload. diff -Nru boswars-2.8/debian/control boswars-2.8/debian/control --- boswars-2.8/debian/control 2023-07-08 02:20:53.000000000 +0000 +++ boswars-2.8/debian/control 2023-07-09 19:49:11.000000000 +0000 @@ -7,6 +7,8 @@ Marc Dequènes (Duck) Build-Depends: debhelper-compat (= 13), +Build-Depends-Arch: + python3:any, liblua5.1-0-dev, libpng-dev, libsdl1.2-dev, diff -Nru boswars-2.8/debian/rules boswars-2.8/debian/rules --- boswars-2.8/debian/rules 2023-07-08 02:20:53.000000000 +0000 +++ boswars-2.8/debian/rules 2023-07-09 19:49:11.000000000 +0000 @@ -14,8 +14,6 @@ sed -i '/os.stat_float_times/d' fabricate.py ./make.py cflags="$(CPPFLAGS) $(CFLAGS) $(DATA)" ldflags="$(LDFLAGS)" -override_dh_auto_install: - execute_after_dh_install-arch: # Copy (and rename) an icon to be used as desktop file mkdir -p debian/boswars/usr/share/pixmaps/ @@ -24,5 +22,7 @@ rm -f debian/boswars/usr/share/doc/boswars/html/*copyright* rm -f debian/boswars/usr/share/doc/boswars/html/gpl3.txt +execute_after_dh_install-indep: + # https://codeberg.org/boswars/boswars/commit/4586e5a8bd120ab1168100e459e6991420c9e24b iconv -f ISO-8859-1 -t UTF-8 units/corpses/unit-corpses.lua -o debian/boswars-data/usr/share/games/boswars/units/corpses/unit-corpses.lua iconv -f ISO-8859-1 -t UTF-8 units/gturret/unit-gturret.lua -o debian/boswars-data/usr/share/games/boswars/units/gturret/unit-gturret.lua