Accepting request 800999 from devel:languages:haskell

version update

OBS-URL: https://build.opensuse.org/request/show/800999
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson-pretty?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2020-05-11 11:33:09 +00:00 committed by Git OBS Bridge
commit 40c7f58255
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 7 07:44:47 UTC 2020 - Peter Simons <psimons@suse.com>
- Enable 'lib-only' flag to reduce the required dependencies.
-------------------------------------------------------------------
Fri Nov 8 16:13:10 UTC 2019 - Peter Simons <psimons@suse.com>

View File

@ -24,13 +24,10 @@ Summary: JSON pretty-printing library and command-line tool
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: chrpath
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-attoparsec-devel
BuildRequires: ghc-base-compat-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-cmdargs-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-scientific-devel
BuildRequires: ghc-text-devel
@ -66,11 +63,11 @@ This package provides the Haskell %{pkg_name} library development files.
%setup -q -n %{pkg_name}-%{version}
%build
%define cabal_configure_options -flib-only
%ghc_lib_build
%install
%ghc_lib_install
%ghc_fix_rpath %{pkg_name}-%{version}
%post devel
%ghc_pkg_recache
@ -80,7 +77,6 @@ This package provides the Haskell %{pkg_name} library development files.
%files -f %{name}.files
%license LICENSE
%{_bindir}/%{pkg_name}
%files devel -f %{name}-devel.files
%doc README.markdown