From 2c68e3a9638af5376ef3473a129cc595408d1b2f91ca5781b437f10cec2f8344 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Mon, 14 May 2018 07:23:05 +0000 Subject: [PATCH] - Don't install using trusted group (bnc#1092157) - Minor spec-file cleanup OBS-URL: https://build.opensuse.org/package/show/network:utilities/bing?expand=0&rev=15 --- bing.changes | 6 ++++++ bing.spec | 13 ++----------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/bing.changes b/bing.changes index 9b4b84e..132f927 100644 --- a/bing.changes +++ b/bing.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 14 07:14:21 UTC 2018 - adam.majer@suse.de + +- Don't install using trusted group (bnc#1092157) +- Minor spec-file cleanup + ------------------------------------------------------------------- Thu Jul 27 13:49:16 UTC 2017 - adam.majer@suse.de diff --git a/bing.spec b/bing.spec index fcaa444..1e0e583 100644 --- a/bing.spec +++ b/bing.spec @@ -1,7 +1,7 @@ # # spec file for package bing # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -50,18 +50,9 @@ make CC="%__cc" CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{?_smp_mflags} mkdir -p $RPM_BUILD_ROOT/{%{_mandir}/man8,usr/sbin} make install MANDIR=$RPM_BUILD_ROOT/%{_mandir} BINDIR=$RPM_BUILD_ROOT/usr/sbin -%post -%if 0%{?suse_version} <= 1130 -%run_permissions -%else -%set_permissions /usr/sbin/bing -%endif -%verifyscript -%verify_permissions -e /usr/sbin/bing - %files %defattr(-,root,root) -%verify(not mode) %attr(0755,root,trusted) /usr/sbin/bing +%attr(0755,root,root) /usr/sbin/bing %doc %{_mandir}/man8/bing.* %doc bing.ps %doc ChangeLog README