summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/libslp-pm.manifest5
-rw-r--r--[-rwxr-xr-x]packaging/libslp-pm.spec4
2 files changed, 9 insertions, 0 deletions
diff --git a/packaging/libslp-pm.manifest b/packaging/libslp-pm.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/libslp-pm.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libslp-pm.spec b/packaging/libslp-pm.spec
index a2be75b..67381f4 100755..100644
--- a/packaging/libslp-pm.spec
+++ b/packaging/libslp-pm.spec
@@ -5,6 +5,7 @@ Release: 2.1
Group: TO_BE/FILLED_IN
License: TO BE FILLED IN
Source0: libslp-pm-%{version}.tar.bz2
+Source1001: packaging/libslp-pm.manifest
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: cmake
@@ -30,6 +31,7 @@ SLP power manager client library (devel)
%build
+cp %{SOURCE1001} .
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
@@ -47,11 +49,13 @@ rm -rf %{buildroot}
%files
+%manifest libslp-pm.manifest
%defattr(-,root,root,-)
%{_libdir}/libpmapi.so.1.2
%files devel
+%manifest libslp-pm.manifest
%defattr(-,root,root,-)
%{_includedir}/pmapi.h
%{_includedir}/SLP_pm_PG.h