forked from pool/cppcheck
Updated to 1.37
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=7
This commit is contained in:
parent
bccf093322
commit
9d4e41030b
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:362f7c77afa17fd11b6547c8f30ecd26f1413973767ff064e1388357f148f19d
|
|
||||||
size 113243
|
|
@ -1,9 +1,9 @@
|
|||||||
Index: Makefile
|
Index: Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- Makefile.orig 2009-04-12 19:54:15.000000000 +0200
|
--- Makefile.orig 2009-09-22 21:25:26.000000000 +0200
|
||||||
+++ Makefile 2009-04-15 10:38:48.000000000 +0200
|
+++ Makefile 2009-09-30 21:18:15.000000000 +0200
|
||||||
@@ -1,4 +1,4 @@
|
@@ -1,4 +1,4 @@
|
||||||
-CXXFLAGS=-Wall -Wextra -pedantic -g
|
-CXXFLAGS=-Wall -Wextra -pedantic -O2 -DNDEBUG
|
||||||
+CXXFLAGS=${RPM_OPT_FLAGS}
|
+CXXFLAGS=${RPM_OPT_FLAGS}
|
||||||
CXX=g++
|
CXX=g++
|
||||||
BIN=${DESTDIR}/usr/bin
|
BIN=${DESTDIR}/usr/bin
|
3
cppcheck-1.37.tar.bz2
Normal file
3
cppcheck-1.37.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b0e9221c1e60a290ae9871d3ee627fdf8dc6f13b10277622ccf1a9898a4d727d
|
||||||
|
size 372740
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 30 19:21:51 UTC 2009 - bitshuffler #suse@irc.freenode.org
|
||||||
|
|
||||||
|
- Updated to 1.37
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat May 16 03:32:31 CEST 2009 - bitshuffler #suse@irc.freenode.org
|
Sat May 16 03:32:31 CEST 2009 - bitshuffler #suse@irc.freenode.org
|
||||||
|
|
||||||
|
@ -1,15 +1,13 @@
|
|||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
%define jobs $(( `/usr/bin/getconf _NPROCESSORS_ONLN` + 1 ))
|
|
||||||
|
|
||||||
Name: cppcheck
|
Name: cppcheck
|
||||||
Version: 1.32
|
Version: 1.37
|
||||||
Release: 1.0
|
Release: 1.0
|
||||||
License: GNU GPL v3
|
License: GNU GPL v3
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
Url: http://cppcheck.wiki.sourceforge.net/
|
Url: http://cppcheck.wiki.sourceforge.net/
|
||||||
Source: http://downloads.sourceforge.net/cppcheck/cppcheck-%{version}.tar.bz2
|
Source: http://downloads.sourceforge.net/cppcheck/cppcheck-%{version}.tar.bz2
|
||||||
Patch: cppcheck-Makefile-1.31.patch
|
Patch0: cppcheck-1.37-OptFlags.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
Summary: A tool for static C/C++ code analysis
|
Summary: A tool for static C/C++ code analysis
|
||||||
@ -34,7 +32,7 @@ This program tries to detect bugs that your C/C++ compiler don't see. Cppcheck i
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__make %{?jobs:-j%jobs}
|
%__make %{?jobs:-j%jobs}
|
||||||
@ -50,4 +48,5 @@ test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS Changelog
|
||||||
%{_bindir}/cppcheck
|
%{_bindir}/cppcheck
|
||||||
|
Loading…
Reference in New Issue
Block a user