Accepting request 1001264 from Java:packages

manpages position fix

OBS-URL: https://build.opensuse.org/request/show/1001264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/maven?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2022-09-05 19:22:16 +00:00 committed by Git OBS Bridge
commit 606d1e09f6
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 29 08:50:39 UTC 2022 - Thorsten Kukuk <kukuk@suse.com>
- Move mvn.1 from bin to man directory
-------------------------------------------------------------------
Mon Jul 25 12:13:39 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -341,8 +341,6 @@ build-jar-repository -p %{buildroot}%{homedir}/boot \
xmvn-subst -R %{buildroot} -s %{buildroot}%{homedir}
install -p -m 644 %{SOURCE2} %{buildroot}%{homedir}/bin/
gzip -9 %{buildroot}%{homedir}/bin/mvn.1
install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/bash-completion/completions/mvn%{?maven_version_suffix}
mv %{buildroot}%{homedir}/bin/m2.conf %{buildroot}%{_sysconfdir}/m2%{?maven_version_suffix}.conf
ln -sf %{_sysconfdir}/m2%{?maven_version_suffix}.conf %{buildroot}%{homedir}/bin/m2.conf
@ -355,7 +353,7 @@ install -d -m 0755 %{buildroot}%{_bindir}
ln -sf %{homedir}/bin/mvn %{buildroot}%{_bindir}/
ln -sf %{homedir}/bin/mvnDebug %{buildroot}%{_bindir}/
install -d -m 755 %{buildroot}%{_mandir}/man1/
ln -sf %{homedir}/bin/mvn.1.gz %{buildroot}%{_mandir}/man1/
install -p -m 644 %{SOURCE2} %{buildroot}%{_mandir}/man1/
%files lib -f .mfiles
%doc README.md