fix %pre scriptlet
This commit is contained in:
parent
fe6fc82d35
commit
c6e51d06eb
@ -7,7 +7,7 @@
|
|||||||
Summary: Linux kernel and C library user-space interface documentation
|
Summary: Linux kernel and C library user-space interface documentation
|
||||||
Name: man-pages
|
Name: man-pages
|
||||||
Version: 5.04
|
Version: 5.04
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE
|
License: GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE
|
||||||
URL: http://www.kernel.org/doc/man-pages/
|
URL: http://www.kernel.org/doc/man-pages/
|
||||||
Source: http://www.kernel.org/pub/linux/docs/man-pages/man-pages-%{version}.tar.xz
|
Source: http://www.kernel.org/pub/linux/docs/man-pages/man-pages-%{version}.tar.xz
|
||||||
@ -92,7 +92,7 @@ touch %{buildroot}%{_mandir}/man7/man.7
|
|||||||
|
|
||||||
%pre
|
%pre
|
||||||
# remove alternativized files if they are not symlinks
|
# remove alternativized files if they are not symlinks
|
||||||
[ -L %{_mandir}/man7/man.7.gz ] || rm -f %{_mandir}/man7/man.7.gz
|
[ -L %{_mandir}/man7/man.7.gz ] || %{__rm} -f %{_mandir}/man7/man.7.gz >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# set up the alternatives files
|
# set up the alternatives files
|
||||||
@ -118,6 +118,9 @@ fi
|
|||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Mar 01 2020 Nikola Forró <nforro@redhat.com> - 5.04-6
|
||||||
|
- fix %pre scriptlet
|
||||||
|
|
||||||
* Fri Feb 28 2020 Nikola Forró <nforro@redhat.com> - 5.04-5
|
* Fri Feb 28 2020 Nikola Forró <nforro@redhat.com> - 5.04-5
|
||||||
- fix upgrades from non-alternativized versions
|
- fix upgrades from non-alternativized versions
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user