[packages/perl-File-ChangeNotify] Up to 0.31
arekm
arekm at pld-linux.org
Thu Nov 19 11:23:40 CET 2026
commit 3c30e8d41bc0965258ca5954a894df6e1332b45a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 19 00:27:30 2026 +0100
Up to 0.31
perl-File-ChangeNotify.spec | 37 ++++++++++++++++++-------------------
1 file changed, 18 insertions(+), 19 deletions(-)
---
diff --git a/perl-File-ChangeNotify.spec b/perl-File-ChangeNotify.spec
index fff2491..d192397 100644
--- a/perl-File-ChangeNotify.spec
+++ b/perl-File-ChangeNotify.spec
@@ -7,26 +7,25 @@
Summary: File::ChangeNotify - Watch for changes to files, cross-platform style
Summary(pl.UTF-8): File::ChangeNotify - Obserwuje modyfikację plików
Name: perl-File-ChangeNotify
-Version: 0.21
-Release: 3
+Version: 0.31
+Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-#Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-Source0: http://www.cpan.org/modules/by-module/%{pdir}/DROLSKY/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: bd8f8f32faed6aba5353b8f270898935
+Source0: https://www.cpan.org/authors/id/D/DR/DROLSKY/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 562cc6d9e0033787e1fab664e5fbcaaf
URL: http://search.cpan.org/dist/File-ChangeNotify/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
-BuildRequires: perl(MooseX::Params::Validate) >= 0.08
-BuildRequires: perl(MooseX::SemiAffordanceAccessor)
+BuildRequires: perl-Linux-Inotify2 >= 1.2
+BuildRequires: perl-Moo >= 1.006
+BuildRequires: perl-Module-Pluggable
+BuildRequires: perl-Module-Runtime
+BuildRequires: perl-Test-Requires
+BuildRequires: perl-Test-Without-Module
+BuildRequires: perl-Type-Tiny
BuildRequires: perl-namespace-autoclean
-BuildRequires: perl-Class-MOP
-BuildRequires: perl-Linux-Inotify2
-BuildRequires: perl-Moose
-# not in PLD, yet
-#BuildRequires: perl-Test-Without-Module
%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -46,17 +45,17 @@ File::ChangeNotify::Watcher która może pracować na Twojej platformie.
%setup -q -n %{pdir}-%{pnam}-%{version}
%build
-%{__perl} Build.PL \
- destdir=$RPM_BUILD_ROOT \
- installdirs=vendor
-./Build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
-%{?with_tests:./Build test}
+%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT
-./Build install
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
%ifnos bsd
# BSD-specific watcher
@@ -69,7 +68,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc Changes README
+%doc Changes README.md
%{perl_vendorlib}/File/*.pm
%{perl_vendorlib}/File/ChangeNotify
%{_mandir}/man3/*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-File-ChangeNotify.git/commitdiff/3c30e8d41bc0965258ca5954a894df6e1332b45a
More information about the pld-cvs-commit
mailing list