[packages/libassuan] - updated to 3.0.0 (new soname); drop libassuan-config (in favour of gpgrt-config) and .la file (in

qboosh qboosh at pld-linux.org
Sun Jun 23 20:32:20 CEST 2024


commit f6a449ba406b9ad0391a40877c48f52bb9d68fae
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 23 20:18:07 2024 +0200

    - updated to 3.0.0 (new soname); drop libassuan-config (in favour of gpgrt-config) and .la file (in favour of .pc file)

 libassuan-ac.patch |  8 ++++----
 libassuan.spec     | 21 +++++++++++----------
 2 files changed, 15 insertions(+), 14 deletions(-)
---
diff --git a/libassuan.spec b/libassuan.spec
index 6ff319d..d4bd1ad 100644
--- a/libassuan.spec
+++ b/libassuan.spec
@@ -1,26 +1,26 @@
 #
 # Conditional build:
-%bcond_without	static_libs	# don't build static library
+%bcond_without	static_libs	# static library
 #
 Summary:	Assuan - an IPC library for non-persistent servers
 Summary(pl.UTF-8):	Assuan - biblioteka IPC dla serwerów nie działających ciągle
 Name:		libassuan
-Version:	2.5.7
+Version:	3.0.0
 Release:	1
 Epoch:		1
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	ftp://ftp.gnupg.org/gcrypt/libassuan/%{name}-%{version}.tar.bz2
-# Source0-md5:	fe8310b1a5bcaa32d70af476fa2b942a
+# Source0-md5:	b7f42a82a4864fb275c290a155cd1b8a
 Patch0:		%{name}-info.patch
 Patch1:		%{name}-ac.patch
-URL:		http://www.gnupg.org/related_software/libassuan/
+URL:		https://www.gnupg.org/related_software/libassuan/
 BuildRequires:	autoconf >= 2.69
 BuildRequires:	automake >= 1:1.14
-BuildRequires:	libgpg-error-devel >= 1.17
+BuildRequires:	libgpg-error-devel >= 1.29
 BuildRequires:	libtool >= 2:2.2.6
 BuildRequires:	texinfo
-Requires:	libgpg-error >= 1.17
+Requires:	libgpg-error >= 1.29
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -41,7 +41,7 @@ Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki assuan
 Group:		Development/Libraries
 Conflicts:	libassuan1-devel
 Requires:	%{name} = %{epoch}:%{version}-%{release}
-Requires:	libgpg-error-devel >= 1.17
+Requires:	libgpg-error-devel >= 1.29
 
 %description devel
 Header files for assuan library.
@@ -82,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libassuan.la
+
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 
 %clean
@@ -100,13 +103,11 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_libdir}/libassuan.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libassuan.so.0
+%attr(755,root,root) %ghost %{_libdir}/libassuan.so.9
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/libassuan-config
 %attr(755,root,root) %{_libdir}/libassuan.so
-%{_libdir}/libassuan.la
 %{_includedir}/assuan.h
 %{_aclocaldir}/libassuan.m4
 %{_infodir}/assuan.info*
diff --git a/libassuan-ac.patch b/libassuan-ac.patch
index c7e8d2d..27466e1 100644
--- a/libassuan-ac.patch
+++ b/libassuan-ac.patch
@@ -1,8 +1,8 @@
---- libassuan-2.0.2/configure.ac.orig	2011-06-16 13:47:56.000000000 +0200
-+++ libassuan-2.0.2/configure.ac	2011-06-18 08:36:25.247982816 +0200
-@@ -172,11 +175,6 @@
+--- libassuan-3.0.0/configure.ac.orig	2024-06-23 20:03:45.691847685 +0200
++++ libassuan-3.0.0/configure.ac	2024-06-23 20:05:14.248034601 +0200
+@@ -245,11 +245,6 @@ have_dosish_system=no
+ have_w32_system=no
  have_w64_system=no
- have_w32ce_system=no
  case "${host}" in
 -    *-linux*)
 -        if test "$GCC" = yes; then
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libassuan.git/commitdiff/f6a449ba406b9ad0391a40877c48f52bb9d68fae



More information about the pld-cvs-commit mailing list