From 8262811a585522cb46a3d1cd20bb87deb4a0685a Mon Sep 17 00:00:00 2001 From: Ondrej Oprala Date: Tue, 30 Jun 2015 09:56:33 +0200 Subject: [PATCH] Fix --rpm-requires --- bash-requires.patch | 2 +- bash.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bash-requires.patch b/bash-requires.patch index 5d82ac6..4106a06 100644 --- a/bash-requires.patch +++ b/bash-requires.patch @@ -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) + return last_command_exit_value = + execute_intern_function (command->value.Function_def->name, -+ command->value.Function_def->command); ++ command->value.Function_def); + if (read_but_dont_execute) return (EXECUTION_SUCCESS); diff --git a/bash.spec b/bash.spec index 742c800..7bb0cb3 100644 --- a/bash.spec +++ b/bash.spec @@ -8,7 +8,7 @@ Version: %{baseversion}%{patchleveltag} Name: bash Summary: The GNU Bourne Again shell -Release: 2%{?dist} +Release: 3%{?dist} Group: System Environment/Shells License: GPLv3+ Url: http://www.gnu.org/software/bash @@ -421,6 +421,9 @@ end %doc doc/*.ps doc/*.0 doc/*.html doc/article.txt %changelog +* Tue Jun 30 2015 Ondrej Oprala - 4.3.39-3 +- Fix --rpm-requires + * Wed Jun 17 2015 Fedora Release Engineering - 4.3.39-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild