perl-List-MoreUtils-XS/perl-List-MoreUtils-XS.spec

78 lines
2.2 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:12:41 -04:00
Name : perl-List-MoreUtils-XS
2021-01-26 14:03:44 +08:00
Version: 0.430
2022-07-15 23:44:11 +08:00
Release: 2
2019-09-30 11:12:41 -04:00
Summary: Provide compiled List::MoreUtils functions
License: (GPL+ or Artistic) and ASL 2.0
URL: https://metacpan.org/release/List-MoreUtils-XS
Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-XS-%{version}.tar.gz
BuildRequires: perl-generators perl-interpreter perl(Capture::Tiny) perl(Config::AutoConf) >= 0.315
BuildRequires: coreutils findutils perl(Test::More) >= 0.96 perl(ExtUtils::CBuilder)
2022-07-15 23:44:11 +08:00
BuildRequires: gcc make perl-devel
BuildRequires: perl(base) perl(Exporter) perl(strict) perl(vars) perl(warnings) perl(XSLoader) >= 0.22
BuildRequires: perl(JSON::PP) perl(List::Util) perl(Math::Trig) perl(overload) perl(POSIX) perl(Storable)
BuildRequires: perl(Test::Builder::Module)
2019-09-30 11:12:41 -04:00
Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2))
%description
List::MoreUtils::XS is a backend for List::MoreUtils. Even if it's possible (because of user wishes)
to have it practically independent from List::MoreUtils, it technically depend on List::MoreUtils.
Since it's only a backend, the API is not public and can change without any warning.
%package_help
%prep
%autosetup -n List-MoreUtils-XS-%{version} -p0
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 OPTIMIZE="%{optflags}"
%make_build
%install
%make_install
%{_fixperms} -c %{buildroot}
%check
make test
%pre
%preun
%post
%postun
%files
%defattr(-,root,root)
%license ARTISTIC-1.0 GPL-1 LICENSE
%doc Changes README.md
%{perl_vendorarch}/*
%files help
%defattr(-,root,root)
%doc MAINTAINER.md
%{_mandir}/*/*
%changelog
2022-07-15 23:44:11 +08:00
* Fri Jul 15 2022 misaka00251 <misaka00251@misakanet.cn> - 0.430-2
- Correct BuildRequires in the spec file
2021-01-26 14:03:44 +08:00
* Tue Jan 26 2021 liudabo<liudabo1@huawei.com> - 0.430-1
- upgrade version to 0.430
2020-01-11 17:38:45 +08:00
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.428-7
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: remove unnecessary files
2019-09-30 11:12:41 -04:00
* Sat Sep 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.428-6
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: remove some notes
* Tue Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.428-5
- Package init