DEB sip4-tqt: Fix empty python3-sip-tqt-dbg package.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 71eaac9990)
pull/158/head
Slávek Banko 3 years ago
parent d51161364c
commit 1042775654
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -105,6 +105,10 @@ install-arch: build
b=$$(basename $$i .so); \
mv $$i $$(dirname $$i)/$${b}_d.so; \
done
for i in $$(find debian/python3-sip-tqt-dbg -name '*.so'); do \
b=$$(basename $$i .so); \
mv $$i $$(dirname $$i)/$${b}_d.so; \
done
find debian/python-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f
find debian/python-sip-tqt-dbg -depth -empty -exec rmdir {} \;
find debian/python3-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f
@ -166,6 +170,9 @@ ifneq (,$(findstring -a, $(DH_OPTIONS)))
rm -rf debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg
mkdir -p debian/python-sip-tqt-dbg/usr/share/doc
ln -s python-sip-tqt debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg
rm -rf debian/python3-sip-tqt-dbg/usr/share/doc/python3-sip-tqt-dbg
mkdir -p debian/python3-sip-tqt-dbg/usr/share/doc
ln -s python3-sip-tqt debian/python3-sip-tqt-dbg/usr/share/doc/python3-sip-tqt-dbg
endif
dh_compress -X.inv
dh_fixperms
@ -174,7 +181,7 @@ ifneq (dh_pysupport,${DH_PYTHON2})
else
${DH_PYTHON2}
endif
dh_python3
dh_python3 --no-dbg-cleaning
dh_installdeb
dh_shlibdeps
dh_gencontrol

@ -109,6 +109,10 @@ install-arch: build
# b=$$(basename $$i .so); \
# mv $$i $$(dirname $$i)/$${b}_d.so; \
# done
# for i in $$(find debian/python3-sip-tqt-dbg -name '*.so'); do \
# b=$$(basename $$i .so); \
# mv $$i $$(dirname $$i)/$${b}_d.so; \
# done
# find debian/python-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f
# find debian/python-sip-tqt-dbg -depth -empty -exec rmdir {} \;
# find debian/python3-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f
@ -170,6 +174,9 @@ ifneq (,$(findstring -a, $(DH_OPTIONS)))
rm -rf debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg
# mkdir -p debian/python-sip-tqt-dbg/usr/share/doc
# ln -s python-sip-tqt debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg
rm -rf debian/python3-sip-tqt-dbg/usr/share/doc/python3-sip-tqt-dbg
# mkdir -p debian/python3-sip-tqt-dbg/usr/share/doc
# ln -s python3-sip-tqt debian/python3-sip-tqt-dbg/usr/share/doc/python3-sip-tqt-dbg
endif
dh_compress -X.inv
dh_fixperms
@ -178,7 +185,7 @@ ifneq (dh_pysupport,${DH_PYTHON2})
else
${DH_PYTHON2}
endif
dh_python3
dh_python3 --no-dbg-cleaning
dh_installdeb
dh_shlibdeps
dh_gencontrol

@ -105,6 +105,10 @@ install-arch: build
b=$$(basename $$i .so); \
mv $$i $$(dirname $$i)/$${b}_d.so; \
done
for i in $$(find debian/python3-sip-tqt-dbg -name '*.so'); do \
b=$$(basename $$i .so); \
mv $$i $$(dirname $$i)/$${b}_d.so; \
done
find debian/python-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f
find debian/python-sip-tqt-dbg -depth -empty -exec rmdir {} \;
find debian/python3-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f
@ -166,6 +170,9 @@ ifneq (,$(findstring -a, $(DH_OPTIONS)))
rm -rf debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg
mkdir -p debian/python-sip-tqt-dbg/usr/share/doc
ln -s python-sip-tqt debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg
rm -rf debian/python3-sip-tqt-dbg/usr/share/doc/python3-sip-tqt-dbg
mkdir -p debian/python3-sip-tqt-dbg/usr/share/doc
ln -s python3-sip-tqt debian/python3-sip-tqt-dbg/usr/share/doc/python3-sip-tqt-dbg
endif
dh_compress -X.inv
dh_fixperms
@ -174,7 +181,7 @@ ifneq (dh_pysupport,${DH_PYTHON2})
else
${DH_PYTHON2}
endif
dh_python3
dh_python3 --no-dbg-cleaning
dh_installdeb
dh_shlibdeps
dh_gencontrol

Loading…
Cancel
Save