Bug 121133

Summary: Dependency and build dependency for device-mapper
Product: [Fedora] Fedora Reporter: Ed Avis <ed>
Component: device-mapper-obsoleteAssignee: Alasdair Kergon <agk>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: sct
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: 2004-09-17 16:31:53 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 Ed Avis 2004-04-17 20:17:36 UTC
device-mapper links against libselinux and requires the libselinux
header files to build, so the spec file should mention this:

--- device-mapper.spec~	2004-04-16 07:59:15.000000000 +0100
+++ device-mapper.spec	2004-04-17 21:10:33.980545488 +0100
@@ -8,6 +8,8 @@
 Source0: %{name}.%{version}.tgz
 Patch0: device-mapper.1.00.14-selinux-enotsup.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+Requires: libselinux
+BuildRequires: libselinux-devel
 
 %define _exec_prefix /

Comment 1 Stephen Tweedie 2004-04-17 22:25:16 UTC
The Requires: is unnecessary --- the build process picks library
dependencies like that up automatically, and the current device-mapper
rpms have it set properly as a result.  

The BuildRequires: looks needed, though.

Comment 2 Alasdair Kergon 2004-09-17 16:31:53 UTC
Added to 1.00.19-2