Bug 126591 - rpm is missing dependencies in its spec file
Summary: rpm is missing dependencies in its spec file
Keywords:
Status: CLOSED DUPLICATE of bug 147013
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-06-23 16:43 UTC by Steve Grubb
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 19:04:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Steve Grubb 2004-06-23 16:43:01 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4.2)
Gecko/20040308

Description of problem:
rpm is missing dependencies in its spec file. The following patch
fixes it:

--- working/rpm/rpm.spec        2004-06-14 15:32:22.000000000 -0400
+++ /opt/specs/rpm.spec 2004-06-17 17:23:58.000000000 -0400
@@ -40,6 +40,9 @@
 BuildRequires: beecrypt-devel >= 3.0.1
 Requires: beecrypt >= 3.0.1
                                                                     
          
+BuildRequires: libselinux-devel
+Requires: libselinux
+
 # XXX Red Hat 5.2 has not bzip2 or python
 %if %{with_bzip2}
 BuildRequires: bzip2 >= 0.9.0c-2
@@ -48,6 +51,9 @@
 BuildRequires: python-devel >= %{with_python_version}
 %endif
                                                                     
          
+BuildRequires: readline-devel, ncurses-devel
+Requires: readline, ncurses
+
 BuildRoot: %{_tmppath}/%{name}-root
                                                                     
          
 %description

Version-Release number of selected component (if applicable):
rpm-4.3.2-1

How reproducible:
Always

Steps to Reproduce:
1. rpm -e --nodeps readline-devel ncurses-devel libselinux-devel
2. rpmbuild -bb /usr/src/redhat/SPECS/rpm.spec

Additional info:

Comment 1 Bill Nottingham 2004-08-05 21:43:05 UTC
You don't need to explicitly require readline, ncurses, etc if it's
linked in.

Comment 2 Steve Grubb 2004-08-06 00:01:14 UTC
Ahh, but it is linked in. This entry in the changelog is when it
became necessary:

* Tue Jun  8 2004 Jeff Johnson <jbj> 4.3.2-0.2
- lua embedded in rpmio.
- use lua to identify desired selinux file context regexes.

Without that...libselinux was all that was missing.

Comment 3 Jeff Johnson 2005-02-08 00:09:19 UTC

*** This bug has been marked as a duplicate of 147013 ***

Comment 4 Red Hat Bugzilla 2006-02-21 19:04:12 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


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