[packages/gccxml] - updated to current master (0.9.0 snap; with improved gcc 4.x support) - removed obsolete includes

qboosh qboosh at pld-linux.org
Sat Oct 10 08:19:08 CEST 2015


commit 26362631fd813006cc083b138aa19a34e7e1eccb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Oct 10 08:20:22 2015 +0200

    - updated to current master (0.9.0 snap; with improved gcc 4.x support)
    - removed obsolete includes patch

 gccxml-includes.patch | 21 ----------------
 gccxml.spec           | 69 +++++++++++++++++++++++++++++++++------------------
 2 files changed, 45 insertions(+), 45 deletions(-)
---
diff --git a/gccxml.spec b/gccxml.spec
index 8c1e635..549a78a 100644
--- a/gccxml.spec
+++ b/gccxml.spec
@@ -1,13 +1,14 @@
 Summary:	GCC-XML - dump XML description of C++ source code
 Summary(pl.UTF-8):	GCC-XML - zrzut opisu XML kodu źródłowego w C++
 Name:		gccxml
-Version:	0.6.0
-Release:	1
+Version:	0.9.0
+%define	gitref	3afa8ba5be6866e603dcabe80aff79856b558e24
+%define	snap	20150424
+Release:	0.%{snap}.1
 License:	GPL v2+ (GCC code), BSD-like (GCC-XML)
 Group:		Development/Tools
-Source0:	https://github.com/gccxml/gccxml/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	0458765b917dc385d91e0f14156572a8
-Patch0:		%{name}-includes.patch
+Source0:	https://github.com/gccxml/gccxml/archive/%{gitref}/%{name}-%{snap}.tar.gz
+# Source0-md5:	70e4b145feb2a7036c835cf214cae26a
 URL:		http://gccxml.github.io/HTML/Index.html
 BuildRequires:	cmake
 BuildRequires:	libstdc++-devel
@@ -23,11 +24,7 @@ GCC-XML to program zrzucający opis XML kodu źródłowego w C++ przy
 użyciu rozszerzenia kompulatora C++ GCC.
 
 %prep
-%setup -q
-%patch0 -p1
-
-# replace with new version
-cp -f /usr/include/obstack.h GCC/include/obstack.h
+%setup -q -n %{name}-%{gitref}
 
 %build
 install -d build
@@ -42,26 +39,50 @@ rm -rf $RPM_BUILD_ROOT
 	DESTDIR=$RPM_BUILD_ROOT
 
 # packaged as %doc
-%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/gccxml-0.6
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/gccxml-0.9
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README GCC_XML/Copyright.txt build/bin/doc/gccxml.html
+%doc LICENSE.rst README.rst GCC_XML/Copyright.txt build/GCC_XML/doc/gccxml.html
 %attr(755,root,root) %{_bindir}/gccxml
 %attr(755,root,root) %{_bindir}/gccxml_cc1plus
-%dir %{_datadir}/gccxml-0.6
-%{_datadir}/gccxml-0.6/gccxml_config
-%attr(755,root,root) %{_datadir}/gccxml-0.6/gccxml_find_flags
-%dir %{_datadir}/gccxml-0.6/GCC
-%{_datadir}/gccxml-0.6/GCC/2.95
-%{_datadir}/gccxml-0.6/GCC/3.3
-%attr(755,root,root) %{_datadir}/gccxml-0.6/GCC/find_flags
-%dir %{_datadir}/gccxml-0.6/Intel
-%attr(755,root,root) %{_datadir}/gccxml-0.6/Intel/find_flags
-%dir %{_datadir}/gccxml-0.6/MIPSpro
-%{_datadir}/gccxml-0.6/MIPSpro/7.3
-%attr(755,root,root) %{_datadir}/gccxml-0.6/MIPSpro/find_flags
+%dir %{_datadir}/gccxml-0.9
+%{_datadir}/gccxml-0.9/gccxml_config
+%{_datadir}/gccxml-0.9/gccxml_identify_compiler.cc
+%dir %{_datadir}/gccxml-0.9/GCC
+%{_datadir}/gccxml-0.9/GCC/2.95
+%{_datadir}/gccxml-0.9/GCC/2.96
+%{_datadir}/gccxml-0.9/GCC/3.0
+%{_datadir}/gccxml-0.9/GCC/3.1
+%{_datadir}/gccxml-0.9/GCC/3.2
+%{_datadir}/gccxml-0.9/GCC/3.3
+%{_datadir}/gccxml-0.9/GCC/3.4
+%{_datadir}/gccxml-0.9/GCC/4.0
+%{_datadir}/gccxml-0.9/GCC/4.1
+%{_datadir}/gccxml-0.9/GCC/4.2
+%{_datadir}/gccxml-0.9/GCC/4.3
+%{_datadir}/gccxml-0.9/GCC/4.4
+%{_datadir}/gccxml-0.9/GCC/4.5
+%{_datadir}/gccxml-0.9/GCC/4.6
+%{_datadir}/gccxml-0.9/GCC/4.7
+%{_datadir}/gccxml-0.9/GCC/4.8
+%{_datadir}/gccxml-0.9/GCC/4.9
+%dir %{_datadir}/gccxml-0.9/IBM
+%{_datadir}/gccxml-0.9/IBM/8.0
+%attr(755,root,root) %{_datadir}/gccxml-0.9/IBM/find_flags
+%{_datadir}/gccxml-0.9/IBM/find_flags_common
+%dir %{_datadir}/gccxml-0.9/Intel
+%attr(755,root,root) %{_datadir}/gccxml-0.9/Intel/find_flags
+%{_datadir}/gccxml-0.9/Intel/pthread.h
+%dir %{_datadir}/gccxml-0.9/MIPSpro
+%{_datadir}/gccxml-0.9/MIPSpro/7.3
+%attr(755,root,root) %{_datadir}/gccxml-0.9/MIPSpro/find_flags
+%{_datadir}/gccxml-0.9/MIPSpro/mipspro_defs.cxx
+%dir %{_datadir}/gccxml-0.9/Sun
+%{_datadir}/gccxml-0.9/Sun/5.8
+%attr(755,root,root) %{_datadir}/gccxml-0.9/Sun/find_flags
+%{_datadir}/gccxml-0.9/Sun/find_flags_common
 %{_mandir}/man1/gccxml.1*
diff --git a/gccxml-includes.patch b/gccxml-includes.patch
deleted file mode 100644
index cf03e9f..0000000
--- a/gccxml-includes.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- gccxml-0.6.0/GCC_XML/KWSys/SystemTools.cxx.orig	2004-02-04 23:50:19.000000000 +0100
-+++ gccxml-0.6.0/GCC_XML/KWSys/SystemTools.cxx	2015-10-06 22:07:00.491875951 +0200
-@@ -26,6 +26,7 @@
- #include <sys/stat.h>
- #include <ctype.h>
- #include <errno.h>
-+#include <string.h>
- #include <time.h>
- 
- // support for realpath call
---- gccxml-0.6.0/GCC_XML/GXFront/gxConfiguration.cxx.orig	2004-02-04 23:50:19.000000000 +0100
-+++ gccxml-0.6.0/GCC_XML/GXFront/gxConfiguration.cxx	2015-10-06 22:12:09.615196312 +0200
-@@ -16,6 +16,8 @@
- =========================================================================*/
- #include "gxConfiguration.h"
- 
-+#include <string.h>
-+
- //----------------------------------------------------------------------------
- const char* gxConfigurationVc6Registry =
- "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gccxml.git/commitdiff/26362631fd813006cc083b138aa19a34e7e1eccb



More information about the pld-cvs-commit mailing list