forked from pool/cppcheck
- Updated to 1.43
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=9
This commit is contained in:
parent
59741efbf8
commit
b9bd843e77
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f632a991c62849057513db1035c9f28829043cf308bc6e6fb7a4a53b69a73d3d
|
||||
size 392083
|
@ -1,9 +1,9 @@
|
||||
Index: Makefile
|
||||
===================================================================
|
||||
--- Makefile.orig 2009-10-25 08:48:06.000000000 +0100
|
||||
+++ Makefile 2009-10-26 20:06:58.000000000 +0100
|
||||
--- Makefile.orig 2010-05-08 15:37:19.000000000 +0200
|
||||
+++ Makefile 2010-06-01 23:06:48.496942411 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-CXXFLAGS=-Wall -Wextra -pedantic -O2
|
||||
-CXXFLAGS=-O2 -DNDEBUG -Wall
|
||||
+CXXFLAGS=${RPM_OPT_FLAGS}
|
||||
CXX=g++
|
||||
BIN=${DESTDIR}/usr/bin
|
3
cppcheck-1.43.tar.bz2
Normal file
3
cppcheck-1.43.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:297e4fa2e4d4ecf267127dab086eda68491c84dc4030af35105577b0a2238e87
|
||||
size 527014
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 1 21:04:39 UTC 2010 - bitshuffler #suse@irc.freenode.org
|
||||
|
||||
- Updated to 1.43
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 26 19:04:25 UTC 2009 - bitshuffler #suse@irc.freenode.org
|
||||
|
||||
|
@ -1,15 +1,16 @@
|
||||
# norootforbuild
|
||||
|
||||
Name: cppcheck
|
||||
Version: 1.38
|
||||
Version: 1.43
|
||||
Release: 1.0
|
||||
License: GNU GPL v3
|
||||
License: GNU GPL v3 or later
|
||||
Group: Development/Languages/C and C++
|
||||
Url: http://cppcheck.wiki.sourceforge.net/
|
||||
Source: http://downloads.sourceforge.net/cppcheck/cppcheck-%{version}.tar.bz2
|
||||
Patch0: cppcheck-1.38-OptFlags.patch
|
||||
Patch0: cppcheck-1.43-OptFlags.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libqt4-devel
|
||||
Summary: A tool for static C/C++ code analysis
|
||||
|
||||
%description
|
||||
@ -35,10 +36,14 @@ This program tries to detect bugs that your C/C++ compiler don't see. Cppcheck i
|
||||
%patch0
|
||||
|
||||
%build
|
||||
%__make %{?jobs:-j%jobs}
|
||||
%__make %{_smp_mflags}
|
||||
cd gui
|
||||
qmake
|
||||
%__make %{_smp_mflags}
|
||||
|
||||
%check
|
||||
%__make %{?jobs:-j%jobs} test
|
||||
%__make %{_smp_mflags} test
|
||||
%__install -Dm 0755 gui/gui %{buildroot}%{_bindir}/cppcheck-gui
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
@ -48,5 +53,6 @@ test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS Changelog
|
||||
%doc AUTHORS
|
||||
%{_bindir}/cppcheck
|
||||
%{_bindir}/cppcheck-gui
|
||||
|
Loading…
Reference in New Issue
Block a user