[perl-Tree-Simple-VisitorFactory] 0.12 bump; Modernize spec file
Jitka Plesnikova
jplesnik at fedoraproject.org
Mon Nov 24 11:18:29 UTC 2014
commit 6d3bfdad12ace6a00a1764fafdf729193865b1e0
Author: Jitka Plesnikova <jplesnik at redhat.com>
Date: Mon Nov 24 12:18:13 2014 +0100
0.12 bump; Modernize spec file
.gitignore | 1 +
perl-Tree-Simple-VisitorFactory.spec | 45 ++++++++++++++++------------------
sources | 2 +-
3 files changed, 23 insertions(+), 25 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8b15f64..350c33c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Tree-Simple-VisitorFactory-0.10.tar.gz
+/Tree-Simple-VisitorFactory-0.12.tgz
diff --git a/perl-Tree-Simple-VisitorFactory.spec b/perl-Tree-Simple-VisitorFactory.spec
index b7b777e..0a6864b 100644
--- a/perl-Tree-Simple-VisitorFactory.spec
+++ b/perl-Tree-Simple-VisitorFactory.spec
@@ -1,26 +1,28 @@
Name: perl-Tree-Simple-VisitorFactory
-Version: 0.10
-Release: 18%{?dist}
+Version: 0.12
+Release: 1%{?dist}
Summary: Factory object for dispensing Visitor objects
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Tree-Simple-VisitorFactory/
-Source0: http://www.cpan.org/authors/id/S/ST/STEVAN/Tree-Simple-VisitorFactory-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0: http://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/Tree-Simple-VisitorFactory-%{version}.tgz
BuildArch: noarch
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
-# core
+# Core
BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(Test::More)
-# cpan
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Run-time
+BuildRequires: perl(base)
+BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Tree::Simple) >= 1.12
-# testing
+BuildRequires: perl(Tree::Simple::Visitor)
+# Testing
BuildRequires: perl(Test::Exception) >= 0.15
-BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage)
-
-# "use base"
-Requires: perl(Tree::Simple::Visitor)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Pod) >= 1.14
+BuildRequires: perl(Test::Pod::Coverage) >= 1.04
%description
This package contains a collection of Tree::Simple::Visitor::* objects,
@@ -30,32 +32,27 @@ and a factory for easily creating instances of them.
%setup -q -n Tree-Simple-VisitorFactory-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+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 \;
-
%{_fixperms} %{buildroot}/*
%check
make test
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(-,root,root,-)
%doc Changes README t/
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Mon Nov 24 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.12-1
+- 0.12 bump
+- Modernize spec file, update URL
+
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.10-18
- Perl 5.20 rebuild
diff --git a/sources b/sources
index e29d316..7dfe4cf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ff7803a452e7fb188c71048cc2f69f6e Tree-Simple-VisitorFactory-0.10.tar.gz
+9a58704eabb853cb38c1dd9cb88c3a64 Tree-Simple-VisitorFactory-0.12.tgz
More information about the scm-commits
mailing list