SHA256
1
0
forked from pool/system-users

- Change license to MIT

OBS-URL: https://build.opensuse.org/package/show/Base:System/system-users?expand=0&rev=2
This commit is contained in:
Thorsten Kukuk 2017-02-20 08:56:24 +00:00 committed by Git OBS Bridge
parent 612b56b22d
commit 9c150bfc0d
2 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 20 09:55:58 CET 2017 - kukuk@suse.de
- Change license to MIT
-------------------------------------------------------------------
Sat Jan 21 15:58:17 UTC 2017 - kukuk@suse.de

View File

@ -20,7 +20,7 @@ Name: system-users
Version: 20161020
Release: 0
Summary: Provide system accounts
License: GPL-2.0+
License: MIT
Group: System/Fhs
Source: tmpfiles-uucp.conf
Source1: system-user-uucp.conf
@ -41,6 +41,7 @@ This package provides various system users and their directories
%package -n system-user-bin
Summary: System user and group 'bin'
#!BuildIgnore: user(daemon)
Group: System/Fhs
Requires(pre): user(daemon)
%{sysusers_requires}
@ -50,6 +51,7 @@ and their corresponding directories.
%package -n system-user-daemon
Summary: System user and group 'daemon'
Group: System/Fhs
%{sysusers_requires}
%description -n system-user-daemon
@ -58,6 +60,7 @@ and their corresponding directories.
%package -n system-user-man
Summary: System user and group 'man'
Group: System/Fhs
%{sysusers_requires}
%description -n system-user-man
@ -66,6 +69,7 @@ and their corresponding directories.
%package -n system-user-news
Summary: System user and group 'news'
Group: System/Fhs
%{sysusers_requires}
%description -n system-user-news
@ -74,6 +78,7 @@ and their corresponding directories.
%package -n system-user-uucp
Summary: System user and group uucp
Group: System/Fhs
%{sysusers_requires}
%description -n system-user-uucp
@ -82,6 +87,7 @@ and their corresponding directories.
%package -n system-user-games
Summary: System user and group games
Group: System/Fhs
%{sysusers_requires}
%description -n system-user-games
@ -89,6 +95,7 @@ This package provides the system account and group 'games'.
%package -n system-group-trusted
Summary: System group 'trusted'
Group: System/Fhs
%{sysusers_requires}
%description -n system-group-trusted
@ -96,6 +103,7 @@ This package provides the system group 'trusted'.
%package -n system-group-obsolete
Summary: Obsolete system groups
Group: System/Fhs
%{sysusers_requires}
%description -n system-group-obsolete
@ -114,7 +122,6 @@ This package provides some obsolete system groups.
%sysusers_generate_pre %{SOURCE7} trusted
%sysusers_generate_pre %{SOURCE8} obsolete
%install
mkdir -p %{buildroot}%{_sysusersdir}
mkdir -p %{buildroot}%{_tmpfilesdir}
@ -132,7 +139,6 @@ install -m 644 %{SOURCE6} %{buildroot}%{_sysusersdir}/system-user-news.conf
install -m 644 %{SOURCE7} %{buildroot}%{_sysusersdir}/system-group-trusted.conf
install -m 644 %{SOURCE8} %{buildroot}%{_sysusersdir}/system-group-obsolete.conf
%pre -n system-user-uucp -f uucp.pre
%post -n system-user-uucp
%tmpfiles_create %{_tmpfilesdir}/tmpfiles-uucp.conf
@ -148,7 +154,7 @@ install -m 644 %{SOURCE8} %{buildroot}%{_sysusersdir}/system-group-obsolete.conf
%files -n system-user-uucp
%defattr(-,root,root)
%dir %attr(0750,uucp,uucp) %{_sysconfdir}/uucp
%ghost %dir %{_localstatedir}/spool/uucp/uucp
%ghost %dir %attr(0755,root,root) %{_localstatedir}/spool/uucp/uucp
%ghost %dir %attr(0755,uucp,uucp) %{_localstatedir}/spool/uucp
%{_sysusersdir}/system-user-uucp.conf
%{_tmpfilesdir}/tmpfiles-uucp.conf