Bug 145744

Summary: install generic links for jdbc jar files
Product: [Fedora] Fedora Reporter: Colin Walters <walters>
Component: postgresqlAssignee: Tom Lane <tgl>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: hhorak, mpg
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-02-07 21:38:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch to add unversioned jar links
none
updated patch to add jar links none

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.