|
|
@ -1,45 +1,52 @@
|
|
|
|
%global cpan_version 0.9704
|
|
|
|
%global cpan_version 0.9712
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Graph
|
|
|
|
Name: perl-Graph
|
|
|
|
# Keep 2-digit precision
|
|
|
|
# Keep 2-digit precision
|
|
|
|
Version: %(echo '%{cpan_version}' | sed 's/\(\...\)\(.\)/\1.\2/')
|
|
|
|
Version: %(echo '%{cpan_version}' | sed 's/\(\...\)\(.\)/\1.\2/')
|
|
|
|
Release: 15%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Perl module for dealing with graphs, the abstract data structures
|
|
|
|
Summary: Perl module for dealing with graphs, the abstract data structures
|
|
|
|
|
|
|
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: https://metacpan.org/release/Graph
|
|
|
|
URL: https://metacpan.org/release/Graph
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/J/JH/JHI/Graph-%{cpan_version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETJ/Graph-%{cpan_version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl(Getopt::Long)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
|
|
|
BuildRequires: sed
|
|
|
|
# Run-time
|
|
|
|
# Run-time
|
|
|
|
BuildRequires: perl(AutoLoader)
|
|
|
|
BuildRequires: perl(B::Deparse) >= 0.61
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
|
|
|
BuildRequires: perl(Heap::Fibonacci) >= 0.80
|
|
|
|
BuildRequires: perl(List::Util)
|
|
|
|
BuildRequires: perl(List::Util)
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
BuildRequires: perl(Safe)
|
|
|
|
BuildRequires: perl(Safe)
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(Storable) >= 2.05
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
|
|
|
# Tests
|
|
|
|
# Tests
|
|
|
|
BuildRequires: perl(B::Deparse) >= 0.61
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
|
|
|
BuildRequires: perl(Getopt::Long)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(Math::Complex)
|
|
|
|
BuildRequires: perl(Math::Complex)
|
|
|
|
BuildRequires: perl(Storable) >= 2.05
|
|
|
|
BuildRequires: perl(Test::More) >= 0.82
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
|
|
|
BuildRequires: perl(Text::Abbrev)
|
|
|
|
BuildRequires: perl(Text::Abbrev)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
# Optional tests
|
|
|
|
Requires: perl(Carp)
|
|
|
|
BuildRequires: perl(Devel::Cycle)
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
Requires: perl(Carp)
|
|
|
|
|
|
|
|
Requires: perl(Data::Dumper)
|
|
|
|
|
|
|
|
Requires: perl(Heap::Fibonacci)
|
|
|
|
|
|
|
|
Requires: perl(Safe)
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
This is Graph, a Perl module for dealing with graphs, the abstract
|
|
|
|
This is Graph, a Perl module for dealing with graphs, the abstract
|
|
|
@ -60,23 +67,17 @@ chmod 644 util/cover.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{make_install}
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
|
|
|
find $RPM_BUILD_ROOT -type f -a \( -name .packlist \
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
-o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc README RELEASE DESIGN Changes TODO util
|
|
|
|
%doc README RELEASE DESIGN Changes TODO util
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{perl_vendorlib}/*
|
|
|
@ -84,6 +85,10 @@ make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Dec 08 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.97.12-1
|
|
|
|
|
|
|
|
- 0.9712 bump
|
|
|
|
|
|
|
|
- Modernize spec
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.97.04-15
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.97.04-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|