use %make_install instead of %makeinstall
... which is deprecated
This commit is contained in:
parent
c7a0df2b5e
commit
0f6b2f98a0
16
zsh.spec
16
zsh.spec
@ -89,12 +89,12 @@ make %{?_smp_mflags} all html
|
||||
make check
|
||||
|
||||
%install
|
||||
%makeinstall install.info \
|
||||
fndir=$RPM_BUILD_ROOT%{_datadir}/%{name}/%{version}/functions \
|
||||
sitefndir=$RPM_BUILD_ROOT%{_datadir}/%{name}/site-functions \
|
||||
scriptdir=$RPM_BUILD_ROOT%{_datadir}/%{name}/%{version}/scripts \
|
||||
sitescriptdir=$RPM_BUILD_ROOT%{_datadir}/%{name}/scripts \
|
||||
runhelpdir=$RPM_BUILD_ROOT%{_datadir}/%{name}/%{version}/help
|
||||
%make_install install.info \
|
||||
fndir=%{_datadir}/%{name}/%{version}/functions \
|
||||
sitefndir=%{_datadir}/%{name}/site-functions \
|
||||
scriptdir=%{_datadir}/%{name}/%{version}/scripts \
|
||||
sitescriptdir=%{_datadir}/%{name}/scripts \
|
||||
runhelpdir=%{_datadir}/%{name}/%{version}/help
|
||||
|
||||
rm -f $RPM_BUILD_ROOT%{_bindir}/zsh-%{version}
|
||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||
@ -116,9 +116,6 @@ for i in checkmail harden run-help zcalc zkbd; do
|
||||
chmod +x $RPM_BUILD_ROOT%{_datadir}/zsh/%{version}/functions/$i
|
||||
done
|
||||
|
||||
sed -i "s!$RPM_BUILD_ROOT%{_datadir}/%{name}/%{version}/help!%{_datadir}/%{name}/%{version}/help!" \
|
||||
$RPM_BUILD_ROOT%{_datadir}/zsh/%{version}/functions/{run-help,_run-help}
|
||||
|
||||
|
||||
%post
|
||||
if [ "$1" = 1 ]; then
|
||||
@ -170,6 +167,7 @@ fi
|
||||
|
||||
%changelog
|
||||
* Tue Aug 01 2017 Kamil Dudka <kdudka@redhat.com> - 5.3.1-12
|
||||
- use %%make_install instead of %%makeinstall, which is deprecated
|
||||
- modernize spec file (Group tag, %%clean, %%defattr)
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.1-11
|
||||
|
Loading…
Reference in New Issue
Block a user