[packages/irssi] - up to 1.2.3; security fixes; disable dynamic linking (was there any point in it?; I don't see it)

arekm arekm at pld-linux.org
Tue May 4 21:36:30 CEST 2021


commit 0bcce1d2ab85c8f0c412919647d7257eef9b4f35
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue May 4 21:36:20 2021 +0200

    - up to 1.2.3; security fixes; disable dynamic linking (was there any point in it?; I don't see it)

 irssi.spec | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/irssi.spec b/irssi.spec
index 7a1152e..a22525e 100644
--- a/irssi.spec
+++ b/irssi.spec
@@ -3,25 +3,25 @@
 #
 # Conditional build:
 %bcond_without	perl	# without perl support
-%bcond_without	dynamic	# without dynamic libraries
+%bcond_with	dynamic	# without dynamic libraries
 %bcond_without	xmpp	# without plugin
 
 %define		no_install_post_check_so	1
 
 %define		idea_ver	0.1.46
 %define		xmpp_ver	0.53
-%define		irssi_perl_version 20190829
+%define		irssi_perl_version 20210409
 Summary:	Irssi is a IRC client
 Summary(fr.UTF-8):	Irssi est un client IRC
 Summary(hu.UTF-8):	Irssi egy IRC kliens
 Summary(pl.UTF-8):	Irssi - wygodny w użyciu klient IRC
 Name:		irssi
-Version:	1.2.2
-Release:	2
+Version:	1.2.3
+Release:	1
 License:	GPL
 Group:		Applications/Communications
 Source0:	https://github.com/irssi/irssi/releases/download/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	062049c73ad2dd54b614e80d0137b737
+# Source0-md5:	ebbf455d8e9c847fc8106591088024ab
 Source1:	%{name}.desktop
 Source2:	%{name}.png
 # NXDOMAIN
@@ -129,7 +129,9 @@ echo 'AC_DEFUN([AM_PATH_GLIB],[:])' > glib1.m4
 
 mv irssi-idea{-%{idea_ver},}
 mv irssi-xmpp{-%{xmpp_ver},}
+%if %{with dynamic}
 %patch8 -p1
+%endif
 %patch9 -p0
 %patch10 -p0
 
@@ -200,7 +202,9 @@ cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 	DESTDIR=$RPM_BUILD_ROOT
 
 # -devel?
+%if %{with dynamic}
 rm $RPM_BUILD_ROOT%{_libdir}/lib*.{so,la,a}
+%endif
 rm -r $RPM_BUILD_ROOT%{_includedir}/irssi
 # cleanup
 rm $RPM_BUILD_ROOT%{_libdir}/irssi/modules/lib*.{la,a}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/irssi.git/commitdiff/0bcce1d2ab85c8f0c412919647d7257eef9b4f35



More information about the pld-cvs-commit mailing list