Move INIReader C++ library to inih-cpp subpackage
This commit moves the INIReader C++ library to a subpackage so that a base system with xfsprogs (which provides fsck.xfs) can be built without pulling in the C++ standard library. None of the packages pulling in inih depend on libINIReader.so so this should not break any downstream users. We care about not pulling in the C++ standard library because we might want to install xfsprogs in an initramfs which needs to be as small as possible. By splitting INIReader into a subpackage, installing xfsprogs doesn't pull in the C++ standard library into the initramfs anymore.
This commit is contained in:
parent
4c3649d78f
commit
8907d4c86e
16
inih.spec
16
inih.spec
@ -1,6 +1,6 @@
|
||||
Name: inih
|
||||
Version: 57
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Simple INI file parser library
|
||||
|
||||
License: BSD-3-Clause
|
||||
@ -17,11 +17,18 @@ The inih package provides simple INI file parser which is only a couple of
|
||||
pages of code, and it was designed to be small and simple, so it's good for
|
||||
embedded systems.
|
||||
|
||||
%package cpp
|
||||
Summary: INIReader C++ library
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description cpp
|
||||
This package contains the INIReader C++ library which provides a C++ interface
|
||||
for inih.
|
||||
|
||||
%package devel
|
||||
Summary: Development package for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
Requires: %{name}-cpp%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains development files for %{name}.
|
||||
@ -51,6 +58,8 @@ embedded systems.
|
||||
%license LICENSE.txt
|
||||
%doc README.md
|
||||
%{_libdir}/lib%{name}.so.0
|
||||
|
||||
%files cpp
|
||||
%{_libdir}/libINIReader.so.0
|
||||
|
||||
|
||||
@ -64,6 +73,9 @@ embedded systems.
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Dec 2 2023 Daan De Meyer <daan.j.demeyer@gmail.com> - 57-3
|
||||
- Move INIReader C++ library to inih-cpp subpackage
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 57-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user