[packages/zsh] Up to 5.9.2
arekm
arekm at pld-linux.org
Thu Oct 29 09:14:41 CET 2026
commit 05fc6c5109bd48e17e2c90034a900ac86acd022b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Oct 29 01:28:12 2026 +0100
Up to 5.9.2
zsh-nolibs.patch | 11 +++++------
zsh.spec | 14 +++++++-------
2 files changed, 12 insertions(+), 13 deletions(-)
---
diff --git a/zsh.spec b/zsh.spec
index 95141ae..7c15886 100644
--- a/zsh.spec
+++ b/zsh.spec
@@ -15,12 +15,12 @@ Summary(ru.UTF-8): Командный процессор (shell) похожый
Summary(tr.UTF-8): Gelişmiş bir BASH sürümü
Summary(uk.UTF-8): Командний процесор (shell) схожий на ksh, але з покращеннями
Name: zsh
-Version: 5.9
-Release: 3
+Version: 5.9.2
+Release: 1
License: BSD-like
Group: Applications/Shells
Source0: https://downloads.sourceforge.net/zsh/%{name}-%{version}.tar.xz
-# Source0-md5: 182e37ca3fe3fa6a44f69ad462c5c30e
+# Source0-md5: 5c8305ba85166838ef062c5e7b245820
Source1: %{name}.1.pl
Source2: https://zsh.sourceforge.io/Guide/zshguide.pdf
# Source2-md5: 409cbf8cbabb2c6bee88aac5c8279718
@@ -39,7 +39,7 @@ BuildRequires: gdbm-devel
BuildRequires: libcap-devel
BuildRequires: ncurses-devel >= 5.1
%{?with_static:BuildRequires: ncurses-static}
-BuildRequires: pcre-devel
+BuildRequires: pcre2-8-devel
BuildRequires: rpm-build >= 4.6
BuildRequires: rpmbuild(macros) >= 1.470
BuildRequires: tar >= 1:1.22
@@ -188,7 +188,6 @@ LDFLAGS="%{rpmldflags} -static"
%configure \
--enable-maildir-support \
--enable-multibyte \
- --with-tcsetpgrp \
--disable-dynamic
%{__make} \
DLLDFLAGS=""
@@ -203,8 +202,7 @@ LDFLAGS="%{rpmldflags}"
--enable-cap \
--enable-gdbm \
--enable-pcre \
- --enable-multibyte \
- --with-tcsetpgrp
+ --enable-multibyte
%{__make}
cd Doc
@@ -225,6 +223,8 @@ install -d $RPM_BUILD_ROOT{%{_infodir},%{_sysconfdir},%{_bindir},%{_mandir}/pl/m
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%{__rm} $RPM_BUILD_ROOT%{_bindir}/zsh-%{version}
+
%{?with_static:install Src/zsh.static $RPM_BUILD_ROOT%{_bindir}}
install Doc/zsh.info* $RPM_BUILD_ROOT%{_infodir}
diff --git a/zsh-nolibs.patch b/zsh-nolibs.patch
index ecaaf72..65fa387 100644
--- a/zsh-nolibs.patch
+++ b/zsh-nolibs.patch
@@ -1,13 +1,12 @@
-diff -ur zsh-4.2.5/configure.ac zsh-4.2.5.new/configure.ac
---- zsh-4.2.5/configure.ac 2005-04-04 09:48:58.000000000 +0000
-+++ zsh-4.2.5.new/configure.ac 2005-04-12 08:48:06.414551264 +0000
-@@ -725,7 +725,7 @@
+diff -ur zsh-5.9.2.orig/configure.ac zsh-5.9.2/configure.ac
+--- zsh-5.9.2.orig/configure.ac
++++ zsh-5.9.2/configure.ac
+@@ -861,7 +861,7 @@
AC_CHECK_LIB(cap, cap_get_proc)
fi
-AC_CHECK_LIB(socket, socket)
+AC_SEARCH_LIBS(socket, socket)
- AC_SEARCH_LIBS(gethostbyname2, bind)
+ AC_SEARCH_LIBS(gethostbyname2, bind network)
case $LIBS in
- *-lbind*)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/zsh.git/commitdiff/05fc6c5109bd48e17e2c90034a900ac86acd022b
More information about the pld-cvs-commit
mailing list