- Update to version 52

* Add INI_CUSTOM_ALLOCATOR to allow using a custom memory
    allocator.
- Drop workaround for library name not matching its soname as this
  was fixed upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/inih?expand=0&rev=8
This commit is contained in:
Matthias Bach 2020-10-15 19:37:35 +00:00 committed by Git OBS Bridge
parent 11439c3a37
commit 9d22e904ce
4 changed files with 17 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:132361da6d3172760a40319722b50244aee1b7ce7077a0dd8805881e6a8ea4aa
size 16258

3
inih-r52.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:439cff9ce9a8afc52d08772ac3e93b3cecd79c7707f871fb4534fb3a48201880
size 16808

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Oct 15 19:10:02 UTC 2020 - Matthias Bach <marix@marix.org> - 52
- Update to version 52
* Add INI_CUSTOM_ALLOCATOR to allow using a custom memory
allocator.
- Drop workaround for library name not matching its soname as this
was fixed upstream.
-------------------------------------------------------------------
Sat Sep 19 15:31:37 UTC 2020 - Matthias Bach <marix@marix.org> - 51

View File

@ -1,7 +1,7 @@
#
# spec file for package inih
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 Matthias Bach <marix@marix.org>
#
# All modifications and additions to the file contributed by third parties
@ -13,18 +13,18 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: inih
Version: 51
Version: 52
Release: 0
Summary: Simple .INI file parser in C, good for embedded systems
License: BSD-3-Clause
Group: Development/Libraries/C and C++
Url: https://github.com/benhoyt/inih
Source: https://github.com/benhoyt/inih/archive/r51.tar.gz#/inih-r51.tar.gz
URL: https://github.com/benhoyt/inih
Source: https://github.com/benhoyt/inih/archive/r%{version}.tar.gz#/inih-r%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: meson
BuildRequires: pkgconfig
@ -69,8 +69,6 @@ bash -e cpptest.sh
%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 libinih0 -p /sbin/ldconfig
%postun -n libinih0 -p /sbin/ldconfig
@ -93,4 +91,3 @@ mv %{buildroot}%{_libdir}/libINIReader.so.49 %{buildroot}%{_libdir}/libINIReader
%license LICENSE.txt
%changelog