Accepting request 869480 from Base:System
OBS-URL: https://build.opensuse.org/request/show/869480 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mawk?expand=0&rev=21
This commit is contained in:
commit
1d9b899f4d
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 4 10:41:36 UTC 2021 - Ludwig Nussel <lnussel@suse.de>
|
||||||
|
|
||||||
|
- fix update-alternatives usage. Needs to be in %postun according to
|
||||||
|
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines#update-alternatives_mechanism
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 16 08:19:25 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
|
Wed Dec 16 08:19:25 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package mawk
|
# spec file for package mawk
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
# Copyright (c) 2010 Guido Berhoerster.
|
# Copyright (c) 2010 Guido Berhoerster.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -83,8 +83,8 @@ make %{?_smp_mflags} check
|
|||||||
%endif
|
%endif
|
||||||
--slave %{_mandir}/man1/awk.1.gz awk.1%{?ext_man} %{_mandir}/man1/mawk.1%{?ext_man}
|
--slave %{_mandir}/man1/awk.1.gz awk.1%{?ext_man} %{_mandir}/man1/mawk.1%{?ext_man}
|
||||||
|
|
||||||
%preun
|
%postun
|
||||||
if [ $1 -eq 0 ]; then
|
if [ ! -f %{_bindir}/mawk ]; then
|
||||||
%{_sbindir}/update-alternatives --remove awk %{_bindir}/mawk
|
%{_sbindir}/update-alternatives --remove awk %{_bindir}/mawk
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user