summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Flanigan <sflaniga@redhat.com>2010-12-09 18:09:09 +1000
committerSean Flanigan <sflaniga@redhat.com>2010-12-09 18:11:48 +1000
commitb0b929c8d13fe75f2ab3fa82097a8136e0728946 (patch)
treeca59b376e551658d28c1f4d46a6ef971954d593c
parent7bd26a468668ccf8b6cd34277b78ad7b630357cb (diff)
downloadapache-maven-b0b929c8d13fe75f2ab3fa82097a8136e0728946.zip
apache-maven-b0b929c8d13fe75f2ab3fa82097a8136e0728946.tar.gz
apache-maven-b0b929c8d13fe75f2ab3fa82097a8136e0728946.tar.xz
removed .jar linksHEADmaster
-rw-r--r--apache-maven.spec12
1 files changed, 4 insertions, 8 deletions
diff --git a/apache-maven.spec b/apache-maven.spec
index b2f86cf..9c95cab 100644
--- a/apache-maven.spec
+++ b/apache-maven.spec
@@ -4,7 +4,7 @@
%define prj_datadir %{_datadir}/%{name}
Name: apache-maven
Version: 3.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Java project management and project comprehension tool binary
Epoch: 0
@@ -56,13 +56,6 @@ Fedora repo.
%__install -pm 644 conf/settings.xml $RPM_BUILD_ROOT/%{prj_datadir}/conf
%__cp -R lib $RPM_BUILD_ROOT/%{prj_datadir}
%__mkdir -p $RPM_BUILD_ROOT/%{prj_javadir}
-cd $RPM_BUILD_ROOT
-for jFile in %{prj_datadir}/lib/*.jar; do
-# package name
- PNAME=`basename $jFile | sed -e 's/^\([A-Za-z-]*\)-\([0-9].*\)\.jar/\1/'`
- %__ln_s $jFile $RPM_BUILD_ROOT/%{prj_javadir}/$PNAME.jar
-done
-cd -
%__mkdir -p $RPM_BUILD_ROOT/%{profile_d_dir}
%__cat >>$RPM_BUILD_ROOT/%{profile_d_dir}/apache-maven.sh <<EOF
@@ -95,6 +88,9 @@ EOF
%changelog
+* Thu Dec 9 2010 Sean Flanigan <sflaniga at redhat dot com> - 0:3.0-3
+- Removed broken .jar links
+
* Thu Dec 2 2010 Sean Flanigan <sflaniga at redhat dot com> - 0:3.0-2
- Add java-devel to Requires.