[perl-File-ChangeNotify] Update to 0.20
cheeselee
cheeselee at fedoraproject.org
Fri Jan 13 07:36:03 UTC 2012
commit c135cc7403175caec4915987a109f93dbf952473
Author: Robin Lee <cheeselee at fedoraproject.org>
Date: Fri Jan 13 15:35:59 2012 +0800
Update to 0.20
.gitignore | 1 +
perl-File-ChangeNotify.spec | 20 +++++++++++++-------
sources | 2 +-
3 files changed, 15 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6b225a0..2b1de55 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
File-ChangeNotify-0.13.tar.gz
/File-ChangeNotify-0.16.tar.gz
+/File-ChangeNotify-0.20.tar.gz
diff --git a/perl-File-ChangeNotify.spec b/perl-File-ChangeNotify.spec
index 0e73822..3ff8614 100644
--- a/perl-File-ChangeNotify.spec
+++ b/perl-File-ChangeNotify.spec
@@ -1,7 +1,7 @@
Name: perl-File-ChangeNotify
Summary: Watch for changes to files, cross-platform style
-Version: 0.16
-Release: 6%{?dist}
+Version: 0.20
+Release: 1%{?dist}
License: Artistic 2.0
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/File-ChangeNotify-%{version}.tar.gz
@@ -12,7 +12,6 @@ BuildArch: noarch
BuildRequires: perl(Carp)
BuildRequires: perl(Class::MOP)
-BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec)
@@ -27,6 +26,8 @@ BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Without::Module)
BuildRequires: perl(Time::HiRes)
+BuildRequires: perl(Test::Exception)
+BuildRequires: perl(Linux::Inotify2)
Requires: perl(Carp)
Requires: perl(Class::MOP)
@@ -54,20 +55,20 @@ Watch for changes to files, easily, cleanly, and across different platforms.
%setup -q -n File-ChangeNotify-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl Build.PL --installdirs vendor
+./Build
%install
rm -rf %{buildroot}
-make pure_install DESTDIR=%{buildroot}
+./Build install --destdir %{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} %{buildroot}/*
%check
-make test
+./Build test
%clean
rm -rf %{buildroot}
@@ -79,6 +80,11 @@ rm -rf %{buildroot}
%{_mandir}/man3/*.3*
%changelog
+* Fri Jan 13 2012 Robin Lee <cheeselee at fedoraproject.org> - 0.20-1
+- Update to 0.20
+- Changed to Build.PL style
+- BR: add perl(Test::Exception), perl(Linux::Inotify2)
+
* Fri Jul 22 2011 Iain Arnell <iarnell at gmail.com> 0.16-6
- update filtering for rpm 4.9
diff --git a/sources b/sources
index 8060a83..623ab47 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-01f13510262c68acc40c79b4b3e88237 File-ChangeNotify-0.16.tar.gz
+9bb68f6e149436ace7cb13c8f9cdb6bd File-ChangeNotify-0.20.tar.gz
More information about the scm-commits
mailing list