From 09c0f9ce5618725cbefb09f777cac1e4e43e9797 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 15 Mar 2018 14:02:41 +0100 Subject: [PATCH] Don't install mvnyjp in bindir mvnyjp is not functional without proprietary YJP software. Let's not expose it in bindir. --- maven.spec | 7 +++++-- mvn.1 | 1 - 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/maven.spec b/maven.spec index 6535275..2b5db4f 100644 --- a/maven.spec +++ b/maven.spec @@ -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 - 1:3.5.2-5 +- Don't install mvnyjp in bindir + * Fri Feb 09 2018 Igor Gnatenko - 1:3.5.2-4 - Escape macros in %%changelog diff --git a/mvn.1 b/mvn.1 index 53175fd..1363cd6 100644 --- a/mvn.1 +++ b/mvn.1 @@ -4,7 +4,6 @@ mvn \- software project management and comprehension tool .SH DESCRIPTION usage: mvn [options] [] [] usage: mvnDebug [options] [] [] -usage: mvnyjp [options] [] [] .SH OPTIONS .TP \fB\-am\fR,\-\-also\-make