* Fri Jan 24 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.68-3.sme

- improve spec for koji builder
This commit is contained in:
Jean-Philippe Pialasse 2025-01-24 13:20:33 -05:00
parent 021b5f7063
commit 927371c08f
2 changed files with 48 additions and 7 deletions

View File

@ -1 +0,0 @@
sme11

View File

@ -1,20 +1,59 @@
Name: perl-Scalar-List-Utils
Version: 1.68
Release: 2%{?dist}
Summary: Distribution of general-utility subroutines
Release: 3%{?dist}
Summary: A selection of general-utility scalar and list subroutines
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Scalar-List-Utils/
Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/Scalar-List-Utils-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl >= 0:5.006
# Build
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::Manifest)
BuildRequires: perl(inc::Module::Install)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(File::Spec)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Runtime
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(XSLoader)
# Tests only
BuildRequires: perl(B::Deparse)
BuildRequires: perl(base)
BuildRequires: perl(constant)
BuildRequires: perl(IO::File)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(List::Util)
BuildRequires: perl(Math::BigInt)
BuildRequires: perl(overload)
BuildRequires: perl(Symbol)
BuildRequires: perl(Sub::Util)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(threads)
BuildRequires: perl(threads::shared)
BuildRequires: perl(Tie::Handle)
BuildRequires: perl(Tie::Scalar)
BuildRequires: perl(Tie::StdScalar)
BuildRequires: perl(vars)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Requires: perl(Carp)
%{?perl_default_filter}
%description
This package contains a selection of subroutines that people have expressed
would be nice to have in the perl core, but the usage would not really be
high enough to warrant the use of a keyword, and the size so small such
that being individual extensions would be wasteful.
Scalar::List::Utils does nothing on its own. It is packaged with several
useful modules.
@ -22,7 +61,7 @@ useful modules.
%setup -q -n Scalar-List-Utils-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
make %{?_smp_mflags}
%install
@ -52,6 +91,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*
%changelog
* Fri Jan 24 2025 Jean-Philippe Pialasse <jpp@koozali.org> 1.68-3.sme
- improve spec for koji builder
* Tue Jan 21 2025 Trevor Batley<trevorb@koozali.org> 1.68-2.el8.sme
- fix missing files as per openfusion spec file