Bug 126591
| Summary: | rpm is missing dependencies in its spec file | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Steve Grubb <linux_4ever> |
| Component: | rpm | Assignee: | Jeff Johnson <jbj> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | ||
| 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: | 2006-02-21 19:04:12 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: | |||
You don't need to explicitly require readline, ncurses, etc if it's linked in. 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. *** This bug has been marked as a duplicate of 147013 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |
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: