Bug 145744 - install generic links for jdbc jar files
Summary: install generic links for jdbc jar files
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: postgresql
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tom Lane
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-01-21 00:50 UTC by Colin Walters
Modified: 2013-07-03 03:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-02-07 21:38:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to add unversioned jar links (674 bytes, patch)
2005-01-21 00:50 UTC, Colin Walters
no flags Details | Diff
updated patch to add jar links (869 bytes, patch)
2005-01-21 20:36 UTC, Colin Walters
no flags Details | Diff

Description Colin Walters 2005-01-21 00:50:03 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041228 Firefox/1.0 Fedora/1.0-8

Description of problem:
Hi,

The postgresql JDBC jar files changed name from postgresql 7 to 8. 
Our package's build process depended on those versioned names.  Most
other Java packages (from jpackage.org, which are now feeding into
rawhide) include a "generic" symlink to the specific version of the
jar file.  This patch adds these unversioned symlinks to the versioned
jar files, so our package build process can just reference them and
avoid a hard dependency on a particular postgresql version.

Since our primary development (and hopefully deployment) platform will
be FC3, it would be nice if this patch could be applied to the FC3
branch and released as an update there.

Version-Release number of selected component (if applicable):
postgresql-8.0.0-1

How reproducible:
Always

Steps to Reproduce:
1. Moo 

Additional info:

Comment 1 Colin Walters 2005-01-21 00:50:52 UTC
Created attachment 110037 [details]
patch to add unversioned jar links

Should be applicable to FC3 version as well.

Comment 2 Colin Walters 2005-01-21 20:36:59 UTC
Created attachment 110072 [details]
updated patch to add jar links

I discovered that my patch breaks the build; surprisingly, RPM apparently
somehow manages to turn "cd /foo && command" into two separate shell commands,
thus changing the current directory and breaking later code.  This updated
patch forces it to be one command by running it in a subshell.

Comment 3 Tom Lane 2005-01-31 03:18:59 UTC
Done in postgresql-8.0.1 for devel tip; will add in the back branches as opportunity 
presents.  (Which will be soon, since we now have security updates to push...)

Comment 4 Tom Lane 2005-02-07 21:38:16 UTC
Patches are now pushed for FC3 and FC2.


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