commit 0e4f2ebdf49169583cbdc03bf66be17279fb7c41 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Tue Jan 6 18:01:51 2015 +0100 1.001 bump .gitignore | 1 + perl-Imager.spec | 89 +++++++++++++++++++++++++++++++++++------------------ sources | 2 +- 3 files changed, 61 insertions(+), 31 deletions(-) --- diff --git a/.gitignore b/.gitignore index 463f9eb..fe6463b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /Imager-1.000.tar.gz +/Imager-1.001.tar.gz diff --git a/perl-Imager.spec b/perl-Imager.spec index 46eb935..e0876df 100644 --- a/perl-Imager.spec +++ b/perl-Imager.spec @@ -1,23 +1,10 @@ Name: perl-Imager -Version: 1.000 -Release: 3%{?dist} +Version: 1.001 +Release: 1%{?dist} Summary: Perl extension for Generating 24 bit Images License: GPL+ or Artistic -Group: Development/Libraries URL: http://search.cpan.org/dist/Imager/ Source0: http://www.cpan.org/authors/id/T/TO/TONYC/Imager-%{version}.tar.gz - -BuildRequires: perl(Affix::Infix2Postfix) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Image::Math::Constrain) -BuildRequires: perl(Inline) -BuildRequires: perl(Parse::RecDescent) -BuildRequires: perl(Scalar::Util) -BuildRequires: perl(Test::More) >= 0.47 -BuildRequires: perl(Test::Pod) >= 1.00 -BuildRequires: perl(Test::Pod::Coverage) >= 1.08 -BuildRequires: perl(CPAN::Meta) - BuildRequires: freetype-devel BuildRequires: giflib-devel BuildRequires: libjpeg-devel @@ -26,8 +13,54 @@ BuildRequires: libtiff-devel BuildRequires: t1lib-devel # rgb.txt, c.f. lib/Imager/Color.pm BuildRequires: rgb - -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# Build +BuildRequires: perl +BuildRequires: perl(Config) +BuildRequires: perl(Cwd) +# Unused BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::Liblist) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(ExtUtils::Manifest) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(lib) +BuildRequires: perl(strict) +BuildRequires: perl(Text::ParseWords) +BuildRequires: perl(vars) +# Runtime +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(File::Basename) +BuildRequires: perl(IO::File) +BuildRequires: perl(IO::Seekable) +BuildRequires: perl(overload) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(XSLoader) +# Tests only +BuildRequires: perl(B) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(POSIX) +BuildRequires: perl(Test::Builder) +BuildRequires: perl(Test::More) +BuildRequires: perl(threads) +BuildRequires: perl(Tie::Handle) +# Optional tests only +BuildRequires: perl(Affix::Infix2Postfix) +BuildRequires: perl(CPAN::Meta) >= 2.110580 +BuildRequires: perl(Image::Math::Constrain) +BuildRequires: perl(Inline) +BuildRequires: perl(Inline::C) +BuildRequires: perl(Parse::RecDescent) +BuildRequires: perl(Test::Pod::Coverage) >= 1.08 +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: rgb +Requires: perl(Devel::CheckLib) +Requires: perl(Exporter) +# Unused Requires: perl(File::Spec) +Requires: perl(XSLoader) %{?perl_default_filter} @@ -42,31 +75,24 @@ Requires: perl-Imager = %{version}-%{release} Summary: perl-Imager's Test module %description Test -%{summary} +%{summary}. %prep %setup -q -n Imager-%{version} - -# fix permissions find \( -executable -a -type f \) -exec chmod -x {} \; -# Adjust shebang sed -i -e "s,#!perl,#! %{__perl}," samples/* %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT - -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} + +%{_fixperms} %{buildroot}/* %check -make test AUTOMATED_TESTING=1 +make test %files %doc Changes README samples @@ -82,6 +108,9 @@ make test AUTOMATED_TESTING=1 %{_mandir}/man3/Imager::Test.3pm* %changelog +* Tue Jan 06 2015 Petr Šabata <contyk@xxxxxxxxxx> - 1.001-1 +- 1.001 bump + * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.000-3 - Perl 5.20 rebuild diff --git a/sources b/sources index 50a11fc..ebce71a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d1243b2a0a339963b77a4876d1351649 Imager-1.000.tar.gz +0771448a31d72a7ba20e9c1360a19020 Imager-1.001.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