|
|
|
@ -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 <jplesnik@redhat.com> - 0.97.04-1
|
|
|
|
|
- 0.9704 bump
|
|
|
|
|
|
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 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 <alexl@users.sourceforge.net> 0.83-1
|
|
|
|
|
- Update to latest upstream
|
|
|
|
|
|
|
|
|
|
* Wed Mar 23 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.81-1
|
|
|
|
|
* Sat Mar 24 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.81-1
|
|
|
|
|
- Update to 0.81
|
|
|
|
|
|
|
|
|
|
* Wed Apr 06 2005 Hunter Matthews <thm@duke.edu> 0.59-2
|
|
|
|
|