Name: perl-Spooky-Patterns-XS Version: 1.55 Release: %autorelease %define cpan_name Spooky-Patterns-XS Summary: Spooky::Patterns::XS Perl module License: GPL-2.0-or-later URL: https://github.com/openSUSE/Spooky-Patterns-XS Source0: https://github.com/openSUSE/Spooky-Patterns-XS/archive/%{version}/Spooky-Patterns-XS-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: gcc BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Algorithm::Diff) BuildRequires: perl(File::Slurp) BuildRequires: perl(Test::Deep) #ExclusiveArch: x86_64 aarch64 %description XS module for faster license lookup (not really generally useful). %prep %autosetup -n Spooky-Patterns-XS-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %check make test %install %{make_install} find %{buildroot} -type f -name '*.bs' -empty -delete %{_fixperms} %{buildroot}/* #make PREFIX="%buildroot/%_prefix" \ # ="%buildroot/%_prefix" \ # INSTALLMAN1DIR="%buildroot/%_mandir/man1" \ # INSTALLMAN3DIR="%buildroot/%_mandir/man3" \ # install #%perl_process_packlist #%perl_gen_filelist %files %doc Changes patterns_impl.cc SpookyV2.cpp %license COPYING %{perl_vendorarch}/Spooky/ %{perl_vendorarch}/auto/Spooky/ %changelog %autochangelog