Accepting request 1000536 from home:badshah400:branches:devel:libraries:c_c++

* Update to version 0.4.6,
* Use fdupes to link duplicate files.
* Add CastXML-rpmlintrc to suppress errors about empty files that are actually needed.

OBS-URL: https://build.opensuse.org/request/show/1000536
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/CastXML?expand=0&rev=14
This commit is contained in:
Atri Bhattacharya 2022-09-01 09:44:26 +00:00 committed by Git OBS Bridge
parent 985dbfe1c2
commit 3cd51afc43
5 changed files with 20 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:007f6d073165e150df0e40e1ec331f6f94304684af9eed3b0e5dabaebcfb1197
size 104158

3
CastXML-0.4.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8dcdbc1f23a130e4bdb0b09f57c30761a02a346b4db4037555048af2a293d66a
size 104441

2
CastXML-rpmlintrc Normal file
View File

@ -0,0 +1,2 @@
# Zero-length c/cpp files are necessary placeholders
addFilter("zero-length .*/usr/share/castxml/empty.c(pp)*")

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Sep 1 02:33:17 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
- 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 <badshah400@gmail.com>

View File

@ -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