rpm/rpm-5.4.5-enable-internal-dependency-generator.patch
2012-03-08 04:55:15 +04:00

16 lines
1.3 KiB
Diff

--- rpm-5.4.5/macros/mandriva.in.int_dep_gen~ 2012-02-23 20:45:46.092715592 +0100
+++ rpm-5.4.5/macros/mandriva.in 2012-02-24 09:03:35.928435141 +0100
@@ -279,7 +279,12 @@ Group: %{group}\
#%__check_multiarch_files @USRLIBRPM@/check-multiarch-files %{buildroot}
# Use internal dependency generator rather than external helpers?
-%_use_internal_dependency_generator 0
+%_use_internal_dependency_generator 2
+# TODO: merge relevant changes into rpm version rather than using our own
+%__perl_provides @USRLIBRPM@/@RPMCANONVENDOR@/perl.prov
+%__perl_requires @USRLIBRPM@/@RPMCANONVENDOR@/perl.req
+%__php_provides @USRLIBRPM@/@RPMCANONVENDOR@/php.prov
+%__php_requires @USRLIBRPM@/@RPMCANONVENDOR@/php.req
%__find_provides @USRLIBRPM@/@RPMCANONVENDOR@/filter.sh '%{?_provides_exceptions:%{_provides_exceptions}}%{!?_provides_exceptions: }' '%{?_exclude_files_from_autoprov:%{_exclude_files_from_autoprov}}%{!?_exclude_files_from_autoprov: }' '%{buildroot}' @USRLIBRPM@/@RPMCANONVENDOR@/find-provides
%__find_requires @USRLIBRPM@/@RPMCANONVENDOR@/filter.sh '%{?_requires_exceptions:%{_requires_exceptions}}%{!?_requires_exceptions: }' '%{?_exclude_files_from_autoreq:%{_exclude_files_from_autoreq}}%{!?_exclude_files_from_autoreq: }' '%{buildroot}' @USRLIBRPM@/@RPMCANONVENDOR@/find-requires %{?buildroot:%{buildroot}} %{?_target_cpu:%{_target_cpu}}