summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/kmod.manifest5
-rw-r--r--packaging/kmod.spec6
2 files changed, 11 insertions, 0 deletions
diff --git a/packaging/kmod.manifest b/packaging/kmod.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/kmod.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/kmod.spec b/packaging/kmod.spec
index 268b031..cd358d3 100644
--- a/packaging/kmod.spec
+++ b/packaging/kmod.spec
@@ -7,6 +7,7 @@ Url: http://www.politreco.com/2011/12/announce-kmod-2/
Group: Base/Libraries
Source: %{name}-%{version}.tar.xz
+Source1001: kmod.manifest
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
@@ -63,6 +64,7 @@ in libkmod.
%prep
%setup -q
+cp %{SOURCE1001} .
%build
autoreconf -fi
@@ -98,21 +100,25 @@ done;
%docs_package
%files
+%manifest %{name}.manifest
%defattr(-,root,root)
%license COPYING
%{_bindir}/kmod
%files -n libkmod
+%manifest %{name}.manifest
%defattr(-,root,root)
%{_libdir}/libkmod.so.2*
%files -n libkmod-devel
+%manifest %{name}.manifest
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/pkgconfig/libkmod.pc
%{_libdir}/libkmod.so
%files compat
+%manifest %{name}.manifest
%defattr(-,root,root)
%{_bindir}/lsmod
%{_sbindir}/depmod