diff --git a/man-pages.spec b/man-pages.spec index 7b93419..7f1b2f6 100644 --- a/man-pages.spec +++ b/man-pages.spec @@ -7,7 +7,7 @@ Summary: Linux kernel and C library user-space interface documentation Name: man-pages Version: 4.00 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE Group: Documentation URL: http://www.kernel.org/doc/man-pages/ @@ -31,6 +31,9 @@ BuildArch: noarch Patch21: man-pages-3.42-close.patch Patch22: rtld-audit.7-use-the-correct-format-character.patch +# Resolves: #1249444 +Patch23: sched.7-fix-swapped-descriptions.patch + %description A large collection of manual pages from the Linux Documentation Project (LDP). @@ -39,6 +42,7 @@ A large collection of manual pages from the Linux Documentation Project (LDP). %patch21 -p1 %patch22 -p1 +%patch23 -p1 # rename posix README so we don't have conflict %{__mv} %{posix_name}/README %{posix_name}/%{posix_name}.README @@ -75,6 +79,11 @@ popd %{_mandir}/man*/* %changelog +* Mon Aug 10 2015 Nikola Forró - 4.00-4 +- sched.7: Fix swapped descriptions of sched_get_priority_max + and sched_get_priority_min + resolves #1249444 + * Wed Jun 17 2015 Fedora Release Engineering - 4.00-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sched.7-fix-swapped-descriptions.patch b/sched.7-fix-swapped-descriptions.patch new file mode 100644 index 0000000..da20202 --- /dev/null +++ b/sched.7-fix-swapped-descriptions.patch @@ -0,0 +1,30 @@ +From 6a80c45422c6163828a0ae5b8c2a785a0f1b18b3 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Nikola=20Forr=C3=B3?= +Date: Tue, 4 Aug 2015 11:55:43 +0200 +Subject: [PATCH] sched.7: Fix swapped descriptions of sched_get_priority_max + and sched_get_priority_min + +--- + man7/sched.7 | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/man7/sched.7 b/man7/sched.7 +index ac518b2..743d52b 100644 +--- a/man7/sched.7 ++++ b/man7/sched.7 +@@ -49,10 +49,10 @@ Set the scheduling parameters of a specified thread. + Fetch the scheduling parameters of a specified thread. + .TP + .BR sched_get_priority_max (2) +-Return the minimum priority available in a specified scheduling policy. ++Return the maximum priority available in a specified scheduling policy. + .TP + .BR sched_get_priority_min (2) +-Return the maximum priority available in a specified scheduling policy. ++Return the minimum priority available in a specified scheduling policy. + .TP + .BR sched_rr_get_interval (2) + Fetch the quantum used for threads that are scheduled under +-- +2.4.3 +