diff --git a/.cvsignore b/.cvsignore index baa0532..c1756d5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ libcgroup-0.32.2.tar.bz2 +fix_makefile_dep.patch diff --git a/libcgroup.spec b/libcgroup.spec index 385a9e4..704a475 100644 --- a/libcgroup.spec +++ b/libcgroup.spec @@ -2,14 +2,16 @@ Name: libcgroup Summary: Tools and libraries to control and monitor control groups Group: Development/Libraries Version: 0.32.2 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ URL: http://libcg.sourceforge.net/ Source0: http://downloads.sourceforge.net/libcg/%{name}-%{version}.tar.bz2 +Patch0: http://downloads.sourceforge.net/libcg/fix_makefile_dep.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: byacc BuildRequires: flex BuildRequires: coreutils +BuildRequires: pam-devel Requires(post): chkconfig Requires(post): initscripts Requires(preun): initscripts @@ -31,6 +33,7 @@ provide scripts to manage that configuration. %prep %setup -q +%patch0 -p1 %build %configure @@ -85,6 +88,8 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Dec 29 2008 Dhaval Giani 0.32.2-2 +- Fix build dependencies * Mon Dec 29 2008 Dhaval Giani 0.32.2-1 - Update to latest upstream * Thu Oct 23 2008 Dhaval Giani 0.32.1-1 diff --git a/sources b/sources index b12031f..0aee3e2 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ ee971527040433ce7e5bcbd8f9b58134 libcgroup-0.32.2.tar.bz2 +c9f1eef2c91d91da508dbfb2cc2eed2f fix_makefile_dep.patch