commit f5f81eec293a84b585a84ce7d53ad423a55db579 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Wed Nov 12 15:52:14 2014 +0100 2.4.8 bump perl-Chart.spec | 43 +++++++++++++++++++++++-------------------- sources | 2 +- 2 files changed, 24 insertions(+), 21 deletions(-) --- diff --git a/perl-Chart.spec b/perl-Chart.spec index e0f2385..0ec8870 100644 --- a/perl-Chart.spec +++ b/perl-Chart.spec @@ -1,17 +1,27 @@ Name: perl-Chart -Version: 2.4.6 -Release: 3%{?dist} +Version: 2.4.8 +Release: 1%{?dist} Summary: Series of charting modules License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Chart/ Source0: http://www.cpan.org/authors/id/C/CH/CHARTGRP/Chart-%{version}.tar.gz -Patch0: Chart-2.4.6-rt79658.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch +# Build +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) +# Runtime +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(FileHandle) BuildRequires: perl(GD) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(GD::Image) +BuildRequires: perl(POSIX) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +# Tests only +BuildRequires: perl(File::Spec) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %description This module is an attempt to build a general purpose graphing module that @@ -20,36 +30,29 @@ all of its graphics primitives calls. %prep %setup -q -n Chart-%{version} - -# Fix for warnings in Perl 5.16+ (CPAN RT#79658) -%patch0 - -chmod -c 644 Chart/*.pm TODO Documentation.pdf -rm -f pm_to_blib +chmod -c 644 TODO %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT -make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -%{_fixperms} $RPM_BUILD_ROOT +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +%{_fixperms} %{buildroot} %check -rm -rf t/{mountain.t,mountain_2.t} make test -%clean -rm -rf $RPM_BUILD_ROOT - %files %doc README TODO Documentation.pdf %{perl_vendorlib}/Chart* %{_mandir}/man3/Chart.3* %changelog +* Wed Nov 12 2014 Petr Šabata <contyk@xxxxxxxxxx> - 2.4.8-1 +- 2.4.8 bump + * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 2.4.6-3 - Perl 5.20 rebuild diff --git a/sources b/sources index 80f3944..2421c54 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -dfcd2b72c56491aa7fc45cd18236de70 Chart-2.4.6.tar.gz +135471939b88ebab1449fcb75d2c75c2 Chart-2.4.8.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel