Bug 121133 - Dependency and build dependency for device-mapper
Summary: Dependency and build dependency for device-mapper
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: device-mapper-obsolete   
(Show other bugs)
Version: rawhide
Hardware: All Linux
medium
medium
Target Milestone: ---
Assignee: Alasdair Kergon
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-04-17 20:17 UTC by Ed Avis
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

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: ---


Attachments (Terms of Use)

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



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