mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
fish.spec: drop RHEL/CentOS support
Discussed on https://github.com/fish-shell/fish-shell/issues/10453
This commit is contained in:
parent
572aece169
commit
cc2fb5c07c
1 changed files with 1 additions and 9 deletions
10
fish.spec.in
10
fish.spec.in
|
@ -25,17 +25,13 @@ BuildRequires: groff-base
|
|||
%endif
|
||||
|
||||
# for tests
|
||||
%if 0%{?fedora} || ( 0%{?rhel} && 0%{?rhel} > 7 )
|
||||
%if 0%{?fedora}
|
||||
# Need the en_US.utf-8 locale at a minimum
|
||||
BuildRequires: glibc-langpack-en
|
||||
%endif
|
||||
BuildRequires: python3 procps
|
||||
|
||||
%if 0%{?rhel} && 0%{?rhel} < 8
|
||||
Requires: python
|
||||
%else
|
||||
Requires: python3
|
||||
%endif
|
||||
Requires: man
|
||||
|
||||
# Although the build scripts mangle the version number to be RPM compatible
|
||||
|
@ -59,11 +55,7 @@ is simple but incompatible with other shell languages.
|
|||
export CARGO_NET_OFFLINE=true
|
||||
# CMake macros define the wrong sysconfdir arguments
|
||||
EXTRA_CMAKE_FLAGS="$EXTRA_CMAKE_FLAGS -DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} -DCMAKE_INSTALL_DOCDIR=%{_docdir}/fish"
|
||||
%if 0%{?rhel} && 0%{?rhel} < 8
|
||||
%cmake3 $EXTRA_CMAKE_FLAGS
|
||||
%else
|
||||
%cmake $EXTRA_CMAKE_FLAGS
|
||||
%endif
|
||||
%if 0%{?cmake_build:1}
|
||||
%cmake_build
|
||||
%else
|
||||
|
|
Loading…
Reference in a new issue