diff --git a/CastXML-0.4.5.tar.gz b/CastXML-0.4.5.tar.gz deleted file mode 100644 index 038777f..0000000 --- a/CastXML-0.4.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:007f6d073165e150df0e40e1ec331f6f94304684af9eed3b0e5dabaebcfb1197 -size 104158 diff --git a/CastXML-0.4.6.tar.gz b/CastXML-0.4.6.tar.gz new file mode 100644 index 0000000..818d314 --- /dev/null +++ b/CastXML-0.4.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8dcdbc1f23a130e4bdb0b09f57c30761a02a346b4db4037555048af2a293d66a +size 104441 diff --git a/CastXML-rpmlintrc b/CastXML-rpmlintrc new file mode 100644 index 0000000..c6f8364 --- /dev/null +++ b/CastXML-rpmlintrc @@ -0,0 +1,2 @@ +# Zero-length c/cpp files are necessary placeholders +addFilter("zero-length .*/usr/share/castxml/empty.c(pp)*") diff --git a/CastXML.changes b/CastXML.changes index f29afa6..fd9a449 100644 --- a/CastXML.changes +++ b/CastXML.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Sep 1 02:33:17 UTC 2022 - Atri Bhattacharya + +- Update to version 0.4.6: + * No release notes. +- Use fdupes to link duplicate files. +- Add CastXML-rpmlintrc to suppress errors about empty files that + are actually needed. + ------------------------------------------------------------------- Tue Mar 8 21:23:05 UTC 2022 - Atri Bhattacharya diff --git a/CastXML.spec b/CastXML.spec index 54f5d1d..8c1332d 100644 --- a/CastXML.spec +++ b/CastXML.spec @@ -17,14 +17,16 @@ Name: CastXML -Version: 0.4.5 +Version: 0.4.6 Release: 0 Summary: C-family Abstract Syntax Tree XML Output License: Apache-2.0 URL: https://github.com/CastXML/CastXML -Source: https://github.com/CastXML/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: https://github.com/CastXML/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: %{name}-rpmlintrc BuildRequires: clang-devel BuildRequires: cmake +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: python3-Sphinx BuildRequires: pkgconfig(libxml-2.0) @@ -58,6 +60,8 @@ 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 +%fdupes %{buildroot}%{_datadir}/castxml/clang/include/ + %check %ctest