summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Cornea <alexandru.cornea@intel.com>2013-06-29 00:11:12 +0300
committerAlexandru Cornea <alexandru.cornea@intel.com>2013-06-29 00:11:12 +0300
commitb758444cbbf8dc4d98651b4843121dcdabf042e6 (patch)
treee6ec4d6291da351a2d50efed5f1b6a21c71c5997
parent911d8280f4873d65ea93f12a23eddf79a40b38eb (diff)
downloaddevice-mapper-b758444cbbf8dc4d98651b4843121dcdabf042e6.tar.gz
device-mapper-b758444cbbf8dc4d98651b4843121dcdabf042e6.tar.bz2
device-mapper-b758444cbbf8dc4d98651b4843121dcdabf042e6.zip
-rw-r--r--packaging/device-mapper.manifest5
-rw-r--r--packaging/device-mapper.spec5
2 files changed, 10 insertions, 0 deletions
diff --git a/packaging/device-mapper.manifest b/packaging/device-mapper.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/device-mapper.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/device-mapper.spec b/packaging/device-mapper.spec
index 92a6776..15e0694 100644
--- a/packaging/device-mapper.spec
+++ b/packaging/device-mapper.spec
@@ -12,6 +12,7 @@ Summary: Device mapper utility
Url: http://sources.redhat.com/dm
Group: Base/Device Management
Source0: ftp://sources.redhat.com/pub/lvm2/LVM2.%{lvm2_version}.tgz
+Source1001: device-mapper.manifest
Requires: libdevmapper = %{device_mapper_version}-%{release}
%description
@@ -40,6 +41,7 @@ This package contains the device-mapper shared library, libdevmapper.
%prep
%setup -q -n LVM2.%{lvm2_version}
+cp %{SOURCE1001} .
%build
%define _exec_prefix ""
@@ -57,18 +59,21 @@ sed -i 's/ (.*)//g' %{buildroot}%{_libdir}/pkgconfig/*.pc
%postun -n libdevmapper -p /sbin/ldconfig
%files
+%manifest %{name}.manifest
%defattr(-,root,root,-)
%license COPYING COPYING.LIB
%attr(755,root,root) %{_sbindir}/dmsetup
%{_mandir}/man8/dmsetup.8.gz
%files devel
+%manifest %{name}.manifest
%defattr(-,root,root,-)
%attr(755,root,root) /%{_libdir}/libdevmapper.so
%{_includedir}/libdevmapper.h
%{_libdir}/pkgconfig/*.pc
%files -n libdevmapper
+%manifest %{name}.manifest
%attr(755,root,root) /%{_libdir}/libdevmapper.so.*