forked from pool/perl-Linux-Inotify2
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Linux-Inotify2?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
f4105ad103
commit
07b6f7fbb8
15
check-build.sh
Normal file
15
check-build.sh
Normal file
@@ -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
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user