diff --git a/perl-Bit-Vector.spec b/perl-Bit-Vector.spec index 37b691a..9ffb63a 100644 --- a/perl-Bit-Vector.spec +++ b/perl-Bit-Vector.spec @@ -4,7 +4,7 @@ Release: 27%{?dist} Summary: Efficient bit vector, set of integers and "big int" math library # Outdated FSF address reported, rt#85827 # Clarified by a private mail from the author: -License: (GPLv2+ or Artistic) and LGPLv2+ +License: ( GPL-2.0-or-later OR Artistic-1.0-Perl ) AND LGPL-2.0-or-later URL: https://metacpan.org/release/Bit-Vector Source0: https://cpan.metacpan.org/authors/id/S/ST/STBEY/Bit-Vector-%{version}.tar.gz BuildRequires: findutils @@ -44,10 +44,8 @@ widespread use of divide-and-conquer algorithms. %prep %setup -q -n Bit-Vector-%{version} chmod -c 644 examples/*.pl -perl -MConfig -pi -e 's|^#!/usr/local/bin/perl\b|$Config{startperl}|' \ - examples/benchmk1.pl -perl -MConfig -pi -e 's|^#!perl\b|$Config{startperl}|' \ - examples/{benchmk{2,3},primes,SetObject}.pl +perl -MConfig -pi -e 's|^#!.*perl\b|$Config{startperl}|' \ + examples/{benchmk{1,2,3},primes,SetObject}.pl %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" \