summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2022-04-21 18:52:21 +0200
committerSlávek Banko <[email protected]>2022-04-21 18:59:54 +0200
commit1042775654e63cf6715ffc21d1396af2e10f732a (patch)
tree5e9878cec02eb9b0b6397410f207e09992ececee
parentd51161364c6e2c1b6ff95bcb2bc857947d6b8937 (diff)
downloadtde-packaging-1042775654e63cf6715ffc21d1396af2e10f732a.tar.gz
tde-packaging-1042775654e63cf6715ffc21d1396af2e10f732a.zip
DEB sip4-tqt: Fix empty python3-sip-tqt-dbg package.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 71eaac9990ec258fa4707e57a74d77f52da14417)
-rwxr-xr-xdebian/_base/dependencies/sip4-tqt/debian/rules9
-rwxr-xr-xdilos/dependencies/sip4-tqt/debian/rules9
-rwxr-xr-xubuntu/_base/dependencies/sip4-tqt/debian/rules9
3 files changed, 24 insertions, 3 deletions
diff --git a/debian/_base/dependencies/sip4-tqt/debian/rules b/debian/_base/dependencies/sip4-tqt/debian/rules
index e2e8c009c..eab12d6ce 100755
--- a/debian/_base/dependencies/sip4-tqt/debian/rules
+++ b/debian/_base/dependencies/sip4-tqt/debian/rules
@@ -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
diff --git a/dilos/dependencies/sip4-tqt/debian/rules b/dilos/dependencies/sip4-tqt/debian/rules
index fea31e5f0..f7d87409d 100755
--- a/dilos/dependencies/sip4-tqt/debian/rules
+++ b/dilos/dependencies/sip4-tqt/debian/rules
@@ -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
diff --git a/ubuntu/_base/dependencies/sip4-tqt/debian/rules b/ubuntu/_base/dependencies/sip4-tqt/debian/rules
index 76f8280d1..cfed03aff 100755
--- a/ubuntu/_base/dependencies/sip4-tqt/debian/rules
+++ b/ubuntu/_base/dependencies/sip4-tqt/debian/rules
@@ -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