commit 8c4879e8b5f1c651dcf63173ffcd71e92695720c
Author: Jakub Bogusz <[email protected]>
Date:   Mon Jan 11 16:40:00 2016 +0100

    - updated to 1.72
    - updated translations patch

 cppcheck-translations.patch | 13 ++++++-------
 cppcheck.spec               |  7 ++-----
 2 files changed, 8 insertions(+), 12 deletions(-)
---
diff --git a/cppcheck.spec b/cppcheck.spec
index 66edcac..bc0770c 100644
--- a/cppcheck.spec
+++ b/cppcheck.spec
@@ -5,12 +5,12 @@
 Summary:       Tool for static C/C++ code analysis
 Summary(pl.UTF-8):     Narzędzie do statycznej analizy kodu w C/C++
 Name:          cppcheck
-Version:       1.71
+Version:       1.72
 Release:       1
 License:       GPL v3+
 Group:         Development/Tools
 Source0:       
http://downloads.sourceforge.net/cppcheck/%{name}-%{version}.tar.bz2
-# Source0-md5: e8400409101e60d81cc10418744f8b29
+# Source0-md5: 2bd36f91ae0191ef5273bb7f6dc0d72e
 Patch0:                %{name}-gui-paths.patch
 Patch1:                %{name}-translations.patch
 URL:           http://cppcheck.sourceforge.net/
@@ -86,9 +86,6 @@ cd build
 
 install -Dp ../cppcheck.1 $RPM_BUILD_ROOT%{_mandir}/man1/cppcheck.1
 
-%{__rm} -r $RPM_BUILD_ROOT%{_includedir}/CppCheck
-%{__rm} -r $RPM_BUILD_ROOT/usr/lib/lib*.a
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
diff --git a/cppcheck-translations.patch b/cppcheck-translations.patch
index cfbbd49..7a353ac 100644
--- a/cppcheck-translations.patch
+++ b/cppcheck-translations.patch
@@ -1,11 +1,10 @@
-diff -up cppcheck-1.70/gui/CMakeLists.txt.translations 
cppcheck-1.70/gui/CMakeLists.txt
---- cppcheck-1.70/gui/CMakeLists.txt.translations      2015-11-05 
11:37:19.343945331 -0800
-+++ cppcheck-1.70/gui/CMakeLists.txt   2015-11-05 11:37:19.344945349 -0800
-@@ -26,7 +26,7 @@ if (BUILD_GUI)
-     add_executable(cppcheck-gui ${hdrs} ${srcs} ${uis_hdrs} ${resources} 
${qms})
+--- cppcheck-1.72/gui/CMakeLists.txt.orig      2016-01-11 15:46:49.455670218 
+0100
++++ cppcheck-1.72/gui/CMakeLists.txt   2016-01-11 15:50:01.915662141 +0100
+@@ -29,7 +29,7 @@
  
-     install(TARGETS cppcheck-gui RUNTIME DESTINATION bin COMPONENT 
applications)
--    install(FILES ${qms} DESTINATION bin COMPONENT applications)
+ 
+     install(TARGETS cppcheck-gui RUNTIME DESTINATION 
${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications)
+-    install(FILES ${qms} DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT 
applications)
 +    install(FILES ${qms} DESTINATION share/${PROJECT_NAME}/lang/ COMPONENT 
applications)
  
      set(CMAKE_AUTOMOC OFF)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cppcheck.git/commitdiff/8c4879e8b5f1c651dcf63173ffcd71e92695720c

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to