# generated by cabal-rpm-0.11.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name bytestring-show %global pkgver %{pkg_name}-%{version} %define backport 0 %if 0%{?fedora}%{?rhel} %if 0%{?rhel} %if 0%{?rhel} <= 7 %define backport 1 %endif %endif %endif Name: ghc-%{pkg_name} Version: 0.3.5.6 Release: 10%{?dist} Summary: Efficient conversion of values into readable byte strings License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-array-devel BuildRequires: ghc-binary-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-containers-devel # End cabal-rpm deps %description Efficient conversion of values into readable byte strings. %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkgver} cabal-tweak-dep-ver binary '< 0.8' '< 0.9' %build %ghc_lib_build %install %ghc_lib_install %post devel %ghc_pkg_recache %postun devel %ghc_pkg_recache %files -f %{name}.files %if 0%{?backport} %doc LICENSE %else %license LICENSE %endif %files devel -f %{name}-devel.files %changelog * Sat Oct 21 2017 Tomasz Tomasik - 0.3.5.6-10 - Add support for EL7 - Rebuilt for EL7 * Wed Aug 02 2017 Fedora Release Engineering - 0.3.5.6-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.3.5.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 24 2017 Jens Petersen - 0.3.5.6-7 - refresh to cabal-rpm-0.11.1 * Fri Feb 10 2017 Fedora Release Engineering - 0.3.5.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun Jul 17 2016 Richard Shaw - 0.3.5.6-5 - Rebuild for ghc and hedgewars. * Wed Feb 03 2016 Fedora Release Engineering - 0.3.5.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.3.5.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Feb 17 2015 Bruno Wolff III - 0.3.5.6-2 - Initial Fedora build * Mon Feb 16 2015 Fedora Haskell SIG - 0.3.5.6-1 - spec file generated by cabal-rpm-0.9.3