SHA256
1
0
forked from pool/fish

Accepting request 426564 from shells

prevent 42.1 from failing due to too old dependencies

OBS-URL: https://build.opensuse.org/request/show/426564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fish?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2016-09-12 11:27:10 +00:00 committed by Git OBS Bridge
commit 942b978bd9
2 changed files with 19 additions and 9 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Sep 10 10:09:00 UTC 2016 - mpluskal@suse.com
- Use shared libpcre instead of bundled one
- Small packaging changes
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 5 01:10:11 UTC 2016 - sflees@suse.de Tue Jul 5 01:10:11 UTC 2016 - sflees@suse.de

View File

@ -26,35 +26,39 @@ Url: http://fishshell.com/
Source: https://github.com/fish-shell/fish-shell/releases/download/%{version}/fish-%{version}.tar.gz Source: https://github.com/fish-shell/fish-shell/releases/download/%{version}/fish-%{version}.tar.gz
# PATCH-FIX-UPSTREAM no-return-in-nonvoid-function.patch Fix no-return-in-nonvoid-function error # PATCH-FIX-UPSTREAM no-return-in-nonvoid-function.patch Fix no-return-in-nonvoid-function error
Patch0: no-return-in-nonvoid-function.patch Patch0: no-return-in-nonvoid-function.patch
BuildRequires: autoconf
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: gettext BuildRequires: gettext
BuildRequires: groff BuildRequires: groff
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: pcre2-devel >= 10.21
BuildRequires: pkgconfig
BuildRequires: python BuildRequires: python
Requires: bc
Requires: man Requires: man
Requires: python-curses Requires: python-curses
Recommends: terminfo Recommends: terminfo
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
fish is a user friendly command line shell for UNIX-like operating systems such as Linux. fish is a user friendly command line shell for UNIX-like operating systems
such as Linux.
It's geared towards interactive use and its features are focused on user friendlieness and It's geared towards interactive use and its features are focused on user
discoverability. The language syntax is simple but incompatible with other shell languages. friendlieness and discoverability. The language syntax is simple but
incompatible with other shell languages.
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
%build %build
autoconf %configure \
%configure --without-included-pcre2
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make DESTDIR=%{buildroot} install %{?_smp_mflags} %make_install
%find_lang %{name} %find_lang %{name}
%post %post
@ -72,7 +76,7 @@ fi
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%dir /etc/fish %dir %{_sysconfdir}/fish
%config(noreplace) %{_sysconfdir}/%{name}/* %config(noreplace) %{_sysconfdir}/%{name}/*
%{_bindir}/* %{_bindir}/*
%{_datadir}/doc/%{name} %{_datadir}/doc/%{name}