Fix --rpm-requires

This commit is contained in:
Ondrej Oprala 2015-06-30 09:56:33 +02:00
parent 093f450ec5
commit 8262811a58
2 changed files with 5 additions and 2 deletions

View File

@ -163,7 +163,7 @@ diff -up bash-4.1/execute_cmd.c.requires bash-4.1/execute_cmd.c
+ if (rpm_requires && command->type == cm_function_def) + if (rpm_requires && command->type == cm_function_def)
+ return last_command_exit_value = + return last_command_exit_value =
+ execute_intern_function (command->value.Function_def->name, + execute_intern_function (command->value.Function_def->name,
+ command->value.Function_def->command); + command->value.Function_def);
+ if (read_but_dont_execute) + if (read_but_dont_execute)
return (EXECUTION_SUCCESS); return (EXECUTION_SUCCESS);

View File

@ -8,7 +8,7 @@
Version: %{baseversion}%{patchleveltag} Version: %{baseversion}%{patchleveltag}
Name: bash Name: bash
Summary: The GNU Bourne Again shell Summary: The GNU Bourne Again shell
Release: 2%{?dist} Release: 3%{?dist}
Group: System Environment/Shells Group: System Environment/Shells
License: GPLv3+ License: GPLv3+
Url: http://www.gnu.org/software/bash Url: http://www.gnu.org/software/bash
@ -421,6 +421,9 @@ end
%doc doc/*.ps doc/*.0 doc/*.html doc/article.txt %doc doc/*.ps doc/*.0 doc/*.html doc/article.txt
%changelog %changelog
* Tue Jun 30 2015 Ondrej Oprala - 4.3.39-3
- Fix --rpm-requires
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.39-2 * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.39-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild