[perl-GDGraph] Upstream update.

corsepiu corsepiu at fedoraproject.org
Thu Mar 20 03:57:48 UTC 2014


commit bd12765668e76c8ac90bb19382cfb91140732a89
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Thu Mar 20 04:57:38 2014 +0100

    Upstream update.
    
    - Reflect Source0: having changed.
    - Modernize spec.
    - Fix bogus %changelog entry.

 .gitignore        |    2 +-
 perl-GDGraph.spec |   31 +++++++++++++++++--------------
 sources           |    2 +-
 3 files changed, 19 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7488256..8c7e332 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-GDGraph-1.44.tar.gz
+/GDGraph-1.48.tar.gz
diff --git a/perl-GDGraph.spec b/perl-GDGraph.spec
index beda986..ad7987f 100644
--- a/perl-GDGraph.spec
+++ b/perl-GDGraph.spec
@@ -1,14 +1,13 @@
 Name:           perl-GDGraph
-Version:        1.44
-Release:        17%{?dist}
+Version:        1.48
+Release:        1%{?dist}
 Epoch:          1
 Summary:        Graph generation package for Perl
 
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/GDGraph/
-Source0:        http://www.cpan.org/authors/id/B/BW/BWARFIELD/GDGraph-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://www.cpan.org/authors/id/R/RU/RUZ/GDGraph-%{version}.tar.gz
 
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -20,6 +19,8 @@ BuildRequires:  perl(Exporter)
 BuildRequires:  perl(GD) >= 1.18
 BuildRequires:  perl(GD::Text) >= 0.80
 BuildRequires:  perl(GD::Text::Align)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
 # Tests
 BuildRequires:  perl(Test)
 BuildRequires:  perl(Test::More)
@@ -37,7 +38,9 @@ Requires:       perl(GD::Text) >= 0.80
 
 %prep
 %setup -q -n GDGraph-%{version}
-%{__perl} -pi -e 's{^#!/usr/local/bin/perl\b}{#!%{__perl}}' samples/sample1A.pl
+%{__perl} -pi -e 's{^#!/usr/local/bin/perl\b}{#!%{__perl}}' \
+  samples/sample1A.pl \
+  samples/make_index.pl
 %{__perl} -pi -e 's/\r\n/\n/' samples/sample64.pl
 
 
@@ -47,29 +50,29 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+
+%{_fixperms} $RPM_BUILD_ROOT/*
 
 
 %check
 make test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc CHANGES README samples/
 %{perl_vendorlib}/GD/
 %{_mandir}/man3/*.3pm*
 
 
 %changelog
+* Tue Mar 18 2014 Ralf Corsépius <corsepiu at fedoraproject.org> - 1:1.48-1
+- Upstream update.
+- Reflect Source0: having changed.
+- Modernize spec.
+- Fix bogus %%changelog entry.
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:1.44-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
@@ -141,7 +144,7 @@ rm -rf $RPM_BUILD_ROOT
 * Thu Dec 22 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.4305-1
 - Update to 1.4305.
 
-* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.43-4
+* Wed Apr  6 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.43-4
 - rebuilt
 
 * Sun Jul 11 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.43-0.fdr.3
diff --git a/sources b/sources
index 04a9f1b..85f7867 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a8a4ab62741258803b5744cb8882e68c  GDGraph-1.44.tar.gz
+2c9e4feb4246200d96b9faa8024b0bf0  GDGraph-1.48.tar.gz



More information about the perl-devel mailing list