From 959e7f70cdd8f27bd19471a9645283a37f75877ed29d6f06b671f971b64cb10e Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 20 May 2021 07:22:55 +0000 Subject: [PATCH 1/2] CAP OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=134 --- psmisc.changes | 5 +++++ psmisc.spec | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/psmisc.changes b/psmisc.changes index d2bfa09..cc79284 100644 --- a/psmisc.changes +++ b/psmisc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 20 07:21:45 UTC 2021 - Dr. Werner Fink + +- Do not change CAP within spec file (boo#1186258) + ------------------------------------------------------------------- Fri May 7 14:53:08 UTC 2021 - Dr. Werner Fink diff --git a/psmisc.spec b/psmisc.spec index f1412d8..feea467 100644 --- a/psmisc.spec +++ b/psmisc.spec @@ -23,8 +23,6 @@ BuildRequires: dejagnu BuildRequires: gcc-c++ BuildRequires: gettext-devel BuildRequires: glibc-devel -BuildRequires: libcap-devel -BuildRequires: libcap-progs BuildRequires: libselinux-devel BuildRequires: linux-glibc-devel >= 4.12 BuildRequires: ncurses-devel @@ -96,9 +94,6 @@ rm -f %{buildroot}%{_mandir}/man1/peekfd.1* %endif %find_lang psmisc -%post -setcap cap_dac_read_search=ep %{_bindir}/fuser - %files %defattr (-,root,root,755) %license COPYING From af65534a5f81b1874990e6b2215718aa0a6a5e40f9186034e0ef16c5d2894bae Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 21 May 2021 12:18:19 +0000 Subject: [PATCH 2/2] . OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=135 --- psmisc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psmisc.spec b/psmisc.spec index feea467..9c66c81 100644 --- a/psmisc.spec +++ b/psmisc.spec @@ -100,7 +100,7 @@ rm -f %{buildroot}%{_mandir}/man1/peekfd.1* %if !0%{?usrmerged} /bin/fuser %endif -%verify(not mode caps) %{_bindir}/fuser +%{_bindir}/fuser %{_bindir}/killall %ifarch %have_peekfd %{_bindir}/peekfd