From c16f6a7e4bcb99c172f46c292bad94e6edcff039 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 8 Sep 2014 11:40:01 +0200 Subject: use internal dependency generator (instead of so called "external generator") internal dependency generator is now used by all other distros and is way much faster :-) --- build.macros.in | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'build.macros.in') diff --git a/build.macros.in b/build.macros.in index 864b14f..94bc858 100644 --- a/build.macros.in +++ b/build.macros.in @@ -82,8 +82,9 @@ Group: %{group}\ # Note: Disable (by commenting out) for legacy compatibility. #%__check_multiarch_files @RPMLIBDIR@/check-multiarch-files %{buildroot} -# Use internal dependency generator rather than external helpers? -%_use_internal_dependency_generator 0 +# Use internal dependency generator rather than external helpers like all other distros +# (much faster): +%_use_internal_dependency_generator 1 %__find_provides @RPMVENDORDIR@/filter.sh '%{?_provides_exceptions:%{_provides_exceptions}}%{!?_provides_exceptions: }' '%{?_exclude_files_from_autoprov:%{_exclude_files_from_autoprov}}%{!?_exclude_files_from_autoprov: }' '%{buildroot}' @RPMVENDORDIR@/find-provides %__find_requires @RPMVENDORDIR@/filter.sh '%{?_requires_exceptions:%{_requires_exceptions}}%{!?_requires_exceptions: }' '%{?_exclude_files_from_autoreq:%{_exclude_files_from_autoreq}}%{!?_exclude_files_from_autoreq: }' '%{buildroot}' @RPMVENDORDIR@/find-requires %{?buildroot:%{buildroot}} %{?_target_cpu:%{_target_cpu}} @@ -572,7 +573,3 @@ sed -i -e 's/`git ls-files`/`find -type f`/' \\\ %check %%check \ [ %{_with check} -eq 1 ] || exit 0 \ %{nil} - -# use internal dep generator? -# we can't use it for now as it breaks external dep generator -#%_use_internal_dependency_generator 1 -- cgit v1.2.1