summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/dmidecode.manifest5
-rw-r--r--packaging/dmidecode.spec3
2 files changed, 8 insertions, 0 deletions
diff --git a/packaging/dmidecode.manifest b/packaging/dmidecode.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/dmidecode.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/dmidecode.spec b/packaging/dmidecode.spec
index c9299bc..1dd6646 100644
--- a/packaging/dmidecode.spec
+++ b/packaging/dmidecode.spec
@@ -6,6 +6,7 @@ License: GPL-2.0+
Group: System/Base
Summary: DMI table decoder
Source: %{name}-%{version}.tar.bz2
+Source1001: dmidecode.manifest
ExclusiveArch: %ix86 x86_64
%description
@@ -24,6 +25,7 @@ the BIOS told it to.
%prep
%setup
+cp %{SOURCE1001} .
%build
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
@@ -38,6 +40,7 @@ install -m 644 man/$i.8 %{buildroot}%{_mandir}/man8/
done
%files
+%manifest %{name}.manifest
%defattr(-,root,root)
%license LICENSE
/usr/sbin/*