Bug 103854

Summary: Possible typos in qt spec file..
Product: [Retired] Red Hat Raw Hide Reporter: Sammy <sait.a.umar>
Component: qtAssignee: Than Ngo <than>
Status: CLOSED WONTFIX QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-09-13 10:44:51 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:

Description Sammy 2003-09-05 18:42:14 UTC
The qt.spec file contains (in the post and postun sections) grep commands of the 
form "grep -v '^%{qtdir}' /etc/ld.so.conf". It seems like the "-v" option and the 
caret "^" negate each other. Perhaps the caret should be removed. 
 
By the way, I compiled qt-3.2.1 and all of the KDE stuff in rawhide with qt-3.2 and 
it is working very well.

Comment 1 Than Ngo 2003-09-13 10:44:51 UTC
i don't see any problem here. The syntax is correct.

there are some knowned problems in KDE 3.1.3/qt 3.2.x. The next KDE 3.1.4 will
be released soon, it will work fine with qt 3.2.x.

Comment 2 Sammy 2003-09-15 15:22:02 UTC
Well, "grep -v" inverts the sense and selects non-matching lines. So does the "^" in the  
text screen. If you do "grep -v '^qt-3.1/lib$' /etc/ld.so.conf" you'll see that the directory 
/usr/lib/qt-3.1 is included in the output, which should not be. Anyway, this will have to 
be changed when we go to QTDIR to be qt-3.2. When you set this and run you get both 
qt-3.1 and qt-3.2 in ld.so.conf, which should have been just qt-3.2.