Synchronize builds with devel:languages:haskell:lts:7.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-random?expand=0&rev=15
This commit is contained in:
Peter Simons 2016-10-06 18:40:52 +00:00 committed by Git OBS Bridge
parent 9518ae241c
commit a47105ac99

View File

@ -22,15 +22,13 @@ Version: 1.1
Release: 0
Summary: Random number library
License: BSD-3-Clause
Group: System/Libraries
Group: Development/Languages/Other
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-time-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# End cabal-rpm deps
%description
This package provides a basic random number generation library, including the
@ -50,15 +48,12 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache