17
0

Compare commits

16 Commits

Author SHA256 Message Date
97384d3474 Accepting request 909807 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/909807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Linux-Inotify2?expand=0&rev=30
2021-08-03 20:48:35 +00:00
c51d2777e8 Accepting request 909786 from devel:languages:perl:autoupdate
- updated to 2.3
   see /usr/share/doc/packages/perl-Linux-Inotify2/Changes
  2.3 
          - 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.

OBS-URL: https://build.opensuse.org/request/show/909786
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Linux-Inotify2?expand=0&rev=27
2021-08-02 14:13:55 +00:00
8136d7bcb8 Accepting request 755494 from devel:languages:perl
- updated to 2.2
   see /usr/share/doc/packages/perl-Linux-Inotify2/Changes
  2.2 
  	- define IN_EXCL_UNLINK to 0 if it is missing, for the benefit of
            antique systems that lack this symbol.

OBS-URL: https://build.opensuse.org/request/show/755494
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Linux-Inotify2?expand=0&rev=29
2019-12-10 21:43:29 +00:00
1b4b9de693 Accepting request 755478 from devel:languages:perl:autoupdate
- updated to 2.2
   see /usr/share/doc/packages/perl-Linux-Inotify2/Changes
  2.2 
  	- define IN_EXCL_UNLINK to 0 if it is missing, for the benefit of
            antique systems that lack this symbol.

OBS-URL: https://build.opensuse.org/request/show/755478
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Linux-Inotify2?expand=0&rev=25
2019-12-10 09:16:16 +00:00
c03d3ae623 Accepting request 647377 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/647377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Linux-Inotify2?expand=0&rev=28
2018-11-12 08:41:06 +00:00
54e3730931 Accepting request 647376 from devel:languages:perl:autoupdate
- updated to 2.1
   see /usr/share/doc/packages/perl-Linux-Inotify2/Changes
  2.1  
  	- damn, left debugging code not caught by tests (reported by losyme).
  
  2.0  
  	- 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.

OBS-URL: https://build.opensuse.org/request/show/647376
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Linux-Inotify2?expand=0&rev=23
2018-11-08 16:09:27 +00:00
Stephan Kulow
1ea938a2a0 Accepting request 142361 from devel:languages:perl
- fix check-build.sh to work with kernel > 3.0 (forwarded request 141628 from oertel)

OBS-URL: https://build.opensuse.org/request/show/142361
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Linux-Inotify2?expand=0&rev=24
2012-11-22 15:53:25 +00:00
Lars Vogdt
948b3edc5a Accepting request 141628 from home:oertel:branches:devel:languages:perl
- fix check-build.sh to work with kernel > 3.0

OBS-URL: https://build.opensuse.org/request/show/141628
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Linux-Inotify2?expand=0&rev=21
2012-11-22 10:36:25 +00:00
Stephan Kulow
5be3b6dda8 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Linux-Inotify2?expand=0&rev=22
2011-12-06 17:43:43 +00:00
Stephan Kulow
0b48d35e06 Accepting request 92217 from devel:languages:perl
update

OBS-URL: https://build.opensuse.org/request/show/92217
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Linux-Inotify2?expand=0&rev=21
2011-11-21 11:42:11 +00:00
Stephan Kulow
c55a7608ac use original .tar.gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Linux-Inotify2?expand=0&rev=18
2011-11-18 11:36:24 +00:00
Stephan Kulow
0c3ae4f4af remove bz2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Linux-Inotify2?expand=0&rev=17
2011-11-17 14:19:48 +00:00
Stephan Kulow
4bae3f5ca2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Linux-Inotify2?expand=0&rev=16 2011-11-11 11:19:28 +00:00
Sascha Peilicke
5ef56b88ff Autobuild autoformatter for 73955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Linux-Inotify2?expand=0&rev=19
2011-06-17 09:23:18 +00:00
OBS User buildservice-autocommit
811e05301f Accepting request 73955 from devel:languages:perl
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/73955
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Linux-Inotify2?expand=0&rev=15
2011-06-17 09:23:08 +00:00
Vítězslav Čížek
24da125823 - update to 1.22
- use a more useful definition of IN_xxx methods - any bits, not
          a match. (pointed out by Anatoliy Grishayev).
        - slightly reworked the documentation.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Linux-Inotify2?expand=0&rev=14
2011-06-16 07:53:58 +00:00
2 changed files with 6 additions and 19 deletions

View File

@@ -1,9 +1,3 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Linux-Inotify2
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,24 +18,18 @@
%define cpan_name Linux-Inotify2
Name: perl-Linux-Inotify2
Version: 2.300.0
Version: 2.3
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
License: GPL-1.0-or-later OR Artistic-1.0
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{cpan_version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
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
@@ -55,9 +49,8 @@ unreliable API. For a good overview of the challenges you might run into,
see this LWN article: https://lwn.net/Articles/605128/.
%prep
%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
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"