forked from pool/cppcheck
Accepting request 784381 from home:vladisav:branches:devel:tools
- Since cppcheck version 1.89 CFGDIR is replaced by FILESDIR and cfg files are no longer kept in FILESDIR but in subfolder FILESDIR/cfg. OBS-URL: https://build.opensuse.org/request/show/784381 OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=68
This commit is contained in:
parent
bb5690291a
commit
bc8f4ec7a6
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 12 12:54:24 UTC 2020 - Vladislav Savic <vladisav@gmx.com>
|
||||
|
||||
- Since cppcheck version 1.89 CFGDIR is replaced by FILESDIR and
|
||||
cfg files are no longer kept in FILESDIR but in subfolder FILESDIR/cfg.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 4 12:17:56 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
|
@ -74,7 +74,8 @@ doesn't see.
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
-DCMAKE_CXX_FLAGS="-DNDEBUG %{optflags} -UCFGDIR -DCFGDIR=\\\"%{_datadir}/%{name}\\\"" \
|
||||
-DCMAKE_CXX_FLAGS="-DNDEBUG %{optflags}" \
|
||||
-DFILESDIR="%{_datadir}/%{name}" \
|
||||
-DBUILD_GUI=ON \
|
||||
-DBUILD_TESTS=ON \
|
||||
-DHAVE_RULES=yes
|
||||
@ -101,8 +102,8 @@ install -Dpm 0755 build/bin/cppcheck-gui \
|
||||
%{buildroot}%{_bindir}/cppcheck-gui
|
||||
install -Dpm 0644 cppcheck.1 \
|
||||
%{buildroot}%{_mandir}/man1/cppcheck.1
|
||||
install -d %{buildroot}%{_datadir}/%{name}
|
||||
install -pm 0644 cfg/*.cfg %{buildroot}%{_datadir}/%{name}
|
||||
install -d %{buildroot}%{_datadir}/%{name}/cfg
|
||||
install -pm 0644 cfg/*.cfg %{buildroot}%{_datadir}/%{name}/cfg
|
||||
|
||||
%files
|
||||
%doc AUTHORS
|
||||
|
Loading…
Reference in New Issue
Block a user