Simplify build and install phases
This commit is contained in:
parent
dafd77b838
commit
7fb222e9d6
@ -68,12 +68,11 @@ into class names. Optionally it instantiates those classes for you.
|
|||||||
find -type f -exec chmod -x {} +
|
find -type f -exec chmod -x {} +
|
||||||
|
|
||||||
%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 DESTDIR=%{buildroot}
|
%{make_install}
|
||||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
||||||
%{_fixperms} %{buildroot}/*
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -86,6 +85,7 @@ make test
|
|||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Dec 01 2022 Michal Josef Špaček <mspacek@redhat.com> - 2:5.2-22
|
* Thu Dec 01 2022 Michal Josef Špaček <mspacek@redhat.com> - 2:5.2-22
|
||||||
|
- Simplify build and install phases
|
||||||
- Update license to SPDX format
|
- Update license to SPDX format
|
||||||
|
|
||||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-21
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-21
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user