diff --git a/rpmlint-1.5-Fix-setgroups-error-name.diff b/rpmlint-1.5-Fix-setgroups-error-name.diff new file mode 100644 index 0000000..fb2c3a2 --- /dev/null +++ b/rpmlint-1.5-Fix-setgroups-error-name.diff @@ -0,0 +1,25 @@ +From e6c176c7d03f377e55d405ebe5d0368f688426c7 Mon Sep 17 00:00:00 2001 +From: Orion Poplawski +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 + diff --git a/rpmlint.changes b/rpmlint.changes index 1b9d9bb..96b3cb5 100644 --- a/rpmlint.changes +++ b/rpmlint.changes @@ -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 diff --git a/rpmlint.spec b/rpmlint.spec index 3599991..45c5cd5 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -120,6 +120,8 @@ Patch88: suse-speccheck-utf8.diff Patch89: suse-python-abi-check.diff # PATCH-FIX-OPENSUSE: saschpe@suse.de - Don't complain about missing man-pages for rc-scripts 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 @@ -195,6 +197,7 @@ source packages can be checked. %patch88 %patch89 %patch91 -p1 +%patch92 -p1 cp -p %{SOURCE2} . # Only move top-level python files chmod 0755 rpmlint-checks-master/*.py