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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-mime-types?expand=0&rev=9
This commit is contained in:
Peter Simons 2016-10-06 18:27:18 +00:00 committed by Git OBS Bridge
parent 74a21b8907
commit 8f1b8d9ffb

View File

@ -22,17 +22,15 @@ Version: 0.1.0.7
Release: 0
Summary: Basic mime-type handling types and functions
License: MIT
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
# Begin cabal-rpm deps:
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-text-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# End cabal-rpm deps
%description
API docs and the README are available at
@ -52,15 +50,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