Accepting request 960309 from home:badshah400:branches:devel:libraries:c_c++
- Update to version 0.4.5. - Build tests, and run them as part of %check section. - New BuildRequires for tests: pkgconfig(libxml-2.0), pkgconfig(zlib). OBS-URL: https://build.opensuse.org/request/show/960309 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/CastXML?expand=0&rev=12
This commit is contained in:
BIN
CastXML-0.4.4.tar.gz
(Stored with Git LFS)
BIN
CastXML-0.4.4.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
CastXML-0.4.5.tar.gz
(Stored with Git LFS)
Normal file
BIN
CastXML-0.4.5.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 8 21:23:05 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 0.4.5:
|
||||||
|
* No release notes.
|
||||||
|
- Build tests, and run them as part of %check section.
|
||||||
|
- New BuildRequires for tests: pkgconfig(libxml-2.0),
|
||||||
|
pkgconfig(zlib).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 26 11:45:37 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
|
Tue Oct 26 11:45:37 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
10
CastXML.spec
10
CastXML.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package CastXML
|
# spec file for package CastXML
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: CastXML
|
Name: CastXML
|
||||||
Version: 0.4.4
|
Version: 0.4.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: C-family Abstract Syntax Tree XML Output
|
Summary: C-family Abstract Syntax Tree XML Output
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@@ -27,6 +27,8 @@ BuildRequires: clang-devel
|
|||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python3-Sphinx
|
BuildRequires: python3-Sphinx
|
||||||
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
CastXML is a C-family abstract syntax tree XML output tool.
|
CastXML is a C-family abstract syntax tree XML output tool.
|
||||||
@@ -44,6 +46,7 @@ CastXML is a C-family abstract syntax tree XML output tool.
|
|||||||
%cmake -DCastXML_INSTALL_MAN_DIR:PATH=%{_mandir} \
|
%cmake -DCastXML_INSTALL_MAN_DIR:PATH=%{_mandir} \
|
||||||
-DCastXML_INSTALL_DOC_DIR:PATH=%{_docdir}/%{name} \
|
-DCastXML_INSTALL_DOC_DIR:PATH=%{_docdir}/%{name} \
|
||||||
-DCLANG_LINK_CLANG_DYLIB:BOOL=ON \
|
-DCLANG_LINK_CLANG_DYLIB:BOOL=ON \
|
||||||
|
-DBUILD_TESTING:BOOL=ON \
|
||||||
-DSPHINX_HTML:BOOL=ON \
|
-DSPHINX_HTML:BOOL=ON \
|
||||||
-DSPHINX_MAN:BOOL=ON
|
-DSPHINX_MAN:BOOL=ON
|
||||||
|
|
||||||
@@ -55,6 +58,9 @@ CastXML is a C-family abstract syntax tree XML output tool.
|
|||||||
# REMOVE FILES TO BE INSTALLED USING %%doc OR %%license
|
# REMOVE FILES TO BE INSTALLED USING %%doc OR %%license
|
||||||
rm %{buildroot}%{_docdir}/%{name}/LICENSE
|
rm %{buildroot}%{_docdir}/%{name}/LICENSE
|
||||||
|
|
||||||
|
%check
|
||||||
|
%ctest
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/castxml
|
%{_bindir}/castxml
|
||||||
|
Reference in New Issue
Block a user