Accepting request 594820 from Base:System

OBS-URL: https://build.opensuse.org/request/show/594820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sudo?expand=0&rev=94
This commit is contained in:
Dominique Leuenberger 2018-04-16 10:43:13 +00:00 committed by Git OBS Bridge
commit 2b209e9f64
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 4 11:47:35 CEST 2018 - kukuk@suse.de
- Use %license instead of %doc [bsc#1082318]
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 19 08:08:02 UTC 2018 - dimstar@opensuse.org Mon Feb 19 08:08:02 UTC 2018 - dimstar@opensuse.org

View File

@ -130,6 +130,7 @@ install -m 755 %{SOURCE3} %{buildroot}%{_localstatedir}/lib/tests/sudo
install -m 755 %{SOURCE4} %{buildroot}%{_localstatedir}/lib/tests/sudo install -m 755 %{SOURCE4} %{buildroot}%{_localstatedir}/lib/tests/sudo
install -d %{buildroot}%{_docdir}/%{name}-test install -d %{buildroot}%{_docdir}/%{name}-test
install -m 644 %{buildroot}%{_docdir}/%{name}/LICENSE %{buildroot}%{_docdir}/%{name}-test/LICENSE install -m 644 %{buildroot}%{_docdir}/%{name}/LICENSE %{buildroot}%{_docdir}/%{name}-test/LICENSE
rm -fv %{buildroot}%{_docdir}/%{name}/LICENSE
%post %post
chmod 0440 %{_sysconfdir}/sudoers chmod 0440 %{_sysconfdir}/sudoers
@ -144,6 +145,7 @@ chmod 0440 %{_sysconfdir}/sudoers
%verify_permissions -e %{_bindir}/sudo %verify_permissions -e %{_bindir}/sudo
%files -f %{name}.lang %files -f %{name}.lang
%license doc/LICENSE
%doc %{_docdir}/%{name} %doc %{_docdir}/%{name}
%{_mandir}/man5/sudoers.5%{ext_man} %{_mandir}/man5/sudoers.5%{ext_man}
%{_mandir}/man5/sudo.conf.5%{ext_man} %{_mandir}/man5/sudo.conf.5%{ext_man}