diff --git a/CastXML-0.4.4.tar.gz b/CastXML-0.4.4.tar.gz deleted file mode 100644 index 16f4110..0000000 --- a/CastXML-0.4.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e7343edf262b291a9a3d702dbfa6d660e8ed81170454eab6af10a6dbf8c8141d -size 103796 diff --git a/CastXML-0.4.5.tar.gz b/CastXML-0.4.5.tar.gz new file mode 100644 index 0000000..038777f --- /dev/null +++ b/CastXML-0.4.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:007f6d073165e150df0e40e1ec331f6f94304684af9eed3b0e5dabaebcfb1197 +size 104158 diff --git a/CastXML.changes b/CastXML.changes index 505079c..f29afa6 100644 --- a/CastXML.changes +++ b/CastXML.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Mar 8 21:23:05 UTC 2022 - Atri Bhattacharya + +- 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 diff --git a/CastXML.spec b/CastXML.spec index e457e25..54f5d1d 100644 --- a/CastXML.spec +++ b/CastXML.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: CastXML -Version: 0.4.4 +Version: 0.4.5 Release: 0 Summary: C-family Abstract Syntax Tree XML Output License: Apache-2.0 @@ -27,6 +27,8 @@ BuildRequires: clang-devel BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: python3-Sphinx +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(zlib) %description 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} \ -DCastXML_INSTALL_DOC_DIR:PATH=%{_docdir}/%{name} \ -DCLANG_LINK_CLANG_DYLIB:BOOL=ON \ + -DBUILD_TESTING:BOOL=ON \ -DSPHINX_HTML: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 rm %{buildroot}%{_docdir}/%{name}/LICENSE +%check +%ctest + %files devel %license LICENSE %{_bindir}/castxml