[packages/libconfig] - updated to 1.7.2 (note: new sonames) - removed outdated soname patch

qboosh qboosh at pld-linux.org
Mon Mar 9 21:23:49 CET 2020


commit 0509e584d4b7001a0321e1c5b6a3204b68cd4bc9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Mar 9 21:24:49 2020 +0100

    - updated to 1.7.2 (note: new sonames)
    - removed outdated soname patch

 libconfig-soname.patch | 15 ---------------
 libconfig.spec         | 16 ++++++++--------
 2 files changed, 8 insertions(+), 23 deletions(-)
---
diff --git a/libconfig.spec b/libconfig.spec
index a933147..d758126 100644
--- a/libconfig.spec
+++ b/libconfig.spec
@@ -1,15 +1,14 @@
 Summary:	C Configuration File Library
 Summary(pl.UTF-8):	Biblioteka C do plików konfiguracyjnych
 Name:		libconfig
-Version:	1.6
+Version:	1.7.2
 Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
 #Source0Download: https://github.com/hyperrealm/libconfig/releases
 Source0:	https://github.com/hyperrealm/libconfig/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	2ccd24b6a2ee39f7ff8a3badfafb6539
+# Source0-md5:	d666f0ca093906d34d6e1e4890053e62
 Patch0:		%{name}-info.patch
-Patch1:		%{name}-soname.patch
 URL:		http://www.hyperrealm.com/main.php?s=libconfig
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
@@ -106,7 +105,6 @@ Statyczna biblioteka libconfig++.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 # force regeneration, included files are outdated
 %{__rm} lib/scanner.[ch]
@@ -124,9 +122,13 @@ Statyczna biblioteka libconfig++.
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libconfig*.la
+
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 
 %clean
@@ -148,12 +150,11 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS README TODO
 %attr(755,root,root) %{_libdir}/libconfig.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libconfig.so.9
+%attr(755,root,root) %ghost %{_libdir}/libconfig.so.11
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libconfig.so
-%{_libdir}/libconfig.la
 %{_includedir}/libconfig.h
 %{_pkgconfigdir}/libconfig.pc
 %{_libdir}/cmake/libconfig
@@ -166,12 +167,11 @@ rm -rf $RPM_BUILD_ROOT
 %files c++
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libconfig++.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libconfig++.so.9
+%attr(755,root,root) %ghost %{_libdir}/libconfig++.so.11
 
 %files c++-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libconfig++.so
-%{_libdir}/libconfig++.la
 %{_includedir}/libconfig.h++
 %{_pkgconfigdir}/libconfig++.pc
 %{_libdir}/cmake/libconfig++
diff --git a/libconfig-soname.patch b/libconfig-soname.patch
deleted file mode 100644
index b08fa73..0000000
--- a/libconfig-soname.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Library interface has changed, but in compatible manner, so versioning
-should be changed from 11:0:2 (.so.9.2.0) to 12:0:3 (.so.9.3.0) instead
-of 11:1:3 (.so.8.3.1).
-
---- libconfig-1.6/lib/Makefile.am.orig	2015-12-31 21:46:42.000000000 +0100
-+++ libconfig-1.6/lib/Makefile.am	2016-10-06 05:37:00.327475124 +0200
-@@ -18,7 +18,7 @@
- #
- # For more info see section 6.3 of the GNU Libtool Manual.
- 
--VERINFO = -version-info 11:1:3
-+VERINFO = -version-info 12:0:3
- 
- ## Flex
- PARSER_PREFIX = libconfig_yy
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libconfig.git/commitdiff/0509e584d4b7001a0321e1c5b6a3204b68cd4bc9



More information about the pld-cvs-commit mailing list