]> git.pld-linux.org Git - packages/zsh.git/blobdiff - zsh.spec
config.sub is fresh enough already
[packages/zsh.git] / zsh.spec
index 9425bb9ad3e374122427c66eb55723959c4cfc65..03b3fe853c09c3ec3965120f62b4d639160ebb69 100644 (file)
--- a/zsh.spec
+++ b/zsh.spec
@@ -15,15 +15,15 @@ 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.8
+Version:       5.9
 Release:       1
 License:       BSD-like
 Group:         Applications/Shells
-Source0:       http://downloads.sourceforge.net/zsh/%{name}-%{version}.tar.xz
-# Source0-md5: e02a5428620b3dd268800c7843b3dd4d
+Source0:       https://downloads.sourceforge.net/zsh/%{name}-%{version}.tar.xz
+# Source0-md5: 182e37ca3fe3fa6a44f69ad462c5c30e
 Source1:       %{name}.1.pl
-Source2:       http://zsh.sunsite.dk/Guide/%{name}guide.pdf
-# Source2-md5: 70cc3760dd8140f9aed693d484cd87dc
+Source2:       https://zsh.sourceforge.io/Guide/zshguide.pdf
+# Source2-md5: 409cbf8cbabb2c6bee88aac5c8279718
 Source3:       zprofile
 Source4:       %{name}rc
 Patch0:                %{name}-info.patch
@@ -39,6 +39,7 @@ BuildRequires:        libcap-devel
 BuildRequires: ncurses-devel >= 5.1
 %{?with_static:BuildRequires:  ncurses-static}
 BuildRequires: pcre-devel
+BuildRequires: rpm-build >= 4.6
 BuildRequires: rpmbuild(macros) >= 1.470
 BuildRequires: tar >= 1:1.22
 BuildRequires: texinfo
@@ -112,9 +113,7 @@ Summary(pl.UTF-8):  Pliki potrzebne dla zaawansowanej TAB-completion
 Group:         Applications/Shells
 Requires:      %{name} = %{version}-%{release}
 Conflicts:     kdesdk-completions-zsh <= 3:3.2.3-2
-%if "%{_rpmversion}" >= "4.6"
 BuildArch:     noarch
-%endif
 
 %description completions
 This package contains files needed for advanced tab completion in zsh.
@@ -154,9 +153,7 @@ Summary(hu.UTF-8):  Felhasználói útmutató a Z-Shell-hez
 Summary(pl.UTF-8):     Podręcznik Użytkownika Z-Shella
 Group:         Documentation
 URL:           http://zsh.sunsite.dk/Guide/
-%if "%{_rpmversion}" >= "4.6"
 BuildArch:     noarch
-%endif
 
 %description guide
 A User's Guide to the Z-Shell.
@@ -179,7 +176,6 @@ install %{SOURCE2} .
 find Functions -type f -exec %{__sed} -i -e 's|#!.*/zsh|#!/bin/zsh|g' "{}" ";"
 
 %build
-cp -f /usr/share/automake/config.sub .
 %{__autoconf}
 %{__autoheader}
 echo > stamp-h.in
@@ -203,6 +199,7 @@ LDFLAGS="%{rpmldflags}"
        ac_cv_have_dev_ptmx=yes \
        --enable-maildir-support \
        --enable-cap \
+       --enable-gdbm \
        --enable-pcre \
        --enable-multibyte \
        --with-tcsetpgrp
This page took 0.545529 seconds and 4 git commands to generate.