2019-01-09 Fred Gleason <fredg@paravelsystems.com>

* Added a rule to the RPM package to create a PyPAD user and group.
This commit is contained in:
Fred Gleason 2019-01-09 16:13:07 -05:00
parent a753f39541
commit 3730e51bf1
2 changed files with 7 additions and 0 deletions

View File

@ -18340,3 +18340,5 @@
2019-01-09 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdpadengined(8) that caused PyPAD script errors
to fail to be logged.
2019-01-09 Fred Gleason <fredg@paravelsystems.com>
* Added a rule to the RPM package to create a PyPAD user and group.

View File

@ -487,6 +487,11 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/python3.4/site-packages/__pycache__/pypad*
%post pypad
/usr/sbin/groupadd -r -g 151 pypad &>/dev/null || :
/usr/sbin/useradd -o -u 151 -g pypad -s /bin/false -r -c "Rivendell PyPAD scripts" -d /var/snd %{name} &>/dev/null || :
%files select
@LOCAL_PREFIX@/bin/rdselect
%attr(4755,root,root) @LOCAL_PREFIX@/bin/rdselect_helper