diff --git a/perl-PDL.spec b/perl-PDL.spec index 52c4c15..ada3424 100644 --- a/perl-PDL.spec +++ b/perl-PDL.spec @@ -12,9 +12,8 @@ Name: perl-PDL %global cpan_version 2.018 Version: 2.18.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: The Perl Data Language -Group: Development/Libraries License: GPL+ or Artistic Url: http://pdl.perl.org/ Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHM/PDL-%{cpan_version}.tar.gz @@ -39,9 +38,9 @@ BuildRequires: hdf-static hdf-devel BuildRequires: libXi-devel BuildRequires: libXmu-devel BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-devel BuildRequires: perl-generators +BuildRequires: perl-interpreter # perl(Astro::FITS::Header) not packaged yet # Modified perl(Carp) bundled # Modified perl(Carp::Heavy) bundled @@ -51,7 +50,7 @@ BuildRequires: perl(Data::Dumper) >= 2.121 BuildRequires: perl(Devel::CheckLib) BuildRequires: perl(Devel::REPL) BuildRequires: perl(ExtUtils::F77) -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.56 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(File::Spec) >= 0.6 BuildRequires: perl(IO::File) BuildRequires: perl(lib) @@ -193,7 +192,7 @@ CFLAGS="$CFLAGS -ffp-contract=off" %endif # Uncomment to enable PDL::IO::Browser # CFLAGS="$CFLAGS -DNCURSES" -CFLAGS="$CFLAGS" perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$CFLAGS" +CFLAGS="$CFLAGS" perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$CFLAGS" make OPTIMIZE="$CFLAGS" %{?_smp_mflags} %install @@ -201,7 +200,6 @@ make pure_install DESTDIR=%{buildroot} perl -Mblib Doc/scantree.pl %{buildroot}%{perl_vendorarch} perl -pi -e "s|%{buildroot}/|/|g" %{buildroot}%{perl_vendorarch}/PDL/pdldoc.db find %{buildroot}%{perl_vendorarch} -type f -name "*.pm" | xargs chmod -x -find %{buildroot} -type f -name .packlist -delete find %{buildroot} -type f -name '*.bs' -empty -delete chmod -R u+w %{buildroot}/* @@ -211,7 +209,8 @@ export PERL5LIB=`pwd`/blib/lib make test %files -%doc COPYING Changes INTERNATIONALIZATION Known_problems README TODO +%license COPYING +%doc Changes INTERNATIONALIZATION Known_problems README TODO %{_bindir}/* %{perl_vendorarch}/Inline/* %{perl_vendorarch}/PDL* @@ -220,6 +219,9 @@ make test %{_mandir}/man3/*.3* %changelog +* Wed Jan 31 2018 Petr Pisar - 2.18.0-5 +- Modernize spec file + * Thu Aug 03 2017 Fedora Release Engineering - 2.18.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild