From b6439598b79627fcfde05325d699ccc51644d753a8b7a36ef74a91732fc94880 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Mon, 16 Apr 2018 08:55:03 +0000 Subject: [PATCH] - run unit tests in the %check target - install LICENSE as a %license, not a %doc OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=6 --- spdlog.changes | 6 ++++++ spdlog.spec | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/spdlog.changes b/spdlog.changes index ed2f0f7..3d04526 100644 --- a/spdlog.changes +++ b/spdlog.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 16 08:54:14 UTC 2018 - adam.majer@suse.de + +- run unit tests in the %check target +- install LICENSE as a %license, not a %doc + ------------------------------------------------------------------- Sat Apr 14 11:36:10 UTC 2018 - aloisio@gmx.com diff --git a/spdlog.spec b/spdlog.spec index 97e1700..5e4db9f 100644 --- a/spdlog.spec +++ b/spdlog.spec @@ -82,8 +82,12 @@ make %{?_smp_mflags} %install %cmake_install +%check +%ctest + %files devel -%doc LICENSE README.md +%doc README.md +%license LICENSE %{_includedir}/%{name} %{_libdir}/cmake/%{name} %{_libdir}/pkgconfig/%{name}.pc