forked from pool/perl-Linux-Inotify2
Compare commits
19 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| f59e7a2dcd | |||
| 6d05ed039b | |||
| e5524113a9 | |||
| 6e563d8807 | |||
| 2fed4c605c | |||
| 1665d67ae2 | |||
| 119f4156e8 | |||
| 017623e43a | |||
| cc8cdfa6ce | |||
|
|
8fad29fae2 | ||
|
|
9db529648d | ||
|
|
5673c0343a | ||
|
|
8f1afc3a5b | ||
|
|
5234b3b642 | ||
|
|
de3c17a051 | ||
|
|
60d32e22d1 | ||
|
|
e33bcf2314 | ||
|
|
42259e5754 | ||
|
|
cbe1588e93 |
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Linux-Inotify2
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# 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
|
||||
@@ -18,18 +18,24 @@
|
||||
|
||||
%define cpan_name Linux-Inotify2
|
||||
Name: perl-Linux-Inotify2
|
||||
Version: 2.3
|
||||
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
|
||||
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}-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{cpan_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
|
||||
@@ -49,8 +55,9 @@ 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}-%{version}
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
%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 INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
|
||||
Reference in New Issue
Block a user