summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--packaging/librua.spec12
2 files changed, 13 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 29acdc2..6200a85 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,4 +41,4 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION ${LIB_I
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/rua.h DESTINATION include/${PROJECT_NAME})
-#ADD_SUBDIRECTORY(test)
+ADD_SUBDIRECTORY(test)
diff --git a/packaging/librua.spec b/packaging/librua.spec
index ca1c9e4..f2545cf 100644
--- a/packaging/librua.spec
+++ b/packaging/librua.spec
@@ -22,6 +22,13 @@ Requires: %{name} = %{version}
%description devel
Recently used application library (devel)
+%package test
+Summary: Recently used application (test)
+Requires: %{name} = %{version}
+
+%description test
+Recently used application library (test)
+
%prep
%setup -q
cp %{SOURCE1001} .
@@ -50,3 +57,8 @@ make %{?_smp_mflags}
%{_includedir}/rua/*.h
%{_libdir}/librua.so
%{_libdir}/pkgconfig/rua.pc
+
+%files test
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_bindir}/rua-test