diff --git a/.gitignore b/.gitignore index 842d408..6966934 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /GraphViz-2.14.tgz +/GraphViz-2.16.tgz diff --git a/perl-GraphViz.spec b/perl-GraphViz.spec index a9ba4cc..c25c470 100644 --- a/perl-GraphViz.spec +++ b/perl-GraphViz.spec @@ -1,6 +1,6 @@ Name: perl-GraphViz -Version: 2.14 -Release: 6%{?dist} +Version: 2.16 +Release: 1%{?dist} Summary: Interface to the GraphViz graphing tool License: GPL+ or Artistic Group: Development/Libraries @@ -8,34 +8,33 @@ URL: http://search.cpan.org/dist/GraphViz/ Source0: http://www.cpan.org/authors/id/R/RS/RSAVAGE/GraphViz-%{version}.tgz BuildArch: noarch -BuildRequires: perl(lib) -BuildRequires: perl(strict) -BuildRequires: perl(vars) -BuildRequires: perl(warnings) +BuildRequires: graphviz-devel + BuildRequires: perl(Carp) >= 1.01 BuildRequires: perl(Config) -BuildRequires: perl(File::Which) BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Which) >= 1.09 BuildRequires: perl(Getopt::Long) >= 2.34 BuildRequires: perl(IO::Dir) >= 1.04 BuildRequires: perl(IO::File) >= 1.1 BuildRequires: perl(IPC::Run) >= 0.6 -BuildRequires: perl(File::Which) >= 1.09 +BuildRequires: perl(lib) BuildRequires: perl(LWP::Simple) >= 6 BuildRequires: perl(Parse::RecDescent) >= 1.965001 -BuildRequires: perl(XML::Twig) >= 3.38 -BuildRequires: perl(XML::XPath) >= 1.13 BuildRequires: perl(Pod::Usage) >= 1.16 +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) BuildRequires: perl(Time::HiRes) >= 1.51 - -BuildRequires: graphviz-devel - +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +BuildRequires: perl(XML::Twig) >= 3.38 +BuildRequires: perl(XML::XPath) >= 1.13 # optional test -BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod) >= 1.45 # not autodetected Requires: graphviz -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %{?perl_default_filter} @@ -54,26 +53,27 @@ find lib t -type f -exec chmod -c -x {} \; sed -i -e 's|#!.*perl|#!/usr/bin/perl|' examples/primes_aux.pl examples/clusters2.pl %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -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 %files -%doc CHANGES README examples/ +%doc Changes README examples/ %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Wed Nov 12 2014 Jitka Plesnikova - 2.16-1 +- 2.16 bump +- Modernize spec file + * Fri Aug 29 2014 Jitka Plesnikova - 2.14-6 - Perl 5.20 rebuild @@ -103,7 +103,7 @@ make test * Mon Jun 18 2012 Petr Pisar - 2.10-2 - Perl 5.16 rebuild -* Tue Mar 03 2012 Ralf Corsépius - 2.10-1 +* Tue Apr 03 2012 Ralf Corsépius - 2.10-1 - Upstream update. * Sun Jan 15 2012 Ralf Corsépius - 2.09-1 diff --git a/sources b/sources index a6ab05b..edd9d3d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c401c26a2695d82f3cb1878bbef2d7b1 GraphViz-2.14.tgz +45954ab14ed5e5d2af0d7edaf982c927 GraphViz-2.16.tgz