Update license to SPDX format

This commit is contained in:
Jitka Plesnikova 2022-12-21 15:09:23 +01:00
parent 477fa082fa
commit 0976fcdc93

View File

@ -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}" \