Accepting request 690481 from home:jengelh:branches:Java:packages

- Adjust RPM groups. Avoid bashisms in %postun.

OBS-URL: https://build.opensuse.org/request/show/690481
OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven?expand=0&rev=5
This commit is contained in:
Fridrich Strba 2019-04-02 05:01:55 +00:00 committed by Git OBS Bridge
parent f6c0c94678
commit 445bacb2b2
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 1 23:29:07 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Adjust RPM groups. Avoid bashisms in %postun.
-------------------------------------------------------------------
Fri Mar 29 07:58:04 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -171,7 +171,7 @@ Core part of Apache Maven that can be used as a library.
%package javadoc
Summary: API documentation for %{name}
Group: Development/Tools/Building
Group: Documentation/HTML
BuildArch: noarch
%description javadoc
@ -366,7 +366,7 @@ update-alternatives --install %{_bindir}/mvn mvn %{homedir}/bin/mvn %{?maven_alt
--slave %{_mandir}/man1/mvnDebug.1.gz mvnDebug1 %{homedir}/bin/mvn.1.gz \
%postun
if [[ $1 -eq 0 ]]; then
if [ $1 -eq 0 ]; then
update-alternatives --remove %{name} %{homedir}/bin/mvn
fi