forked from pool/cppcheck
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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user