Simplify build and install phase

This commit is contained in:
Michal Josef Špaček 2022-11-28 15:41:53 +01:00
parent 19cf47ec4f
commit e2a314faf8

View File

@ -38,12 +38,11 @@ Red Hat Package (RPM) based Linux distributions.
%setup -q -n Fedora-VSP-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{make_install}
%{_fixperms} %{buildroot}/*
%check
@ -56,6 +55,7 @@ make test
%changelog
* Mon Nov 28 2022 Michal Josef Špaček <mspacek@redhat.com> - 0.001-30
- Simplify build and install phase
- Update license to SPDX format
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.001-29