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