Simplify build and install phases

This commit is contained in:
Michal Josef Špaček 2022-12-04 15:03:03 +01:00
parent 9413003851
commit e450d6d1c5

View File

@ -58,11 +58,11 @@ for F in t/*.t; do
done
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
make pure_install DESTDIR=%{buildroot}
%{make_install}
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
@ -88,6 +88,7 @@ make test
%changelog
* Sun Dec 04 2022 Michal Josef Špaček <mspacek@redhat.com> - 0.016-17
- Package tests
- Simplify build and install phases
- Update license to SPDX format
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.016-16