commit 88db57e10fbf5e9618539690f10931296199d355 Author: CentOS Sources Date: Tue May 7 06:18:26 2019 -0400 import ghc-unliftio-core-0.1.1.0-3.el8 diff --git a/.ghc-unliftio-core.metadata b/.ghc-unliftio-core.metadata new file mode 100644 index 0000000..ae415ee --- /dev/null +++ b/.ghc-unliftio-core.metadata @@ -0,0 +1 @@ +0d493a4f29eba50125b2c9d3b9a7ec888d2d205e SOURCES/unliftio-core-0.1.1.0.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dbc9ccc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/unliftio-core-0.1.1.0.tar.gz diff --git a/SPECS/ghc-unliftio-core.spec b/SPECS/ghc-unliftio-core.spec new file mode 100644 index 0000000..12610bf --- /dev/null +++ b/SPECS/ghc-unliftio-core.spec @@ -0,0 +1,75 @@ +# generated by cabal-rpm-0.12 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name unliftio-core +%global pkgver %{pkg_name}-%{version} + +Name: ghc-%{pkg_name} +Version: 0.1.1.0 +Release: 3%{?dist} +Summary: The MonadUnliftIO typeclass for unlifting monads to IO + +License: MIT +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-transformers-devel +# End cabal-rpm deps + +%description +Provides the core MonadUnliftIO typeclass, instances for base and transformers, +and basic utility functions. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +%endif +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%prep +%setup -q -n %{pkgver} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache + + +%files -f %{name}.files +%license LICENSE + + +%files devel -f %{name}-devel.files +%doc ChangeLog.md README.md + + +%changelog +* Fri Feb 23 2018 Jens Petersen - 0.1.1.0-3 +- bump over resourcet + +* Sat Jan 27 2018 Fedora Haskell SIG - 0.1.1.0-1 +- spec file generated by cabal-rpm-0.12