Bug 5472 - Errors in spec file for t1lib 0.9.1-2
Errors in spec file for t1lib 0.9.1-2
Status: CLOSED NEXTRELEASE
Product: Red Hat Powertools
Classification: Retired
Component: t1lib-0.7.1 (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Powers
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-10-01 18:22 EDT by andrewem
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-10-25 10:40:57 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description andrewem 1999-10-01 18:22:24 EDT
1) The spec file has "./configure
--prefix=$RPM_BUILD_ROOT/usr".  This causes the wrong
configuration directory path to be built into the library.

Using %configure alone and specifying in the %install
section "make prefix=$RPM_BUILD_ROOT/usr install" solves the
problem.

2) The spec file should use a version macro, as the version
is explicity used in several places.  Including a README
file which is not found because of the wrong version listed.

3) Symbolic links for libraries should not be made in a spec
file.  This is the job of ldconfig.

These are common mistakes that all spec files should be
checked for.
Comment 1 Tim Powers 1999-10-25 10:40:59 EDT
Thanks. Didn't catch that one for some reason (why, I have no idea).

Thanks for the heads up!

Tim

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