Simplify build and install phases
This commit is contained in:
parent
50e6c7fe48
commit
8ad00050b0
@ -33,13 +33,12 @@ want in their MANIFEST files. The SKIP file is generated each time that you
|
||||
%setup -q -n Module-Install-ManifestSkip-%{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=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
%{make_install}
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
@ -52,6 +51,7 @@ make test
|
||||
|
||||
%changelog
|
||||
* Sun Dec 11 2022 Michal Josef Špaček <mspacek@redhat.com> - 0.24-25
|
||||
- Simplify build and install phases
|
||||
- Update license to SPDX format
|
||||
- Use %license macro
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user