Bug 198205 - Using selinux-policy requires m4, but m4 not in dependency list
Summary: Using selinux-policy requires m4, but m4 not in dependency list
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-10 14:14 UTC by Hans Ulrich Niedermann
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-07-10 14:22:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Hans Ulrich Niedermann 2006-07-10 14:14:27 UTC
Description of problem:

  "make -f /usr/share/selinux/devel/Makefile" requires m4, but the
selinux-policy package does not depend on m4.

  This forces all spec files which need to compile an SELinux policy module to
know that selinux-policy depends on m4 and add that dependency themselves.

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

  selinux-policy-2.2.47-3.fc5

Expected behaviour:

  selinux-policy should depend on m4.

Comment 1 Daniel Walsh 2006-07-10 14:22:41 UTC
We have split out selinux-policy-devel in FC6/Rawhide package which has this
requirement.  I do not want to bring this requirement back into FC5 since it
might break other things.



Comment 2 Hans Ulrich Niedermann 2006-07-12 19:53:35 UTC
That makes sense in a way.

So I'm going to use the following in my SPEC file:

%if "%{fedora}" >= "6"
BuildRequires: selinux-policy-devel
%else
BuildRequires: selinux-policy, m4
%endif



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