68 lines
1.9 KiB
RPMSpec
68 lines
1.9 KiB
RPMSpec
Name: perl-ExtUtils-Install
|
|
Version: 2.20
|
|
Release: 1
|
|
Summary: Install Perl files from here to there
|
|
License: GPL+ or Artistic
|
|
URL: https://metacpan.org/release/ExtUtils-Install
|
|
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/ExtUtils-Install-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: coreutils make
|
|
BuildRequires: perl-interpreter perl-generators
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
BuildRequires: perl(lib) perl(strict) sed
|
|
BuildRequires: perl(AutoSplit) perl(Carp) perl(Config)
|
|
BuildRequires: perl(Cwd) perl(Exporter) perl(File::Basename)
|
|
BuildRequires: perl(File::Compare) perl(File::Copy) perl(File::Find)
|
|
BuildRequires: perl(File::Path) perl(File::Spec) perl(vars)
|
|
BuildRequires: perl(diagnostics) perl(ExtUtils::MM)
|
|
BuildRequires: perl(File::Temp) perl(Test::More)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
Requires: perl(AutoSplit) perl(Data::Dumper) perl(File::Compare)
|
|
Recommends: perl(POSIX)
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%description
|
|
Perl modules installing and uninstalling
|
|
|
|
%package help
|
|
Summary: Documents for %{name}
|
|
Buildarch: noarch
|
|
Requires: man
|
|
|
|
%description help
|
|
Man pages and other related documents for %{name}.
|
|
|
|
%prep
|
|
%autosetup -n ExtUtils-Install-%{version} -p1
|
|
rm -rf t/lib/Test
|
|
sed -i -e '/^t\/lib\/Test\//d' MANIFEST
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
%make_build
|
|
|
|
%install
|
|
make pure_install DESTDIR=%{buildroot}
|
|
%{_fixperms} %{buildroot}
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%doc Changes README
|
|
%{perl_vendorlib}/*
|
|
|
|
%files help
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Fri Jan 29 2021 yuanxin <yuanxin24@huawei.com> - 2.20-1
|
|
- upgrade version to 2.20
|
|
|
|
* Wed Jul 23 2020 xinghe <xinghe1@huawei.com> - 2.16-1
|
|
- update version to 2.16
|
|
|
|
* Sat Sep 14 2019 zhangsaisai <zhangsaisai@huawei.com> - 2.14-419
|
|
- Package Init
|