forked from pool/maven
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:
parent
f6c0c94678
commit
445bacb2b2
@ -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>
|
Fri Mar 29 07:58:04 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -171,7 +171,7 @@ Core part of Apache Maven that can be used as a library.
|
|||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
Summary: API documentation for %{name}
|
Summary: API documentation for %{name}
|
||||||
Group: Development/Tools/Building
|
Group: Documentation/HTML
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description javadoc
|
%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 \
|
--slave %{_mandir}/man1/mvnDebug.1.gz mvnDebug1 %{homedir}/bin/mvn.1.gz \
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [[ $1 -eq 0 ]]; then
|
if [ $1 -eq 0 ]; then
|
||||||
update-alternatives --remove %{name} %{homedir}/bin/mvn
|
update-alternatives --remove %{name} %{homedir}/bin/mvn
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user