summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--librua.manifest5
-rw-r--r--packaging/librua.manifest5
-rw-r--r--packaging/librua.spec5
3 files changed, 9 insertions, 6 deletions
diff --git a/librua.manifest b/librua.manifest
deleted file mode 100644
index 97e8c31..0000000
--- a/librua.manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-<manifest>
- <request>
- <domain name="_"/>
- </request>
-</manifest>
diff --git a/packaging/librua.manifest b/packaging/librua.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/librua.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/librua.spec b/packaging/librua.spec
index 498e08a..dc8621e 100644
--- a/packaging/librua.spec
+++ b/packaging/librua.spec
@@ -5,6 +5,7 @@ License: Apache-2.0
Summary: Recently used application
Group: Application Framework/Libraries
Source0: librua-%{version}.tar.gz
+Source1001: librua.manifest
BuildRequires: cmake
BuildRequires: sqlite3
BuildRequires: pkgconfig(db-util)
@@ -22,6 +23,7 @@ Recently used application library (devel)
%prep
%setup -q
+cp %{SOURCE1001} .
%build
%cmake .
@@ -37,13 +39,14 @@ sqlite3 %{buildroot}/opt/dbspace/.rua.db < data/rua_db.sql
%postun -p /sbin/ldconfig
%files
-%manifest librua.manifest
+%manifest %{name}.manifest
%defattr(-,root,root,-)
%config(noreplace) %attr(0660,root,app) /opt/dbspace/.rua.db*
%{_libdir}/librua.so.*
%license LICENSE
%files devel
+%manifest %{name}.manifest
%defattr(-,root,root,-)
%dir %{_includedir}/rua
%{_includedir}/rua/*.h