diff --git a/check-build.sh b/check-build.sh new file mode 100644 index 0000000..f3ddf5d --- /dev/null +++ b/check-build.sh @@ -0,0 +1,15 @@ +#!/bin/bash -x + +SYS_RELEASE=`uname -r` +case $SYS_RELEASE in + 2.[45].*) + exit 1 + ;; + 2.6.[0-9][.-]*) + exit 1 + ;; + 2.6.1[0-6][.-]*) + exit 1 + ;; +esac +exit 0 diff --git a/perl-Linux-Inotify2.changes b/perl-Linux-Inotify2.changes index e063a6f..3c3c560 100644 --- a/perl-Linux-Inotify2.changes +++ b/perl-Linux-Inotify2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Sep 4 01:04:12 CEST 2007 - ro@suse.de + +- remove buildrequires for certain kernel, does not + help in a build environment +- added check-build.sh to require at least 2.6.17 on build host + ------------------------------------------------------------------- Fri Feb 23 15:44:50 CET 2007 - tpatzig@suse.de diff --git a/perl-Linux-Inotify2.spec b/perl-Linux-Inotify2.spec index a75d549..808f28d 100644 --- a/perl-Linux-Inotify2.spec +++ b/perl-Linux-Inotify2.spec @@ -12,10 +12,9 @@ Name: perl-Linux-Inotify2 Summary: scalable directory/file change notification Version: 1.1 -Release: 1 +Release: 63 Group: Development/Libraries/Perl License: Artistic License -BuildRequires: kernel-default >= 2.6.13 perl >= %{perl_version} Requires: perl >= %{perl_version} URL: http://www.cpan.org/modules/by-module/Linux/ Source: %{name}-%{version}.tar.bz2 @@ -53,5 +52,9 @@ rm -rf $RPM_BUILD_ROOT /var/adm/perl-modules/%{name} %changelog +* Tue Sep 04 2007 - ro@suse.de +- remove buildrequires for certain kernel, does not + help in a build environment +- added check-build.sh to require at least 2.6.17 on build host * Fri Feb 23 2007 - tpatzig@suse.de - initial package build