Accepting request 606920 from network:utilities

- Don't install using trusted group (bnc#1092157)
- Minor spec-file cleanup

OBS-URL: https://build.opensuse.org/request/show/606920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bing?expand=0&rev=22
This commit is contained in:
Dominique Leuenberger 2018-05-15 08:15:13 +00:00 committed by Git OBS Bridge
commit 1cfab472ea
2 changed files with 8 additions and 11 deletions

View File

@ -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

View File

@ -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