From b3f0019b1e8c118e7f96248d143f43a02c05a4e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?K=C3=A9vin=20THIERRY?= Date: Thu, 13 Mar 2014 13:51:22 +0100 Subject: [PATCH] Add a test package MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Id7c94d63a29e672881a524728928f33ae4c77889 Signed-off-by: Kévin THIERRY --- CMakeLists.txt | 2 +- packaging/librua.spec | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) 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 -- 2.7.4