- Package READMEs for pam and pam_slurm_adopt.

- Use the new %%license directive for COPYING file.

OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=53
This commit is contained in:
Egbert Eich 2018-04-12 17:22:25 +00:00 committed by Git OBS Bridge
parent 8d80dfc527
commit d892c59e4e
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 12 17:20:03 UTC 2018 - eich@suse.com
- Package READMEs for pam and pam_slurm_adopt.
- Use the new %%license directive for COPYING file.
-------------------------------------------------------------------
Thu Apr 12 16:40:44 UTC 2018 - eich@suse.com

View File

@ -376,6 +376,8 @@ install -D -m644 etc/slurmdbd.conf.example %{buildroot}%{_sysconfdir}/%{name}/sl
install -D -m755 contribs/sjstat %{buildroot}%{_bindir}/sjstat
install -D -m755 contribs/sgather/sgather %{buildroot}%{_bindir}/sgather
cp contribs/pam_slurm_adopt/README ../README.pam_slurm_adopt
cp contribs/pam/README ../README.pam_slurm
%if 0%{?OHPC_BUILD}
# change slurm.conf for our needs
head -n -2 %{buildroot}/%{_sysconfdir}/%{name}/slurm.conf.example | grep -v ReturnToService > %{buildroot}/%{_sysconfdir}/%{name}/slurm.conf
@ -589,7 +591,8 @@ exit 0
%files
%defattr(-,root,root)
%doc AUTHORS NEWS RELEASE_NOTES DISCLAIMER COPYING
%doc AUTHORS NEWS RELEASE_NOTES DISCLAIMER
%license COPYING
%doc doc/html
%{_bindir}/sacct
%{_bindir}/sacctmgr
@ -854,6 +857,7 @@ exit 0
%files pam_slurm
%defattr(-,root,root)
%doc ../README.pam_slurm ../README.pam_slurm_adopt
/%_lib/security/pam_slurm.so
/%_lib/security/pam_slurm_adopt.so