diff --git a/maven.spec b/maven.spec index 37de48f..2392e9a 100644 --- a/maven.spec +++ b/maven.spec @@ -7,7 +7,7 @@ Name: maven Epoch: 1 Version: 3.6.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Java project management and project comprehension tool # maven itself is ASL 2.0 # bundled slf4j is MIT @@ -251,7 +251,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 -[[ $1 -eq 0 ]] && update-alternatives --remove %{name} %{homedir}/bin/mvn +[[ $1 -eq 0 ]] && update-alternatives --remove mvn %{homedir}/bin/mvn %files lib -f .mfiles @@ -276,6 +276,9 @@ update-alternatives --install %{_bindir}/mvn mvn %{homedir}/bin/mvn %{?maven_alt %changelog +* Mon Nov 04 2019 Fabio Valentini - 1:3.6.1-2 +- Fix postun scriptlet. + * Wed Oct 16 2019 Fabio Valentini - 1:3.6.1-1 - Update to version 3.6.1.