Don't install mvnyjp in bindir

mvnyjp is not functional without proprietary YJP software.
Let's not expose it in bindir.
This commit is contained in:
Mikolaj Izdebski 2018-03-15 14:02:41 +01:00
parent e1d6879fb2
commit 09c0f9ce56
2 changed files with 5 additions and 3 deletions

View File

@ -5,7 +5,7 @@
Name: maven
Epoch: 1
Version: 3.5.2
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Java project management and project comprehension tool
License: ASL 2.0
URL: http://maven.apache.org/
@ -213,7 +213,7 @@ build-jar-repository -s -p %{buildroot}%{_datadir}/%{name}/lib \
rm %{buildroot}%{_datadir}/%{name}/lib/jboss-interceptors*.jar
rm %{buildroot}%{_datadir}/%{name}/lib/javax.el-api*.jar
for cmd in mvn mvnDebug mvnyjp; do
for cmd in mvn mvnDebug; do
ln -s %{_datadir}/%{name}/bin/$cmd %{buildroot}%{_bindir}/$cmd
echo ".so man1/mvn.1" >%{buildroot}%{_mandir}/man1/$cmd.1
done
@ -246,6 +246,9 @@ ln -sf %{_sysconfdir}/%{name}/logging %{buildroot}%{_datadir}/%{name}/conf
%changelog
* Thu Mar 15 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.5.2-5
- Don't install mvnyjp in bindir
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:3.5.2-4
- Escape macros in %%changelog

1
mvn.1
View File

@ -4,7 +4,6 @@ mvn \- software project management and comprehension tool
.SH DESCRIPTION
usage: mvn [options] [<goal(s)>] [<phase(s)>]
usage: mvnDebug [options] [<goal(s)>] [<phase(s)>]
usage: mvnyjp [options] [<goal(s)>] [<phase(s)>]
.SH OPTIONS
.TP
\fB\-am\fR,\-\-also\-make