http://qa.mandrakesoft.com/show_bug.cgi?id=6313

           Summary: conditional BuildRequires not picked up in query
           Product: rpm
           Version: 4.2-9mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: program
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When a package has conditional BuildRequires (like ImageMagick) these are not
picked up when querying the package:

Normal:
[EMAIL PROTECTED] i586]$ rpm -qpR
/mirrors/cooker/SRPMS/ImageMagick-5.5.7.12-1mdk.src.rpm | wc -l
     15

--with plf:

[EMAIL PROTECTED] i586]$ rpm -qpR
/mirrors/cooker/SRPMS/ImageMagick-5.5.7.12-1mdk.src.rpm --with plf | wc -l
     15
[EMAIL PROTECTED] i586]$ rpm --with plf -qpR
/mirrors/cooker/SRPMS/ImageMagick-5.5.7.12-1mdk.src.rpm | wc -l
     15
[EMAIL PROTECTED] i586]$ rpm -qpR --with plf
/mirrors/cooker/SRPMS/ImageMagick-5.5.7.12-1mdk.src.rpm | wc -l
     15

>From the ImageMagick.spec file:
%if %build_plf
%define enablelzw       1
%define enablejasper    1
%define enablefpx       1
%endif

%if %{enablefpx}
BuildRequires:  libfpx1-devel
%endif
%if %{enablejasper}
BuildRequires:  libjasper-devel
%endif

So, one would expect to see a number larger than 15 when queried with the --with
plf option.

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to