Simplify build and install phase
This commit is contained in:
parent
856d19d5a4
commit
8f6fda4033
@ -32,14 +32,12 @@ rm -r inc
|
|||||||
sed -i -e '/^inc/ d' MANIFEST
|
sed -i -e '/^inc/ d' MANIFEST
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||||
make %{?_smp_mflags}
|
%{make_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
%{make_install}
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
%{_fixperms} %{buildroot}/*
|
||||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@ -51,6 +49,7 @@ make test
|
|||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Dec 08 2022 Michal Josef Špaček <mspacek@redhat.com> - 0.02-30
|
* Thu Dec 08 2022 Michal Josef Špaček <mspacek@redhat.com> - 0.02-30
|
||||||
|
- Simplify build and install phase
|
||||||
- Update license to SPDX format
|
- Update license to SPDX format
|
||||||
|
|
||||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.02-29
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.02-29
|
||||||
|
Loading…
Reference in New Issue
Block a user