Fix build dependencies
This commit is contained in:
parent
fdc519bf14
commit
584d610d80
@ -1,27 +1,43 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
|
|
||||||
Name: perl-Sort-Key
|
Name: perl-Sort-Key
|
||||||
Version: 1.33
|
Version: 1.33
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Fastest way to sort anything in Perl
|
Summary: Fastest way to sort anything in Perl
|
||||||
License: GPL-1.0-only or Artistic-1.0-Perl
|
License: GPL-1.0-only or Artistic-1.0-Perl
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/Sort-Key/
|
URL: http://search.cpan.org/dist/Sort-Key/
|
||||||
Source0: http://www.cpan.org/authors/id/S/SA/SALVA/Sort-Key-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/S/SA/SALVA/Sort-Key-%{version}.tar.gz
|
||||||
|
BuildRequires: perl-devel
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(constant)
|
||||||
|
BuildRequires: perl(Exporter)
|
||||||
|
BuildRequires: perl(locale)
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
BuildRequires: perl(XSLoader)
|
||||||
|
BuildRequires: perl(integer)
|
||||||
BuildRequires: perl(Test::More) >= 0.54
|
BuildRequires: perl(Test::More) >= 0.54
|
||||||
Requires: perl(Test::More) >= 0.54
|
Requires: perl(Test::More) >= 0.54
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Sort::Key provides a set of functions to sort lists of values by some
|
Sort::Key provides a set of functions to sort lists of values by some
|
||||||
calculated key value.
|
calculated key value.
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: Fastest way to sort anything in Perl
|
Summary: Fastest way to sort anything in Perl
|
||||||
Provides: perl-Sort-Key-doc
|
Provides: perl-Sort-Key-doc
|
||||||
|
|
||||||
%description help
|
%description help
|
||||||
Sort::Key provides a set of functions to sort lists of values by some
|
Sort::Key provides a set of functions to sort lists of values by some
|
||||||
calculated key value.
|
calculated key value.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Sort-Key-%{version}
|
%setup -q -n Sort-Key-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export PERL_MM_OPT=""
|
export PERL_MM_OPT=""
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||||
@ -56,6 +72,7 @@ if [ -d usr/lib ];then
|
|||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
mv %{buildroot}/filelist.lst .
|
mv %{buildroot}/filelist.lst .
|
||||||
|
|
||||||
%check || :
|
%check || :
|
||||||
make test
|
make test
|
||||||
|
|
||||||
@ -67,9 +84,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc Changes META.json README
|
%doc Changes META.json README
|
||||||
%{perl_vendorarch}/auto/*
|
%{perl_vendorarch}/auto/*
|
||||||
%{perl_vendorarch}/Sort*
|
%{perl_vendorarch}/Sort*
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%{_mandir}/*
|
%{_mandir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 24 2022 misaka00251 <liuxin@iscas.ac.cn> - 1.33-2
|
||||||
|
- Fix build dependencies
|
||||||
|
|
||||||
* Sun May 23 2021 Perl_Bot <Perl_Bot@openeuler.org> 1.33-1
|
* Sun May 23 2021 Perl_Bot <Perl_Bot@openeuler.org> 1.33-1
|
||||||
- Specfile autogenerated by Perl_Bot
|
- Specfile autogenerated by Perl_Bot
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user