SHA256
1
0
forked from pool/rpmlint

- fix setgroups error name, patch from upstream git:

rpmlint-1.5-Fix-setgroups-error-name.diff

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=197
This commit is contained in:
Ludwig Nussel 2013-07-30 13:46:54 +00:00 committed by Git OBS Bridge
parent 7038dd6511
commit 9eee3d4c25
3 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,25 @@
From e6c176c7d03f377e55d405ebe5d0368f688426c7 Mon Sep 17 00:00:00 2001
From: Orion Poplawski <orion@nwra.com>
Date: Thu, 11 Jul 2013 12:29:34 -0600
Subject: [PATCH] Fix setgroups error name
---
BinariesCheck.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/BinariesCheck.py b/BinariesCheck.py
index b770085..cea85b9 100644
--- a/BinariesCheck.py
+++ b/BinariesCheck.py
@@ -459,7 +459,7 @@ class BinariesCheck(AbstractCheck.AbstractCheck):
printError(pkg, 'missing-PT_GNU_STACK-section', fname)
if bin_info.setgid and bin_info.setuid and not bin_info.setgroups:
- printError(pkg, 'missing-call-to-setgroups', fname)
+ printError(pkg, 'missing-call-to-setgroups-before-setuid', fname)
if bin_info.chroot:
if not bin_info.chdir or not bin_info.chroot_near_chdir:
--
1.8.1.4

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 30 13:44:07 UTC 2013 - lnussel@suse.de
- fix setgroups error name, patch from upstream git:
rpmlint-1.5-Fix-setgroups-error-name.diff
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 29 12:28:19 UTC 2013 - meissner@suse.com Mon Jul 29 12:28:19 UTC 2013 - meissner@suse.com

View File

@ -120,6 +120,8 @@ Patch88: suse-speccheck-utf8.diff
Patch89: suse-python-abi-check.diff Patch89: suse-python-abi-check.diff
# PATCH-FIX-OPENSUSE: saschpe@suse.de - Don't complain about missing man-pages for rc-scripts # PATCH-FIX-OPENSUSE: saschpe@suse.de - Don't complain about missing man-pages for rc-scripts
Patch91: suse-manpages-for-rc-scripts.patch Patch91: suse-manpages-for-rc-scripts.patch
# PATCH-FIX-UPSTREAM: lnussel@suse.de - Fix setgroups error name
Patch92: rpmlint-1.5-Fix-setgroups-error-name.diff
%py_requires %py_requires
@ -195,6 +197,7 @@ source packages can be checked.
%patch88 %patch88
%patch89 %patch89
%patch91 -p1 %patch91 -p1
%patch92 -p1
cp -p %{SOURCE2} . cp -p %{SOURCE2} .
# Only move top-level python files # Only move top-level python files
chmod 0755 rpmlint-checks-master/*.py chmod 0755 rpmlint-checks-master/*.py