From 96118b48aa0c9106b793b83b6ca906704c606a3765d109bd2d82fc3473cc711a Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 13 Jan 2014 13:01:10 +0000 Subject: [PATCH] Accepting request 213673 from home:etamPL:branches:devel:tools Bundle config files OBS-URL: https://build.opensuse.org/request/show/213673 OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=36 --- cppcheck.changes | 4 ++++ cppcheck.spec | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/cppcheck.changes b/cppcheck.changes index 770ac8d..fdd764d 100644 --- a/cppcheck.changes +++ b/cppcheck.changes @@ -1,3 +1,7 @@ +Mon Jan 13 09:05:19 UTC 2014 - adam@mizerski.pl + +- Bundle config files. + ------------------------------------------------------------------- Fri Jan 10 20:18:57 UTC 2014 - adam@mizerski.pl diff --git a/cppcheck.spec b/cppcheck.spec index 2d21aef..d8a8a1d 100644 --- a/cppcheck.spec +++ b/cppcheck.spec @@ -72,7 +72,7 @@ doesn't see. make %{?_smp_mflags} \ CXXFLAGS="-DNDEBUG %{optflags}" \ SRCDIR=build \ - CFGDIR=cfg \ + CFGDIR=%{_datadir}/%{name} \ HAVE_RULES=yes pushd gui @@ -95,12 +95,15 @@ install -m 0755 -D cppcheck %{buildroot}%{_bindir}/cppcheck install -m 0755 -D htmlreport/cppcheck-htmlreport %{buildroot}%{_bindir}/cppcheck-htmlreport install -m 0755 -D gui/cppcheck-gui %{buildroot}%{_bindir}/cppcheck-gui install -m 0644 -D cppcheck.1 %{buildroot}%{_mandir}/man1/cppcheck.1 +install -d %{buildroot}%{_datadir}/%{name} +install -m 0644 cfg/*.cfg %{buildroot}%{_datadir}/%{name} %files %defattr(-,root,root) %doc AUTHORS COPYING %{_bindir}/cppcheck %{_bindir}/cppcheck-htmlreport +%{_datadir}/%{name}/ %{_mandir}/man1/cppcheck.1* %files gui