2019-12-14 21:08:27 +08:00
|
|
|
Name: perl-generators
|
|
|
|
|
Version: 1.10
|
2020-08-13 21:06:05 +08:00
|
|
|
Release: 11
|
2019-12-14 21:08:27 +08:00
|
|
|
Summary: RPM Perl dependencies generators
|
|
|
|
|
License: GPL+
|
|
|
|
|
URL: http://jplesnik.fedorapeople.org/generators
|
|
|
|
|
Source0: %{url}/generators-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: coreutils findutils make
|
|
|
|
|
BuildRequires: perl-interpreter >= 4:5.22.0
|
2020-08-13 15:40:48 +08:00
|
|
|
%if !%{defined perl_bootstrap}
|
2019-12-14 21:08:27 +08:00
|
|
|
BuildRequires: perl-generators
|
2020-08-13 15:40:48 +08:00
|
|
|
%endif
|
2019-12-14 21:08:27 +08:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(File::Copy)
|
2020-08-13 21:06:05 +08:00
|
|
|
BuildRequires: perl(strict) perl(Fedora::VSP)
|
2019-12-14 21:08:27 +08:00
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: sed
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
Requires: perl-interpreter >= 4:5.22.0
|
|
|
|
|
Requires: perl-macros
|
2020-08-13 21:06:05 +08:00
|
|
|
%if %{defined perl_bootstrap}
|
|
|
|
|
Requires: perl(Fedora::VSP)
|
|
|
|
|
%endif
|
2019-12-14 21:08:27 +08:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This package provides RPM Perl dependencies generators which are used for
|
|
|
|
|
getting provides and requires from Perl binaries and modules.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n generators-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 INSTALLVENDORSCRIPT=%{_rpmconfigdir}
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_rpmconfigdir}/fileattrs/
|
|
|
|
|
install -p -m 644 fileattrs/* '%{buildroot}%{_rpmconfigdir}/fileattrs'
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes TODO
|
|
|
|
|
%{_rpmconfigdir}/perl.*
|
|
|
|
|
%{_rpmconfigdir}/fileattrs/perl*.attr
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-08-13 21:06:05 +08:00
|
|
|
* Thu Aug 13 2020 shenyangyang <shenyangyang4@huawei.com> - 1.10-11
|
|
|
|
|
- Add build requires and requires of perl(Fedora::VSP) when perl bootstrap
|
|
|
|
|
|
2020-08-13 15:40:48 +08:00
|
|
|
* Thu Aug 13 2020 shenyangyang <shenyangyang4@huawei.com> - 1.10-10
|
|
|
|
|
- Add perl_bootstrap for perl bootstrap
|
|
|
|
|
|
2020-04-03 10:26:26 +08:00
|
|
|
* Fri 03 Apr 2020 daiqianwen <daiqianwen@huawei.com> - 1.10-9
|
|
|
|
|
- delete useless buildrequires
|
|
|
|
|
|
2019-12-14 21:08:27 +08:00
|
|
|
* Wed Nov 27 2019 hexiaowen <hexiaowen@huawei.com> - 1.10-8
|
|
|
|
|
- add buildrequires perl-Test-More
|
|
|
|
|
|
|
|
|
|
* Wed Nov 27 2019 hexiaowen <hexiaowen@huawei.com> - 1.10-2
|
|
|
|
|
- add bootstrap
|
|
|
|
|
|
|
|
|
|
* Tue Aug 27 2019 hexiaowen <hexiaowen@huawei.com> - 1.10-1
|
|
|
|
|
- Package init.
|