From: Jan Safranek Date: Mon, 26 Oct 2009 14:28:09 +0000 (+0100) Subject: Distribute the PAM module in separate subpackage X-Git-Tag: v0.35~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddc87bb2079805888403044ce7f95229dabff654;p=thirdparty%2Flibcgroup.git 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 Signed-off-by: Balbir Singh --- diff --git a/dist/libcgroup.spec.in b/dist/libcgroup.spec.in index ba467d66..9e4d6d43 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 0.34-1 - Update to latest upstream +- Split PAM module to separate subpackage * Tue Feb 24 2009 Balbir Singh 0.33-1 - Update to 0.33, spec file changes to add Makefiles and pam_cgroup module * Fri Oct 10 2008 Dhaval Giani 0.32-1