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:
commit
1cfab472ea
@ -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
|
Thu Jul 27 13:49:16 UTC 2017 - adam.majer@suse.de
|
||||||
|
|
||||||
|
13
bing.spec
13
bing.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package bing
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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}
|
mkdir -p $RPM_BUILD_ROOT/{%{_mandir}/man8,usr/sbin}
|
||||||
make install MANDIR=$RPM_BUILD_ROOT/%{_mandir} BINDIR=$RPM_BUILD_ROOT/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
|
%files
|
||||||
%defattr(-,root,root)
|
%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 %{_mandir}/man8/bing.*
|
||||||
%doc bing.ps
|
%doc bing.ps
|
||||||
%doc ChangeLog README
|
%doc ChangeLog README
|
||||||
|
Loading…
Reference in New Issue
Block a user