public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Graph] epel10: 0.9712 bump; Modernize spec
@ 2026-08-07  9:20 Jitka Plesnikova
  0 siblings, 0 replies; only message in thread
From: Jitka Plesnikova @ 2026-08-07  9:20 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/perl-Graph
Branch : epel10
Commit : 653ecb5ada73afebd2d682057ec72debe27ac2c6
Author : Jitka Plesnikova <jplesnik@redhat.com>
Date   : 2020-12-08T14:38:49+01:00
Stats  : +32/-26 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Graph/c/653ecb5ada73afebd2d682057ec72debe27ac2c6?branch=epel10

Log:
0.9712 bump; Modernize spec

---
diff --git a/.gitignore b/.gitignore
index a6e77ed..cbf4af7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 Graph-0.91.tar.gz
 /Graph-0.96.tar.gz
 /Graph-0.9704.tar.gz
+/Graph-0.9712.tar.gz

diff --git a/perl-Graph.spec b/perl-Graph.spec
index 538db9a..b92c857 100644
--- a/perl-Graph.spec
+++ b/perl-Graph.spec
@@ -1,45 +1,52 @@
-%global cpan_version 0.9704
+%global cpan_version 0.9712
 
 Name:           perl-Graph
 # Keep 2-digit precision
 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
 
 License:        GPL+ or Artistic
 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
 BuildRequires:  coreutils
 BuildRequires:  findutils
 BuildRequires:  make
-BuildRequires:  perl-interpreter
 BuildRequires:  perl-generators
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl-interpreter
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+BuildRequires:  sed
 # Run-time
-BuildRequires:  perl(AutoLoader)
+BuildRequires:  perl(B::Deparse) >= 0.61
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Heap::Fibonacci) >= 0.80
 BuildRequires:  perl(List::Util)
 BuildRequires:  perl(overload)
 BuildRequires:  perl(Safe)
 BuildRequires:  perl(Scalar::Util)
-BuildRequires:  perl(strict)
+BuildRequires:  perl(Storable) >= 2.05
 BuildRequires:  perl(vars)
-BuildRequires:  perl(warnings)
 # Tests
-BuildRequires:  perl(B::Deparse) >= 0.61
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Getopt::Long)
 BuildRequires:  perl(lib)
 BuildRequires:  perl(Math::Complex)
-BuildRequires:  perl(Storable) >= 2.05
-BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::More) >= 0.82
 BuildRequires:  perl(Text::Abbrev)
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires:  perl(Carp)
+# Optional tests
+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
 This is Graph, a Perl module for dealing with graphs, the abstract
@@ -60,23 +67,17 @@ chmod 644 util/cover.sh
 
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor 
-make %{?_smp_mflags}
-
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -a \( -name .packlist \
-  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-
+%{make_install}
+find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
+%{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
-
-
 %files
 %doc README RELEASE DESIGN Changes TODO util
 %{perl_vendorlib}/*
@@ -84,6 +85,10 @@ make test
 
 
 %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
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
 

diff --git a/sources b/sources
index 635fb34..42bb42e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1ab4e49420e56eeb1bc81d842aa8f3af  Graph-0.9704.tar.gz
+SHA512 (Graph-0.9712.tar.gz) = 9175e74ccc543578aabdae0eee7f1a0649197e5fad1252f2594f4d0c5e48d6a353460ad38dd63f4d5cdb3e21e19d1aa98f1be2f2253d438060d9069a246eb366

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-07  9:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07  9:20 [rpms/perl-Graph] epel10: 0.9712 bump; Modernize spec Jitka Plesnikova

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox