summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/neard.manifest5
-rw-r--r--packaging/neard.spec5
2 files changed, 10 insertions, 0 deletions
diff --git a/packaging/neard.manifest b/packaging/neard.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/neard.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/neard.spec b/packaging/neard.spec
index 80e2ab7..b30f484 100644
--- a/packaging/neard.spec
+++ b/packaging/neard.spec
@@ -7,6 +7,7 @@ License: GPL-2.0
URL: http://git.kernel.org/pub/scm/network/nfc/neard.git
Source0: http://www.kernel.org/pub/linux/network/nfc/neard-%{version}.tar.bz2
Source1: neard.service
+Source1001: neard.manifest
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(libnl-2.0)
@@ -39,6 +40,7 @@ Scripts for testing neard and its functionality
%prep
%setup -q
+cp %{SOURCE1001} .
%build
./bootstrap
@@ -76,6 +78,7 @@ systemctl stop neard.service
systemctl daemon-reload
%files
+%manifest %{name}.manifest
%license COPYING
%{_mandir}/man*/*
%{_libexecdir}/nfc/neard
@@ -84,9 +87,11 @@ systemctl daemon-reload
%{_libdir}/systemd/system/network.target.wants/neard.service
%files devel
+%manifest %{name}.manifest
%{_includedir}/near/*.h
%{_libdir}/pkgconfig/*.pc
%files test
+%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_libdir}/neard/test/*