[perl-Data-Visitor] update to 0.28

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit dd2853a84701c755f3ff951fc7234ce1aa6322c2
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Sun Feb 19 09:40:03 2012 -0700

    update to 0.28

 .gitignore             |    1 +
 perl-Data-Visitor.spec |   40 +++++++++++++++++++---------------------
 sources                |    2 +-
 3 files changed, 21 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 331ade7..4d5e108 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Data-Visitor-0.27.tar.gz
+/Data-Visitor-0.28.tar.gz
diff --git a/perl-Data-Visitor.spec b/perl-Data-Visitor.spec
index 6853131..2a999dc 100644
--- a/perl-Data-Visitor.spec
+++ b/perl-Data-Visitor.spec
@@ -1,29 +1,24 @@
 Name:           perl-Data-Visitor
-Version:        0.27
-Release:        6%{?dist}
+Version:        0.28
+Release:        1%{?dist}
 Summary:        Visitor style traversal of Perl data structures
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Data-Visitor/
-Source0:        http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/Data-Visitor-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Data-Visitor-%{version}.tar.gz
 BuildArch:      noarch
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
-BuildRequires:  perl(Class::Accessor)
+BuildRequires:  perl(Class::Load)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Moose) >= 0.89
-BuildRequires:  perl(namespace::clean) >= 0.08
+BuildRequires:  perl(namespace::clean) >= 0.19
 BuildRequires:  perl(Task::Weaken)
-BuildRequires:  perl(Tie::ToObject) >= 0.01
-
-# tests
-BuildRequires:  perl(Test::MockObject) >= 1.04
 BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::use::ok)
+BuildRequires:  perl(Test::Requires)
+BuildRequires:  perl(Tie::ToObject) >= 0.01
 
-# not picked up automatically
-Requires:       perl(Class::Accessor)
+%{?perl_default_filter}
 
 %description
 This module is a simple visitor implementation for Perl values.
@@ -31,14 +26,15 @@ This module is a simple visitor implementation for Perl values.
 %prep
 %setup -q -n Data-Visitor-%{version}
 
+# silence rpmlint warnings
+sed -i '1s,^#!.*perl,#!%{__perl},' t/*.t
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} +
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 
@@ -47,16 +43,18 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
-%doc Changes t/
+%doc Changes LICENSE README t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Feb 19 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.28-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+- use perl_default_filter and DESTDIR
+- add LICENSE and README to docs
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.27-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 04cdebd..eecf1af 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0fc563bcb409c0733c975e028ea6010d  Data-Visitor-0.27.tar.gz
+649119a643cf7450cb28445966952d35  Data-Visitor-0.28.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux