Skip to content
Snippets Groups Projects
Commit 82fb0535 authored by Yaroslav Halchenko's avatar Yaroslav Halchenko
Browse files

BF: for building arch packages with no arch indep ones, find should be conditioned

parent 2366b5cf
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,8 @@ override_dh_installchangelogs: ...@@ -87,7 +87,8 @@ override_dh_installchangelogs:
## remove .so libraries from main package, and call dh_numpy* ## remove .so libraries from main package, and call dh_numpy*
## while removing 2 if not present ## while removing 2 if not present
_dh_python%: _dh_python%:
find debian/python$(*:2=)-sklearn/usr/lib -name "*.so" -delete; [ ! -e debian/python$(*:2=)-sklearn ] \
|| find debian/python$(*:2=)-sklearn/usr/lib -name "*.so" -delete;
[ -e /usr/bin/dh_numpy$(*:2=) ] && dh_numpy$(*:2=) -ppython$(*:2=)-sklearn-lib || : [ -e /usr/bin/dh_numpy$(*:2=) ] && dh_numpy$(*:2=) -ppython$(*:2=)-sklearn-lib || :
: # Prune scikits/__init__.py to avoid conflicts : # Prune scikits/__init__.py to avoid conflicts
find debian -wholename \*scikits/__init__.py -delete find debian -wholename \*scikits/__init__.py -delete
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment