diff options
author | Jan Safranek <jsafrane@redhat.com> | 2009-10-26 15:28:09 +0100 |
---|---|---|
committer | Balbir Singh <balbir@linux.vnet.ibm.com> | 2009-10-27 13:08:04 +0530 |
commit | ddc87bb2079805888403044ce7f95229dabff654 (patch) | |
tree | b1e3245dbe1c8ee5d7d00b7aa4bedacd1b867ba2 | |
parent | c9bc86622ba6e9ecd429fffbd2d838a86ac50130 (diff) | |
download | libcg-ddc87bb2079805888403044ce7f95229dabff654.tar.gz libcg-ddc87bb2079805888403044ce7f95229dabff654.tar.xz libcg-ddc87bb2079805888403044ce7f95229dabff654.zip |
Distribute the PAM module in separate subpackage
As discussed on IRC, it might be nice to distribute the PAM module as
separate subpackage.
Regarding the Group:, it seems to me all PAM modules are in "System
Environment/Base" group, so let's put this one there too.
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
-rw-r--r-- | dist/libcgroup.spec.in | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/dist/libcgroup.spec.in b/dist/libcgroup.spec.in index ba467d6..9e4d6d4 100644 --- a/dist/libcgroup.spec.in +++ b/dist/libcgroup.spec.in @@ -20,6 +20,15 @@ Requires(preun): /sbin/chkconfig Control groups infrastructure. The tools and library help manipulate, control, administrate and monitor control groups and the associated controllers. +%package pam +Summary: A Pluggable Authentication Module for libcgroup +Group: System Environment/Base +Requires: libcgroup = %{version}-%{release} + +%description pam +Linux-PAM module, which allows administrators to classify the user's login +processes to pre-configured control group. + %package devel Summary: Development libraries to develop applications that utilize control groups Group: Development/Libraries @@ -104,10 +113,14 @@ fi %attr(0644, root, root) %{_mandir}/man8/* %attr(0755,root,root) %{_initrddir}/cgconfig %attr(0755,root,root) %{_initrddir}/cgred -%attr(0755,root,root) /%{_lib}/security/pam_cgroup.so %doc COPYING INSTALL README_daemon +%files pam +%defattr(-,root,root,-) +%attr(0755,root,root) /%{_lib}/security/pam_cgroup.so +%doc COPYING INSTALL + %files devel %defattr(-,root,root,-) %{_includedir}/libcgroup.h @@ -118,6 +131,7 @@ fi %changelog * Thu Oct 22 2009 Jan Safranek <jsafrane@redhat.com> 0.34-1 - Update to latest upstream +- Split PAM module to separate subpackage * Tue Feb 24 2009 Balbir Singh <balbir@linux.vnet.ibm.com> 0.33-1 - Update to 0.33, spec file changes to add Makefiles and pam_cgroup module * Fri Oct 10 2008 Dhaval Giani <dhaval@linux.vnet.ibm.com> 0.32-1 |