SPECS: suspend.spec - up to 20090403 - needs 2.6.17 according to docs

glen glen at pld-linux.org
Fri Apr 3 01:57:33 CEST 2009


Author: glen                         Date: Thu Apr  2 23:57:33 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 20090403
- needs 2.6.17 according to docs

---- Files affected:
SPECS:
   suspend.spec (1.61 -> 1.62) 

---- Diffs:

================================================================
Index: SPECS/suspend.spec
diff -u SPECS/suspend.spec:1.61 SPECS/suspend.spec:1.62
--- SPECS/suspend.spec:1.61	Thu Oct  9 23:03:14 2008
+++ SPECS/suspend.spec	Fri Apr  3 01:57:28 2009
@@ -2,7 +2,7 @@
 #
 %bcond_with	splashy
 #
-%define	snap	20081009
+%define		snap	20090403
 Summary:	Suspend to RAM/Disk/Both
 Summary(de.UTF-8):	Einfrieren in den Systemspeicher
 Summary(pl.UTF-8):	Zamrażanie w RAM/Dysku/Jedno i drugie
@@ -11,9 +11,11 @@
 Release:	0.%{snap}.1
 License:	GPL v2
 Group:		Applications/System
+# cvs -z3 -d:pserver:anonymous at suspend.cvs.sf.net:/cvsroot/suspend co suspend
 Source0:	%{name}-%{snap}.tar.bz2
-# Source0-md5:	24d0c374ef7b5f2fdb95213de43891d4
+# Source0-md5:	91616804cabb90656daaed8a5cf1da20
 Patch0:		%{name}-sys-file-range-write.patch
+Patch1:		%{name}-fadvise.patch
 URL:		http://sourceforge.net/projects/suspend
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -35,6 +37,7 @@
 BuildRequires:	splashy-static
 %endif
 BuildRequires:	zlib-devel
+Requires:	uname(release) >= 2.6.17
 Conflicts:	geninitrd < 8880
 ExclusiveArch:	%{ix86} %{x8664} ppc ppc64
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -56,6 +59,7 @@
 %prep
 %setup -q -n %{name}
 %patch0 -p1
+%patch1 -p2
 
 %build
 %{__libtoolize}
@@ -68,7 +72,7 @@
 	%{?with_splashy:--enable-splashy} \
 	--enable-compress \
 	--enable-encrypt
-%{__make} 
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -95,6 +99,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.62  2009/04/02 23:57:28  glen
+- up to 20090403
+- needs 2.6.17 according to docs
+
 Revision 1.61  2008/10/09 21:03:14  arekm
 - up to 20081009 snap
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/suspend.spec?r1=1.61&r2=1.62&f=u



More information about the pld-cvs-commit mailing list