[perl-GraphViz] Upstream update. Modernize spec-file. Reflect Source0-URL having changed. Add missing BRs.

corsepiu corsepiu at fedoraproject.org
Sun Jan 15 16:44:27 UTC 2012


commit 79b3904c0788e121f4077fe8570efc1a6f718ed7
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Sun Jan 15 17:44:16 2012 +0100

    Upstream update.
    Modernize spec-file.
    Reflect Source0-URL having changed.
    Add missing BRs.

 .gitignore         |    2 +-
 perl-GraphViz.spec |   24 +++++++++++++++---------
 sources            |    2 +-
 3 files changed, 17 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a541dcc..7780529 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-GraphViz-2.04.tar.gz
+/GraphViz-2.09.tgz
diff --git a/perl-GraphViz.spec b/perl-GraphViz.spec
index fc4ddb5..fae7c7e 100644
--- a/perl-GraphViz.spec
+++ b/perl-GraphViz.spec
@@ -1,15 +1,20 @@
 Name:           perl-GraphViz
-Version:        2.04
-Release:        8%{?dist}
+Version:        2.09
+Release:        1%{?dist}
 Summary:        Interface to the GraphViz graphing tool
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/GraphViz/
-Source0:        http://www.cpan.org/authors/id/L/LB/LBROCARD/GraphViz-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://www.cpan.org/authors/id/R/RS/RSAVAGE/GraphViz-%{version}.tgz
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(IPC::Run) >= 0.6
+BuildRequires:  perl(File::Which) >= 1.09
+BuildRequires:  perl(LWP::Simple) >= 6
+BuildRequires:  perl(Parse::RecDescent) >= 1.965001
+BuildRequires:  perl(XML::Twig) >= 3.38
+BuildRequires:  perl(XML::XPath) >= 1.13
+
 BuildRequires:  graphviz-devel
 
 # optional test
@@ -41,8 +46,6 @@ perl -pi -e 's|/usr/local/bin/perl|/usr/bin/perl|' examples/primes_aux.pl
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
 
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
@@ -53,9 +56,6 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %doc CHANGES README examples/
@@ -63,6 +63,12 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*
 
 %changelog
+* Sun Jan 15 2012 Ralf Corsépius <corsepiu at fedoraproject.org> - 2.09-1
+- Upstream update.
+- Modernize spec-file.
+- Reflect Source0-URL having changed.
+- Add missing BRs.
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.04-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 9a4f413..91cc5e7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4ef406a3deca074c2a2b9237e4ae54b0  GraphViz-2.04.tar.gz
+c4519796341dd9f147272baa797cdda9  GraphViz-2.09.tgz


More information about the scm-commits mailing list