- Fix the library not matching its soname
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/inih?expand=0&rev=4
This commit is contained in:
parent
6af63101a1
commit
fefdb39820
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 17 20:58:02 UTC 2020 - Matthias Bach <marix@marix.org> - 51
|
||||||
|
|
||||||
|
- Fix the library not matching its soname
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 17 20:39:44 UTC 2020 - Matthias Bach <marix@marix.org>
|
Thu Sep 17 20:39:44 UTC 2020 - Matthias Bach <marix@marix.org>
|
||||||
|
|
||||||
|
14
inih.spec
14
inih.spec
@ -33,11 +33,11 @@ BuildRequires: pkgconfig
|
|||||||
INI Not Invented Here is a simple parser for .INI files written in C and mostly
|
INI Not Invented Here is a simple parser for .INI files written in C and mostly
|
||||||
compatible with Python's ConfigParser.
|
compatible with Python's ConfigParser.
|
||||||
|
|
||||||
%package -n libinih49
|
%package -n libinih0
|
||||||
Summary: INIH dynamic libary files
|
Summary: INIH dynamic libary files
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libinih49
|
%description -n libinih0
|
||||||
INI Not Invented Here is a simple parser for .INI files written in C and mostly
|
INI Not Invented Here is a simple parser for .INI files written in C and mostly
|
||||||
compatible with Python's ConfigParser.
|
compatible with Python's ConfigParser.
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ This package provides the library for use at runtime by applications using INIH.
|
|||||||
%package -n libinih-devel
|
%package -n libinih-devel
|
||||||
Summary: Development files for INIH
|
Summary: Development files for INIH
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libinih49 = %{version}
|
Requires: libinih0 = %{version}
|
||||||
|
|
||||||
%description -n libinih-devel
|
%description -n libinih-devel
|
||||||
INI Not Invented Here is a simple parser for .INI files written in C and mostly
|
INI Not Invented Here is a simple parser for .INI files written in C and mostly
|
||||||
@ -66,11 +66,13 @@ This package provides the development headers for INIH including the C++ binding
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
|
mv %{buildroot}%{_libdir}/libinih.so.49 %{buildroot}%{_libdir}/libinih.so.0
|
||||||
|
mv %{buildroot}%{_libdir}/libINIReader.so.49 %{buildroot}%{_libdir}/libINIReader.so.0
|
||||||
|
|
||||||
%post -n libinih49 -p /sbin/ldconfig
|
%post -n libinih0 -p /sbin/ldconfig
|
||||||
%postun -n libinih49 -p /sbin/ldconfig
|
%postun -n libinih0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libinih49
|
%files -n libinih0
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libinih.so.*
|
%{_libdir}/libinih.so.*
|
||||||
%{_libdir}/libINIReader.so.*
|
%{_libdir}/libINIReader.so.*
|
||||||
|
Loading…
Reference in New Issue
Block a user