diff --git a/.gitignore b/.gitignore index 9235fe4..a6e77ed 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ Graph-0.91.tar.gz /Graph-0.96.tar.gz +/Graph-0.9704.tar.gz diff --git a/perl-Graph.spec b/perl-Graph.spec index bb9c00b..465c4c9 100644 --- a/perl-Graph.spec +++ b/perl-Graph.spec @@ -1,15 +1,21 @@ +%global cpan_version 0.9704 + Name: perl-Graph -Version: 0.96 -Release: 6%{?dist} +# Keep 2-digit precision +Version: %(echo '%{cpan_version}' | sed 's/\(\...\)\(.\)/\1.\2/') +Release: 1%{?dist} Summary: Perl module for dealing with graphs, the abstract data structures Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Graph/ -Source0: http://www.cpan.org/authors/id/J/JH/JHI/Graph-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/J/JH/JHI/Graph-%{cpan_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Getopt::Long) @@ -25,13 +31,14 @@ BuildRequires: perl(Safe) BuildRequires: perl(Scalar::Util) BuildRequires: perl(strict) BuildRequires: perl(vars) +BuildRequires: perl(warnings) # Tests +BuildRequires: perl(B::Deparse) >= 0.61 BuildRequires: perl(lib) BuildRequires: perl(Math::Complex) BuildRequires: perl(Storable) >= 2.05 BuildRequires: perl(Test::More) BuildRequires: perl(Text::Abbrev) -BuildRequires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(Carp) @@ -47,7 +54,7 @@ fully compatible with the 0.2xx series. %prep -%setup -q -n Graph-%{version} +%setup -q -n Graph-%{cpan_version} # avoid extra dependencies chmod 644 util/cover.sh @@ -82,6 +89,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Nov 09 2015 Jitka Plesnikova - 0.97.04-1 +- 0.9704 bump + * Thu Jun 18 2015 Fedora Release Engineering - 0.96-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild @@ -158,7 +168,7 @@ rm -rf $RPM_BUILD_ROOT * Sat Aug 18 2007 Alex Lancaster 0.83-1 - Update to latest upstream -* Wed Mar 23 2007 Alex Lancaster 0.81-1 +* Sat Mar 24 2007 Alex Lancaster 0.81-1 - Update to 0.81 * Wed Apr 06 2005 Hunter Matthews 0.59-2 diff --git a/sources b/sources index e0a5af2..635fb34 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -24734ad5a6a20023f3950681f8e9b029 Graph-0.96.tar.gz +1ab4e49420e56eeb1bc81d842aa8f3af Graph-0.9704.tar.gz