diff --git a/slurm.changes b/slurm.changes index a38a00a..8c9cb9e 100644 --- a/slurm.changes +++ b/slurm.changes @@ -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 diff --git a/slurm.spec b/slurm.spec index 499c0b5..ceef054 100644 --- a/slurm.spec +++ b/slurm.spec @@ -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