Try to use internal dependency generator exceptions

This commit is contained in:
Andrey Bondrov 2012-08-16 01:27:01 +11:00
parent 05417edb14
commit df89ab0190

View file

@ -7,7 +7,13 @@
# All sane backends have SONAME libsane.so.1. We do not want
# sane-backends-iscan to provide libsane.so.1, so filter these out.
%if %{_use_internal_dependency_generator}
%define __noautoprovfiles '%{_libdir}/%{name}/'
%else
%define _exclude_files_from_autoprov %{_libdir}/%{name}/
%end
%define __libtoolize /bin/true
# Setting this makes the /etc/sane.d/dll.conf empty so that scanning apps