Remove config.h file from installation

This commit is contained in:
Björn Esser 2020-04-20 07:47:18 +02:00
parent 28506dd6ec
commit 8f0e4fddec

View File

@ -13,7 +13,7 @@
Name: json-c Name: json-c
Version: 0.13.99 Version: 0.13.99
Release: 0.3%{?dist} Release: 0.4%{?dist}
Summary: JSON implementation in C Summary: JSON implementation in C
License: MIT License: MIT
@ -76,6 +76,10 @@ mkdir -p %{_vpath_builddir}
%install %install
%make_install -C %{_vpath_builddir} %make_install -C %{_vpath_builddir}
# The config.h header file is not needed, and
# may be the cause for undesired trouble.
rm -f %{_includedir}/%{name}/config.h
# Documentation # Documentation
mkdir -p %{buildroot}%{_pkgdocdir} mkdir -p %{buildroot}%{_pkgdocdir}
cp -a %{_vpath_builddir}/doc/html ChangeLog README README.* \ cp -a %{_vpath_builddir}/doc/html ChangeLog README README.* \
@ -116,6 +120,9 @@ popd
%changelog %changelog
* Mon Apr 20 2020 Björn Esser <besser82@fedoraproject.org> - 0.13.99-0.4.20200416gita911439
- Remove config.h file from installation
* Thu Apr 16 2020 Björn Esser <besser82@fedoraproject.org> - 0.13.99-0.3.20200416gita911439 * Thu Apr 16 2020 Björn Esser <besser82@fedoraproject.org> - 0.13.99-0.3.20200416gita911439
- Update to recent git snapshot - Update to recent git snapshot