Update to 4.1.0

* Reenable tests on s390x, because those work now since
  https://github.com/weechat/weechat/pull/2021
* Remove unnecessary cmake/FindPython.cmake edit
* Unset ENABLE_JAVASCRIPT (and remove v8-devel dependency) since it's
  off by default
This commit is contained in:
LuK1337 2023-10-15 23:47:27 +02:00
commit 64400c75cf
2 changed files with 2 additions and 17 deletions

View file

@ -1 +1 @@
SHA512 (weechat-4.0.5.tar.xz) = 3cf082463c29f8dfe118237ac0d46f5606311634ed1db47f3210a9176020c4f1566a6c4274bd33f5d6b5dd796b169f330a2aacd9928a0feb6181ebf9991177ea
SHA512 (weechat-4.1.0.tar.xz) = 3978e407eec176f812bc696006e40077bf7f2acc7940223fc6d72d06394133c46bc14a953a20433475a42b673db57b6bc6e5fcb4c04c90d07d46332c34b84711

View file

@ -1,11 +1,6 @@
%if 0%{?fedora} || 0%{?rhel} >= 8
%ifnarch s390x
%bcond_without check
%else
# some tests fail on s390x
%bcond_with check
%endif
%else
# no cpputest in EL7
%bcond_with check
%endif
@ -34,7 +29,7 @@
%endif
Name: weechat
Version: 4.0.5
Version: 4.1.0
Release: %autorelease
Summary: Portable, fast, light and extensible IRC client
Group: Applications/Communications
@ -81,13 +76,6 @@ BuildRequires: ruby-devel
BuildRequires: source-highlight
BuildRequires: tcl-devel
BuildRequires: libzstd-devel
%ifarch %{ix86} x86_64 %{arm}
# https://bugzilla.redhat.com/show_bug.cgi?id=1338728
# https://github.com/weechat/weechat/issues/360
%if 0%{?rhel} && 0%{?rhel} < 8
BuildRequires: v8-devel
%endif
%endif
BuildRequires: zlib-devel
%if 0%{?rhel}
BuildRequires: cmake3
@ -118,8 +106,6 @@ This package contains include files and pc file for weechat.
find doc/ -type f -name 'CMakeLists.txt' \
-exec sed -i -e 's#${PROJECT_NAME}#%{_doc}#g' '{}' \;
sed -i 's/NAMES python3.7/NAMES python%{python3_version}m python%{python3_version}/' cmake/FindPython.cmake
%build
%cmake3 \
@ -140,7 +126,6 @@ sed -i 's/NAMES python3.7/NAMES python%{python3_version}m python%{python3_versio
-DENABLE_DOC=OFF \
-DENABLE_MAN=OFF \
%endif
-DENABLE_JAVASCRIPT=OFF \
-DCA_FILE=/etc/pki/tls/certs/ca-bundle.crt \
%{nil}
%cmake3_build