d/rules: Use `rename` instead of `prename`, and separate the -v and -f options

The src:rename package now providing both `rename` and `prename` doesn't
support attached options like -vf, but they need to be separated.

Closes: #876308
Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 4d97d244
......@@ -97,7 +97,7 @@ override_dh_auto_install-indep: doinstall-main
$(MAKE) -C builddir/main/python$(*)-dbg DESTDIR=$(CURDIR)/debian/tmp-dbg install-pythonLTLIBRARIES
prename -vf 's/(?<!_d)\.so$$/_d.so/' debian/tmp-dbg/usr/lib/python$(*)/*-packages/*.so
rename -v -f 's/(?<!_d)\.so$$/_d.so/' debian/tmp-dbg/usr/lib/python$(*)/*-packages/*.so
dh_auto_install --builddirectory=builddir/main/python$(*)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment