Compare commits
21 Commits
Author | SHA256 | Date | |
---|---|---|---|
4d656833f6 | |||
f59e7a2dcd | |||
6d05ed039b | |||
e5524113a9 | |||
6e563d8807 | |||
2fed4c605c | |||
1665d67ae2 | |||
119f4156e8 | |||
017623e43a | |||
cc8cdfa6ce | |||
|
8fad29fae2 | ||
|
9db529648d | ||
|
5673c0343a | ||
|
8f1afc3a5b | ||
|
5234b3b642 | ||
|
de3c17a051 | ||
|
60d32e22d1 | ||
|
e33bcf2314 | ||
|
42259e5754 | ||
|
cbe1588e93 | ||
|
008381f422 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eb8914ef336b46ebd90037270d85c55f622c37c4100ee52cc793ea549bd84bcc
|
||||
size 8434
|
3
Linux-Inotify2-2.3.tar.gz
Normal file
3
Linux-Inotify2-2.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb99150f9ffa51dbc3be5ee98d8e91c98cdfeae22eb88e718f2cf367bf270d17
|
||||
size 10439
|
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
## Build Results
|
||||
|
||||
Current state of perl in openSUSE:Factory is
|
||||
|
||||

|
||||
|
||||
The current state of perl in the devel project build (devel:languages:perl)
|
||||
|
||||

|
||||
|
||||
|
@@ -2,7 +2,9 @@
|
||||
|
||||
# get kernel version
|
||||
OFS="$IFS" ; IFS=".-" ; version=(`uname -r`) ; IFS="$OIFS"
|
||||
if test ${version[0]} -lt 2 -o ${version[1]} -lt 6 -o ${version[2]} -lt 15 ; then
|
||||
if test ${version[0]} -gt 2 ; then
|
||||
: # okay
|
||||
elif test ${version[0]} -lt 2 -o ${version[1]} -lt 6 -o ${version[2]} -lt 15 ; then
|
||||
echo "FATAL: kernel too old, need kernel >= 2.6.15 for this package" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#description: |-
|
||||
# override description from CPAN
|
||||
#summary: override summary from CPAN
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_build: |-
|
||||
# rm unused.files
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
license: GPL-1.0-or-later or Artistic-1.0
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,63 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 6 22:26:28 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Normalize CPAN version
|
||||
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 1 03:07:57 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 2.3
|
||||
see /usr/share/doc/packages/perl-Linux-Inotify2/Changes
|
||||
|
||||
2.3 Sat Jul 31 13:45:51 CEST 2021
|
||||
- store a filehandle internally so it gets perl's CLOEXEC flag as needed. also
|
||||
gets rid of the destructor and the internal close function for added space
|
||||
savings (reported by Eric Wong).
|
||||
- add new ->fh accessor.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 10 03:12:26 UTC 2019 - <timueller+perl@suse.de>
|
||||
|
||||
- updated to 2.2
|
||||
see /usr/share/doc/packages/perl-Linux-Inotify2/Changes
|
||||
|
||||
2.2 Mon Dec 9 04:09:05 CET 2019
|
||||
- define IN_EXCL_UNLINK to 0 if it is missing, for the benefit of
|
||||
antique systems that lack this symbol.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 8 06:30:22 UTC 2018 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 2.1
|
||||
see /usr/share/doc/packages/perl-Linux-Inotify2/Changes
|
||||
|
||||
2.1 Fri Oct 26 03:16:03 CEST 2018
|
||||
- damn, left debugging code not caught by tests (reported by losyme).
|
||||
|
||||
2.0 Thu Oct 25 03:19:08 CEST 2018
|
||||
- fix poll and read documentation w.r.t. errors - this changes the
|
||||
documented API, but is how the module has always behaved.
|
||||
- mention https://lwn.net/Articles/605128/ in the docs.
|
||||
- new on_overflow callback, called for overflow events.
|
||||
- new ->broadcast method that calls all watchers with some event.
|
||||
- automatically broadcast overflow events to all watchers by default.
|
||||
- read now returns all events (except ignored ones), not just ones
|
||||
it has registered watchers for (e.g. overflow events).
|
||||
- reduced dependencies (Mike Pomraning).
|
||||
- add IN_EXCL_UNLINK flag.
|
||||
- more efficient constant initialisation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 17 12:03:02 CET 2012 - ro@suse.de
|
||||
|
||||
- fix check-build.sh to work with kernel > 3.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 18 11:08:49 UTC 2011 - coolo@suse.com
|
||||
|
||||
- use original .tar.gz
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 16 07:37:42 UTC 2011 - vcizek@novell.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Linux-Inotify2
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,36 +12,57 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
%define cpan_name Linux-Inotify2
|
||||
Name: perl-Linux-Inotify2
|
||||
Summary: scalable directory/file change notification
|
||||
Version: 1.22
|
||||
Release: 13
|
||||
Group: Development/Libraries/Perl
|
||||
License: GPL+ or Artistic
|
||||
Url: http://www.cpan.org/modules/by-module/Linux/
|
||||
Source: Linux-Inotify2-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl perl-common-sense perl-macros
|
||||
Requires: perl-common-sense
|
||||
Version: 2.300.0
|
||||
Release: 0
|
||||
# 2.3 -> normalize -> 2.300.0
|
||||
%define cpan_version 2.3
|
||||
#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later)
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Scalable directory/file change notification
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
Source100: README.md
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(common::sense)
|
||||
Requires: perl(common::sense)
|
||||
Provides: perl(Linux::Inotify2) = %{version}
|
||||
Provides: perl(Linux::Inotify2::Event)
|
||||
Provides: perl(Linux::Inotify2::Watch)
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
This module implements an interface to the Linux 2.6.13 and later
|
||||
Inotify file/directory change notification sytem.
|
||||
This module implements an interface to the Linux 2.6.13 and later Inotify
|
||||
file/directory change notification system.
|
||||
|
||||
It has a number of advantages over the Linux::Inotify module:
|
||||
|
||||
- it is portable (Linux::Inotify only works on x86)
|
||||
- the equivalent of fullname works correctly
|
||||
- it is better documented
|
||||
- it has callback-style interface, which is better suited for
|
||||
integration.
|
||||
|
||||
As for the inotify API itself - it is a very tricky, and somewhat
|
||||
unreliable API. For a good overview of the challenges you might run into,
|
||||
see this LWN article: https://lwn.net/Articles/605128/.
|
||||
|
||||
%prep
|
||||
%setup -q -n Linux-Inotify2-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
make %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
@@ -49,15 +70,10 @@ make test
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README Changes MANIFEST COPYING
|
||||
%doc %{_mandir}/man3/*Inotify2*.gz
|
||||
%{perl_vendorarch}/auto/Linux
|
||||
%{perl_vendorarch}/Linux
|
||||
%files -f %{name}.files
|
||||
%doc Changes README
|
||||
%license COPYING
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user