Bug 612455 - Symlinks in apache-commons-math are not consistent with other apache-commons- packages
Summary: Symlinks in apache-commons-math are not consistent with other apache-commons-...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: apache-commons-math
Version: 13
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Spike
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-08 09:27 UTC by Spike
Modified: 2010-12-29 17:00 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-12-29 17:00:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Spike 2010-07-08 09:27:28 UTC
Please provide symlinks consisten to other apache-commons* packages, like

ln -s %{shortname}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{shortname}.jar
ln -s %{shortname}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
ln -s %{shortname}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar

Afaics, only the first one is currently present

Comment 1 Jeff Raber 2010-07-08 18:11:56 UTC
Compare the files section @ http://koji.fedoraproject.org/koji/rpminfo?rpmID=1799848 (apache-commons-math) to http://koji.fedoraproject.org/koji/rpminfo?rpmID=1998853 (apache-commons-compress)

Comment 2 Spike 2010-07-13 13:47:43 UTC
I'd be happy to co-maintain commons-math if you are busy at the moment and/or would like a co-maintainer anyway.

Comment 3 Fedora Update System 2010-10-22 02:49:50 UTC
apache-commons-math-2.1-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/apache-commons-math-2.1-2.fc14

Comment 4 Fedora Update System 2010-10-28 06:13:23 UTC
apache-commons-math-2.1-2.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update apache-commons-math'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/apache-commons-math-2.1-2.fc14

Comment 5 tobyknudsen@gmail.com 2010-10-29 14:11:05 UTC
my Software Update has been flapping for a day apparently because of this change.  It would seem that there is a flaw in the package data.

(In reply to comment #4)
> apache-commons-math-2.1-2.fc14 has been pushed to the Fedora 14 testing
> repository.  If problems still persist, please make note of it in this bug
> report.
>  If you want to test the update, you can install it with 
>  su -c 'yum --enablerepo=updates-testing update apache-commons-math'.  You can
> provide feedback for this update here:
> https://admin.fedoraproject.org/updates/apache-commons-math-2.1-2.fc14

Comment 6 tobyknudsen@gmail.com 2010-10-29 17:12:47 UTC
sudo grep math yum.log |wc -l
1034

My computer really wants to install your package.  I'm amazed that something like this sits for a day.  May I help you in any way?

Comment 7 Mat Booth 2010-12-14 19:00:11 UTC
Is this bug what is causing the following error on my rawhide box?

  Updating       : apache-commons-math-javadoc-2.1-1.fc15.noarch                                                 61/142 
Error unpacking rpm package apache-commons-math-javadoc-2.1-1.fc15.noarch
error: unpacking of archive failed on file /usr/share/javadoc/apache-commons-math: cpio: rename

apache-commons-math-javadoc-2.0-6.fc13.noarch was supposed to be removed but is not!

Comment 8 Mat Booth 2010-12-29 16:30:04 UTC
The F14->F15 upgrade path is broken because RPM does not support changing a real directory to a symlink. I have been unable to upgrade the apache-commons-math-javadoc package on my rawhide system because of this.

Because the current practice is now not to include versioned jars or javadoc directories, I will change the spec accordingly and that should both fix the upgrade path and allow us close this bug. I hope that's ok. :-)

Comment 9 Mat Booth 2010-12-29 17:00:19 UTC
Ok, I built a fixed package for rawhide: https://koji.fedoraproject.org/koji/buildinfo?buildID=211992

I can now update my rawhide box again, yay!

I am closing this bug because this package is now compliant with the new Java guidelines with respect to versioned jars and javadocs.

I leave it up to you whether you want to build an update for F14 or not. :-)


Note You need to log in before you can comment on or make changes to this bug.