Specify all dependencies

This commit is contained in:
Jitka Plesnikova 2023-06-14 11:54:25 +02:00
parent 46c860c101
commit 236b828cb7

View File

@ -8,9 +8,12 @@ URL: https://metacpan.org/release/XML-RegExp
Source0: https://cpan.metacpan.org/authors/id/T/TJ/TJMATHER/XML-RegExp-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(vars)
%description
This package contains an utility module containing regular expressions
@ -24,16 +27,13 @@ Name, NmToken, and AttValue.
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
%check
@ -50,6 +50,7 @@ make test
%changelog
* Thu Jun 01 2023 Michal Josef Špaček <mspacek@redhat.com> - 0.04-30
- Update license to SPDX format
- Specify all dependencies
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.04-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild