#1 Move INIReader C++ library to inih-cpp subpackage
Merged 4 months ago by zbyszek. Opened 5 months ago by daandemeyer.
rpms/ daandemeyer/inih inireader  into  rawhide

file modified
+14 -2
@@ -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 @@ 

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

  %license LICENSE.txt

  %doc README.md



+ %files cpp



@@ -64,6 +73,9 @@ 




+ * 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


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.

%description cpp

There should be no newline at the before the text.

rebased onto 8907d4c

5 months ago

This is an important change because of the use of xfsprogs in initrams, so I'll go ahead despite no reply from the maintainer. (We also sent a ping via email.)

Pull-Request has been merged by zbyszek

4 months ago