diff --git a/maven.changes b/maven.changes index 9f30637..b5de266 100644 --- a/maven.changes +++ b/maven.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 1 23:29:07 UTC 2019 - Jan Engelhardt + +- Adjust RPM groups. Avoid bashisms in %postun. + ------------------------------------------------------------------- Fri Mar 29 07:58:04 UTC 2019 - Fridrich Strba diff --git a/maven.spec b/maven.spec index 1f7434b..23199e8 100644 --- a/maven.spec +++ b/maven.spec @@ -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