Hello community, here is the log from the commit of package cabal-install for openSUSE:Factory checked in at 2017-04-28 09:13:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cabal-install (Old) and /work/SRC/openSUSE:Factory/.cabal-install.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cabal-install" Fri Apr 28 09:13:57 2017 rev:18 rq:491330 version:1.24.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/cabal-install/cabal-install.changes 2017-03-24 02:09:21.520452910 +0100 +++ /work/SRC/openSUSE:Factory/.cabal-install.new/cabal-install.changes 2017-04-28 09:13:58.896343566 +0200 @@ -1,0 +2,6 @@ +Wed Apr 26 17:20:55 UTC 2017 - [email protected] + +- Add bash-completion sub-package that provides the auto-completion + instructions for bash. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cabal-install.spec ++++++ --- /var/tmp/diff_new_pack.9N2b3y/_old 2017-04-28 09:13:59.512256712 +0200 +++ /var/tmp/diff_new_pack.9N2b3y/_new 2017-04-28 09:13:59.516256148 +0200 @@ -50,6 +50,7 @@ BuildRequires: ghc-time-devel BuildRequires: ghc-unix-devel BuildRequires: ghc-zlib-devel +Suggests: %{name}-bash-completion BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-QuickCheck-devel @@ -65,6 +66,16 @@ software by automating the fetching, configuration, compilation and installation of Haskell libraries and programs. +%package bash-completion +Summary: Bash completion for cabal-install +Group: System/Shells +Requires: %{name} = %{version} +Requires: bash-completion +Supplements: packageand(%{name}:bash-completion) + +%description bash-completion +Optional sub-package offering bash completion for cabal-install. + %prep %setup -q @@ -73,6 +84,7 @@ %install %ghc_bin_install +install -D -m444 bash-completion/cabal %{buildroot}%{_datadir}/bash-completion/completions/cabal %check %cabal_test @@ -84,4 +96,10 @@ %{_bindir}/cabal %{_mandir}/man1/cabal.1%{ext_man} +%files bash-completion +%defattr(-,root,root) +%dir %{_datadir}/bash-completion +%dir %{_datadir}/bash-completion/completions +%{_datadir}/bash-completion/completions/cabal + %changelog
