[Bug 669495] New: problem in depmap
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: problem in depmap
https://bugzilla.redhat.com/show_bug.cgi?id=669495
Summary: problem in depmap
Product: Fedora
Version: rawhide
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: medium
Priority: low
Component: plexus-mail-sender
AssignedTo: sochotni(a)redhat.com
ReportedBy: omajid(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: akurtako(a)redhat.com, sochotni(a)redhat.com,
java-sig-commits(a)lists.fedoraproject.org
Classification: Fedora
Target Release: ---
Description of problem:
There is some sort of problem with the depmap supplied with plexus-mail-sender
that prevents some applications that depend on plexus-mail-sender from building
Version-Release number of selected component (if applicable):
plexus-mail-sender.noarch 0:1.0-0.a2.17.fc15
How reproducible:
Every time.
Steps to Reproduce:
1. Build an application that requires plexus-mail-sender-api
Actual results:
Build fails with this error
1) org.codehaus.plexus:plexus-mail-sender-api:jar:1.0-alpha-2-SNAPSHOT
(snip)
Path to dependency:
1) org.apache.maven.plugins:maven-changes-plugin:maven-plugin:DUMMY_VER
2) plexus:plexus-mail-sender-javamail:jar:1.0-alpha-2
3) org.codehaus.plexus:plexus-mail-sender-api:jar:1.0-alpha-2-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.maven.plugins:maven-changes-plugin:maven-plugin:DUMMY_VER
from the specified remote repositories:
apache.snapshots (http://people.apache.org/maven-snapshot-repository),
central (http://repo1.maven.org/maven2),
__jpp_repo__ (file:///usr/share/maven2/repository)
Expected results:
Package builds.
Additional info:
See bug 665544 for an application that uses a custom depmap to work around this
problem:
<dependency>
<maven>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-mail-sender-api</artifactId>
<version>1.0-alpha-2</version>
</maven>
<jpp>
<groupId>JPP/plexus</groupId>
<artifactId>mail-sender-api</artifactId>
<version>1.0</version>
</jpp>
</dependency>
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
13 years, 3 months
[plexus-mail-sender] Add update_maven_depmap execution to post/postun (#669495)
by Stanislav Ochotnicky
commit a20c0f407344239644f13646941f8ab7cd3b6936
Author: Stanislav Ochotnicky <sochotnicky(a)redhat.com>
Date: Wed Jan 19 12:21:16 2011 +0100
Add update_maven_depmap execution to post/postun (#669495)
plexus-mail-sender.spec | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/plexus-mail-sender.spec b/plexus-mail-sender.spec
index f5910fc..3a161ce 100644
--- a/plexus-mail-sender.spec
+++ b/plexus-mail-sender.spec
@@ -32,7 +32,7 @@
Name: plexus-mail-sender
Version: 1.0
-Release: 0.a2.17%{?dist}
+Release: 0.a2.18%{?dist}
Epoch: 0
Summary: Plexus Mail Sender
License: MIT and ASL 1.1
@@ -141,6 +141,13 @@ install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
cp -pr target/site/apidocs/* \
$RPM_BUILD_ROOT%{_javadocdir}/%{name}
+%post
+%update_maven_depmap
+
+%postun
+%update_maven_depmap
+
+
%files
%defattr(-,root,root,-)
%{_mavendepmapfragdir}/%{name}
@@ -152,6 +159,9 @@ cp -pr target/site/apidocs/* \
%{_javadocdir}/*
%changelog
+* Wed Jan 19 2011 Stanislav Ochotnicky <sochotnicky(a)redhat.com> - 0:1.0-0.a2.18
+- Add update_maven_depmap execution to post/postun (#669495)
+
* Thu Dec 16 2010 Stanislav Ochotnicky <sochotnicky(a)redhat.com> - 0:1.0-0.a2.17
- Add maven metadata
13 years, 3 months
[apache-commons-io] Update to 2.0.1
by Stanislav Ochotnicky
commit 7176e65292c1b7cb51bd34f724eab23ede08a991
Author: Stanislav Ochotnicky <sochotnicky(a)redhat.com>
Date: Tue Jan 18 17:47:10 2011 +0100
Update to 2.0.1
- Versionless jars & javadocs
- Use maven 3 to build
- Use apache-commons-parent for BR
.gitignore | 1 +
apache-commons-io.spec | 58 +++++++++++++++++------------------------------
sources | 2 +-
3 files changed, 23 insertions(+), 38 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 816d6ba..1c29f50 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
commons-io-1.4-src.tar.gz
/commons-io-2.0-src.tar.gz
+/commons-io-2.0.1-src.tar.gz
diff --git a/apache-commons-io.spec b/apache-commons-io.spec
index 882c054..042d428 100644
--- a/apache-commons-io.spec
+++ b/apache-commons-io.spec
@@ -2,7 +2,7 @@
%global short_name commons-%{base_name}
Name: apache-%{short_name}
-Version: 2.0
+Version: 2.0.1
Release: 1%{?dist}
Epoch: 1
Summary: Utilities to assist with developing IO functionality
@@ -15,26 +15,15 @@ BuildArch: noarch
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: jpackage-utils
BuildRequires: junit4
-BuildRequires: maven2 >= 2.2.1
-BuildRequires: maven-antrun-plugin
-BuildRequires: maven-assembly-plugin
-BuildRequires: maven-compiler-plugin
-BuildRequires: maven-idea-plugin
-BuildRequires: maven-install-plugin
-BuildRequires: maven-jar-plugin
-BuildRequires: maven-javadoc-plugin
-BuildRequires: maven-plugin-bundle
-BuildRequires: maven-resources-plugin
-BuildRequires: maven-surefire-plugin
+BuildRequires: maven
BuildRequires: maven-surefire-provider-junit4
+BuildRequires: apache-commons-parent
Requires: java >= 1:1.6.0
Requires: jpackage-utils
Requires(post): jpackage-utils
Requires(postun): jpackage-utils
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
# This should go away with F-17
Provides: jakarta-%{short_name} = %{epoch}:%{version}-%{release}
Obsoletes: jakarta-%{short_name} <= 0:1.4
@@ -59,30 +48,19 @@ This package contains the API documentation for %{name}.
sed -i 's/\r//' *.txt
%build
-export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
-mkdir -p $MAVEN_REPO_LOCAL
-mvn-jpp -Dmaven.repo.local=$MAVEN_REPO_LOCAL \
- install javadoc:javadoc
+mvn-local install javadoc:javadoc
%install
-rm -rf $RPM_BUILD_ROOT
# jars
-install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
-install -p -m 644 target/%{short_name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
-
-pushd $RPM_BUILD_ROOT%{_javadir}
-for jar in *-%{version}*; do
- ln -sf ${jar} `echo $jar| sed "s|apache-||g"`
- ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`
- ln -sf ${jar} `echo $jar| sed "s|apache-\(.*\)-%{version}|\1|g"`
-done
-popd # come back from javadir
+install -d -m 755 %{buildroot}%{_javadir}
+install -p -m 644 target/%{short_name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+ln -sf %{name}.jar %{buildroot}%{_javadir}/%{short_name}.jar
# pom
-install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
-install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{short_name}.pom
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{short_name}.pom
%add_to_maven_depmap org.apache.commons %{short_name} %{version} JPP %{short_name}
# following line is only for backwards compatibility. New packages
@@ -90,12 +68,13 @@ install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{short_name}.pom
%add_to_maven_depmap %{short_name} %{short_name} %{version} JPP %{short_name}
# javadoc
-install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
-cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
-ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
+cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
-%clean
-rm -rf $RPM_BUILD_ROOT
+%pre javadoc
+# workaround for rpm bug, can be removed in F-17
+[ $1 -gt 1 ] && [ -L %{_javadocdir}/%{name} ] && \
+rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
%post
%update_maven_depmap
@@ -113,10 +92,15 @@ rm -rf $RPM_BUILD_ROOT
%files javadoc
%defattr(-,root,root,-)
%doc LICENSE.txt NOTICE.txt
-%doc %{_javadocdir}/%{name}-%{version}
%doc %{_javadocdir}/%{name}
%changelog
+* Tue Jan 18 2011 Stanislav Ochotnicky <sochotnicky(a)redhat.com> - 1:2.0.1-1
+- Update to 2.0.1
+- Versionless jars & javadocs
+- Use maven 3 to build
+- Use apache-commons-parent for BR
+
* Fri Oct 22 2010 Chris Spike <chris.spike(a)arcor.de> 1:2.0-1
- Updated to 2.0
- Cleaned up BRs
diff --git a/sources b/sources
index 0a83900..6a68baf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c5ce73b7e82b82dffc12bbc846345638 commons-io-2.0-src.tar.gz
+0bbe5b7a91f73ea8cc9a18e891732597 commons-io-2.0.1-src.tar.gz
13 years, 3 months
[apache-commons-daemon] Update to latest version (1.0.5)
by Stanislav Ochotnicky
commit 7f7e9775dbd14e04bebe0a3116efa5bd16c03128
Author: Stanislav Ochotnicky <sochotnicky(a)redhat.com>
Date: Tue Jan 18 15:10:05 2011 +0100
Update to latest version (1.0.5)
- Use maven 3 to build
- Versionless jars & javadocs
.gitignore | 1 +
0001-execve-path-warning.patch | 33 +++++++++++
...4-configure.patch => 0002-ppc64-configure.patch | 12 ++--
0003-s390x-configure.patch | 31 ++++++++++
apache-commons-daemon-execve-path-warning.patch | 19 ------
apache-commons-daemon-s390x-configure.patch | 17 ------
apache-commons-daemon.spec | 61 ++++++++------------
sources | 2 +-
8 files changed, 96 insertions(+), 80 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index df52c65..94847a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
commons-daemon-1.0.2-src.tar.gz
/commons-daemon-1.0.3-src.tar.gz
/commons-daemon-1.0.4-src.tar.gz
+/commons-daemon-1.0.5-src.tar.gz
diff --git a/0001-execve-path-warning.patch b/0001-execve-path-warning.patch
new file mode 100644
index 0000000..25504ef
--- /dev/null
+++ b/0001-execve-path-warning.patch
@@ -0,0 +1,33 @@
+From d4ac1b866785a0fd69abca5422b647453e96f7c3 Mon Sep 17 00:00:00 2001
+From: Stanislav Ochotnicky <sochotnicky(a)redhat.com>
+Date: Tue, 18 Jan 2011 14:46:21 +0100
+Subject: [PATCH 1/3] execve path warning
+
+---
+ src/native/unix/native/jsvc-unix.c | 10 ++++++++++
+ 1 files changed, 10 insertions(+), 0 deletions(-)
+
+diff --git a/src/native/unix/native/jsvc-unix.c b/src/native/unix/native/jsvc-unix.c
+index e3d9e89..7d50ea9 100644
+--- a/src/native/unix/native/jsvc-unix.c
++++ b/src/native/unix/native/jsvc-unix.c
+@@ -966,6 +966,16 @@ int main(int argc, char *argv[])
+ char *tmp = NULL;
+ char *p1 = NULL;
+ char *p2 = NULL;
++
++ /* We don't want to use a form of exec() that searches the
++ PATH, so require that argv[0] be either an absolute or
++ relative path. Error out if this isn't the case. */
++ tmp=strchr(oldpath,'/');
++ if (tmp==NULL) {
++ log_error("JSVC re-exec requires execution with an absolute or relative path");
++ return(1);
++ }
++
+
+ /*
+ * There is no need to change LD_LIBRARY_PATH
+--
+1.7.3.4
+
diff --git a/apache-commons-daemon-ppc64-configure.patch b/0002-ppc64-configure.patch
similarity index 87%
rename from apache-commons-daemon-ppc64-configure.patch
rename to 0002-ppc64-configure.patch
index 7d40192..73aff13 100644
--- a/apache-commons-daemon-ppc64-configure.patch
+++ b/0002-ppc64-configure.patch
@@ -1,7 +1,7 @@
-From 9e535d207d52ed4dd4337e91ffc14068401f3d31 Mon Sep 17 00:00:00 2001
+From 371ed8b175a2b7b05b5c9687b2d7fe7880524cb1 Mon Sep 17 00:00:00 2001
From: Stanislav Ochotnicky <sochotnicky(a)redhat.com>
-Date: Tue, 11 May 2010 14:05:57 +0200
-Subject: [PATCH 2/3] Add support for 64bin PPC architectures to configure
+Date: Tue, 18 Jan 2011 14:48:05 +0100
+Subject: [PATCH 2/3] ppc64 configure
---
src/native/unix/configure | 5 ++++-
@@ -9,10 +9,10 @@ Subject: [PATCH 2/3] Add support for 64bin PPC architectures to configure
2 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/src/native/unix/configure b/src/native/unix/configure
-index 8674972..a9284c0 100755
+index 3929ce8..62f35d9 100755
--- a/src/native/unix/configure
+++ b/src/native/unix/configure
-@@ -2979,7 +2979,10 @@ $as_echo "$as_me: error: Unsupported operating system \"$host_os\"" >&2;}
+@@ -2984,7 +2984,10 @@ $as_echo "failed" >&6; }
;;
esac
case $host_cpu in
@@ -64,5 +64,5 @@ index 93a3a14..449f3b1 100755
basic_machine=powerpcle-unknown
;;
--
-1.6.6.1
+1.7.3.4
diff --git a/0003-s390x-configure.patch b/0003-s390x-configure.patch
new file mode 100644
index 0000000..f5806d1
--- /dev/null
+++ b/0003-s390x-configure.patch
@@ -0,0 +1,31 @@
+From 2c58c04e648f9c956c3c691ff456f9d1c7470ebe Mon Sep 17 00:00:00 2001
+From: Stanislav Ochotnicky <sochotnicky(a)redhat.com>
+Date: Tue, 18 Jan 2011 14:56:18 +0100
+Subject: [PATCH 3/3] s390x configure
+
+---
+ src/native/unix/configure | 8 ++++----
+ 1 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/native/unix/configure b/src/native/unix/configure
+index 62f35d9..deac6e3 100755
+--- a/src/native/unix/configure
++++ b/src/native/unix/configure
+@@ -3030,10 +3030,10 @@ $as_echo "failed" >&6; }
+ CFLAGS="$CFLAGS -DCPU=\\\"ia64\\\""
+ supported_os="ia64"
+ HOST_CPU=ia64;;
+- s390)
+- CFLAGS="$CFLAGS -DCPU=\\\"s390\\\""
+- supported_os="s390"
+- HOST_CPU=s390;;
++ s390*)
++ CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
++ supported_os="$host_cpu"
++ HOST_CPU=$host_cpu;;
+ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
+ $as_echo "failed" >&6; }
+--
+1.7.3.4
+
diff --git a/apache-commons-daemon.spec b/apache-commons-daemon.spec
index 97e0baf..34fe658 100644
--- a/apache-commons-daemon.spec
+++ b/apache-commons-daemon.spec
@@ -3,28 +3,20 @@
%global short_name commons-%{base_name}
Name: apache-%{short_name}
-Version: 1.0.4
-Release: 2%{?dist}
+Version: 1.0.5
+Release: 1%{?dist}
Summary: Defines API to support an alternative invocation mechanism
License: ASL 2.0
Group: Applications/System
URL: http://commons.apache.org/%{base_name}
Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-...
-Patch0: %{name}-execve-path-warning.patch
-Patch1: %{name}-ppc64-configure.patch
-Patch2: %{name}-s390x-configure.patch
+Patch0: 0001-execve-path-warning.patch
+Patch1: 0002-ppc64-configure.patch
+Patch2: 0003-s390x-configure.patch
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: jpackage-utils
-BuildRequires: maven-antrun-plugin
-BuildRequires: maven-assembly-plugin
-BuildRequires: maven-compiler-plugin
-BuildRequires: maven-idea-plugin
-BuildRequires: maven-install-plugin
-BuildRequires: maven-jar-plugin
-BuildRequires: maven-javadoc-plugin
-BuildRequires: maven-plugin-bundle
-BuildRequires: maven-resources-plugin
-BuildRequires: maven-surefire-plugin
+BuildRequires: maven
+BuildRequires: apache-commons-parent
BuildRequires: xmlto
Requires: java >= 1:1.6.0
@@ -32,7 +24,6 @@ Requires: jpackage-utils
Requires(post): jpackage-utils
Requires(postun): jpackage-utils
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# This should go away with F-17
Provides: jakarta-%{short_name} = 1:%{version}-%{release}
@@ -72,9 +63,9 @@ Obsoletes: jakarta-%{short_name}-javadoc <= 1:1.0.1
%prep
%setup -q -n %{short_name}-%{version}-src
-%patch0 -p0 -b .execve
+%patch0 -p1 -b .execve
%patch1 -p1 -b .ppc
-%patch2 -p0 -b .s390
+%patch2 -p1 -b .s390
# remove java binaries from sources
rm -rf src/samples/build/
@@ -95,30 +86,20 @@ make %{?_smp_mflags}
popd
# build jars
-export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
-mkdir -p $MAVEN_REPO_LOCAL
-mvn-jpp -Dmaven.repo.local=$MAVEN_REPO_LOCAL \
- install javadoc:javadoc
+mvn-local install javadoc:javadoc
%install
-rm -rf $RPM_BUILD_ROOT
# install native jsvc
install -Dpm 755 src/native/unix/jsvc $RPM_BUILD_ROOT%{_bindir}/jsvc
install -Dpm 644 src/native/unix/jsvc.1 $RPM_BUILD_ROOT%{_mandir}/man1/jsvc.1
# jars
-install -Dpm 644 target/%{short_name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
+install -Dpm 644 target/%{short_name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
+ln -sf %{name}.jar %{buildroot}%{_javadir}/%{short_name}.jar
-pushd $RPM_BUILD_ROOT%{_javadir}
-for jar in *-%{version}*; do
- ln -sf ${jar} `echo $jar| sed "s|apache-||g"`
- ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`
- ln -sf ${jar} `echo $jar| sed "s|apache-\(.*\)-%{version}|\1|g"`
-done
-popd # come back from javadir
# pom
install -Dpm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{short_name}.pom
@@ -129,13 +110,14 @@ install -Dpm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{short_name}.pom
%add_to_maven_depmap %{short_name} %{short_name} %{version} JPP %{short_name}
# javadoc
-install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
-cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
-ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+%pre javadoc
+# workaround for rpm bug, can be removed in F-17
+[ $1 -gt 1 ] && [ -L %{_javadocdir}/%{name} ] && \
+rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
-%clean
-rm -rf $RPM_BUILD_ROOT
%post
%update_maven_depmap
@@ -161,12 +143,17 @@ rm -rf $RPM_BUILD_ROOT
%files javadoc
%defattr(-,root,root,-)
-%doc %{_javadocdir}/%{name}-%{version}
%doc %{_javadocdir}/%{name}
%doc LICENSE.txt
%changelog
+* Tue Jan 18 2011 Stanislav Ochotnicky <sochotnicky(a)redhat.com> - 1.0.5-1
+- Update to latest version
+- Use maven 3 to build
+- Versionless jars & javadocs
+- Use apache-commons-parent for BR
+
* Tue Oct 26 2010 Chris Spike <chris.spike(a)arcor.de> 1.0.4-2
- Added fix to remove java binaries from sources
diff --git a/sources b/sources
index d5c3120..42bdb26 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a7baae7f3dba28ac813f11846c4a74a2 commons-daemon-1.0.4-src.tar.gz
+2fe0a35d4a9c0338ecd45dad20f33662 commons-daemon-1.0.5-src.tar.gz
13 years, 3 months
[apache-commons-lang] Fix commons-lang symlink
by Stanislav Ochotnicky
commit a822ae099143e190e0db0ee7666812ce20b4b9c0
Author: Stanislav Ochotnicky <sochotnicky(a)redhat.com>
Date: Tue Jan 18 15:09:37 2011 +0100
Fix commons-lang symlink
apache-commons-lang.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/apache-commons-lang.spec b/apache-commons-lang.spec
index 78cd494..0ec048d 100644
--- a/apache-commons-lang.spec
+++ b/apache-commons-lang.spec
@@ -4,7 +4,7 @@
Name: apache-%{short_name}
Version: 2.6
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Provides a host of helper utilities for the java.lang API
License: ASL 2.0
Group: Development/Libraries
@@ -63,7 +63,7 @@ mvn-local install javadoc:javadoc
# jars
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
install -p -m 644 target/%{short_name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
-ln -sf %{buildroot}%{_javadir}%{name}.jar %{short_name}.jar
+ln -sf %{name}.jar %{buildroot}%{_javadir}/%{short_name}.jar
# pom
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
@@ -106,6 +106,9 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
%doc %{_javadocdir}/%{name}
%changelog
+* Tue Jan 18 2011 Stanislav Ochotnicky <sochotnicky(a)redhat.com> - 2.6-2
+- Fix commons-lang symlink
+
* Tue Jan 18 2011 Stanislav Ochotnicky <sochotnicky(a)redhat.com> - 2.6-1
- Update to 2.6
- Versionless jars & javadocs
13 years, 3 months