osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-HTTP revision:3, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-HTTP?expand=0&rev=114
This commit is contained in:
2025-01-17 22:01:08 +00:00
committed by Git OBS Bridge
commit 44611c6367
6 changed files with 698 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
HTTP-4000.4.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:df31d8efec775124dab856d7177ddcba31be9f9e0836ebdab03d94392f2dd453
size 74330

196
HTTP.cabal Normal file
View File

@@ -0,0 +1,196 @@
Cabal-Version: >= 1.10
Name: HTTP
Version: 4000.4.1
x-revision: 5
Build-type: Simple
License: BSD3
License-file: LICENSE
Author: Warrick Gray <warrick.gray@hotmail.com>
Maintainer: Ganesh Sittampalam <ganesh@earth.li>
Homepage: https://github.com/haskell/HTTP
Category: Network
Synopsis: A library for client-side HTTP
Description:
The HTTP package supports client-side web programming in Haskell. It lets you set up
HTTP connections, transmitting requests and processing the responses coming back, all
from within the comforts of Haskell. It's dependent on the network package to operate,
but other than that, the implementation is all written in Haskell.
.
A basic API for issuing single HTTP requests + receiving responses is provided. On top
of that, a session-level abstraction is also on offer (the @BrowserAction@ monad);
it taking care of handling the management of persistent connections, proxies,
state (cookies) and authentication credentials required to handle multi-step
interactions with a web server.
.
The representation of the bytes flowing across is extensible via the use of a type class,
letting you pick the representation of requests and responses that best fits your use.
Some pre-packaged, common instances are provided for you (@ByteString@, @String@).
.
Here's an example use:
.
>
> do
> rsp <- Network.HTTP.simpleHTTP (getRequest "http://www.haskell.org/")
> -- fetch document and return it (as a 'String'.)
> fmap (take 100) (getResponseBody rsp)
>
> do
> (_, rsp)
> <- Network.Browser.browse $ do
> setAllowRedirects True -- handle HTTP redirects
> request $ getRequest "http://www.haskell.org/"
> return (take 100 (rspBody rsp))
.
__Note:__ This package does not support HTTPS connections.
If you need HTTPS, take a look at the following packages:
.
* <http://hackage.haskell.org/package/http-streams http-streams>
.
* <http://hackage.haskell.org/package/http-client http-client> (in combination with
<http://hackage.haskell.org/package/http-client-tls http-client-tls>)
.
* <http://hackage.haskell.org/package/req req>
.
* <http://hackage.haskell.org/package/wreq wreq>
.
Extra-Source-Files: CHANGES
tested-with:
GHC == 9.12.1
GHC == 9.10.1
GHC == 9.8.4
GHC == 9.6.6
GHC == 9.4.8
GHC == 9.2.8
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
-- CI failing for GHC 8.0 because of https://github.com/haskell/cabal/issues/10379
-- GHC == 8.0.2
Source-Repository head
type: git
location: https://github.com/haskell/HTTP.git
Flag warn-as-error
default: False
description: Build with warnings-as-errors
manual: True
Flag conduit10
description: Use version 1.0.x or below of the conduit package (for the test suite)
default: False
Flag warp-tests
description: Test against warp
default: False
manual: True
flag network-uri
description: Get Network.URI from the network-uri package
default: True
Library
Exposed-modules:
Network.BufferType,
Network.Stream,
Network.StreamDebugger,
Network.StreamSocket,
Network.TCP,
Network.HTTP,
Network.HTTP.Headers,
Network.HTTP.Base,
Network.HTTP.Stream,
Network.HTTP.Auth,
Network.HTTP.Cookie,
Network.HTTP.Proxy,
Network.HTTP.HandleStream,
Network.Browser
Other-modules:
Network.HTTP.Base64,
Network.HTTP.MD5Aux,
Network.HTTP.Utils
Paths_HTTP
GHC-options: -fwarn-missing-signatures -Wall
-- note the test harness constraints should be kept in sync with these
-- where dependencies are shared
build-depends:
base >= 4.6.0.0 && < 4.22
, array >= 0.3.0.2 && < 0.6
, bytestring >= 0.9.1.5 && < 0.13
, parsec >= 2.0 && < 3.2
, time >= 1.1.2.3 && < 1.15
, transformers >= 0.2.0.0 && < 0.7
-- transformers-0.2.0.0 is the first to have Control.Monad.IO.Class
-- The following dependencies are refined by flags, but they should
-- still be mentioned here on the top-level.
, mtl >= 2.0.0.0 && < 2.4
, network >= 2.4 && < 3.3
default-language: Haskell98
default-extensions: FlexibleInstances
if flag(network-uri)
Build-depends: network-uri == 2.6.*, network >= 2.6
else
Build-depends: network < 2.6
if flag(warn-as-error)
ghc-options: -Werror
if os(windows)
Build-depends: Win32 >= 2.2.0.0 && < 2.14
Test-Suite test
type: exitcode-stdio-1.0
default-language: Haskell98
hs-source-dirs: test
main-is: httpTests.hs
other-modules:
Httpd
UnitTests
ghc-options: -Wall
build-depends:
HTTP
-- constraints inherited from HTTP
, base
, bytestring
, mtl
, network
-- extra dependencies
, deepseq >= 1.3.0.0 && < 1.6
, httpd-shed >= 0.4 && < 0.5
, HUnit >= 1.2.0.1 && < 1.7
, pureMD5 >= 0.2.4 && < 2.2
, split >= 0.1.3 && < 0.3
, test-framework >= 0.2.0 && < 0.9
, test-framework-hunit >= 0.3.0 && < 0.4
if flag(network-uri)
Build-depends: network-uri == 2.6.*, network >= 2.6
else
Build-depends: network < 2.6
if flag(warp-tests)
CPP-Options: -DWARP_TESTS
build-depends:
case-insensitive >= 0.4.0.1 && < 1.3
, conduit >= 1.0.8 && < 1.4
, http-types >= 0.8.0 && < 1.0
, wai >= 2.1.0 && < 3.3
, warp >= 2.1.0 && < 3.4
if flag(conduit10)
build-depends: conduit < 1.1
else
build-depends: conduit >= 1.1, conduit-extra >= 1.1 && < 1.4

313
ghc-HTTP.changes Normal file
View File

@@ -0,0 +1,313 @@
-------------------------------------------------------------------
Sun Jan 5 15:51:43 UTC 2025 - Peter Simons <psimons@suse.com>
- Update HTTP to version 4000.4.1 revision 5.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Mon Apr 15 14:01:49 UTC 2024 - Peter Simons <psimons@suse.com>
- Update HTTP to version 4000.4.1 revision 4.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sat Oct 7 14:15:01 UTC 2023 - Peter Simons <psimons@suse.com>
- Update HTTP to version 4000.4.1 revision 3.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Mar 30 17:07:08 UTC 2023 - Peter Simons <psimons@suse.com>
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
-------------------------------------------------------------------
Thu Mar 16 23:12:10 UTC 2023 - Peter Simons <psimons@suse.com>
- Update HTTP to version 4000.4.1 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sun Aug 14 21:34:43 UTC 2022 - Peter Simons <psimons@suse.com>
- Update HTTP to version 4000.4.1 revision 1.
Version 4000.4.0: release 2022-02-22
* Restrict to GHC >=7.6 and associated cleanups (Andreas Abel)
* Drop deprecated instance Error (Andreas Abel)
* Preparation for mtl-2.3 (Andreas Abel)
* General tidying (Andreas Abel)
* Support GHC 9.2 (Bodigrim)
-------------------------------------------------------------------
Tue Oct 12 11:34:09 UTC 2021 - psimons@suse.com
- Update HTTP to version 4000.3.16 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Mon Mar 22 08:39:23 UTC 2021 - psimons@suse.com
- Update HTTP to version 4000.3.16.
Version 4000.3.16: release 2021-03-20
* Support GHC-9.0 (Oleg Genrus)
* Various dependency bumps (multiple people)
* Try all addresses returned by getAddrInfo (Fraser Tweedale)
Version ?
-------------------------------------------------------------------
Tue Dec 22 12:58:15 UTC 2020 - psimons@suse.com
- Update HTTP to version 4000.3.15 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- disable %{ix86} build
-------------------------------------------------------------------
Sun Sep 27 02:00:36 UTC 2020 - psimons@suse.com
- Update HTTP to version 4000.3.15 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Tue Sep 15 02:36:49 UTC 2020 - psimons@suse.com
- Update HTTP to version 4000.3.15.
Upstream has not updated the file "CHANGES" since the last
release.
-------------------------------------------------------------------
Mon Aug 31 09:34:32 UTC 2020 - psimons@suse.com
- Update HTTP to version 4000.3.14 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Tue Aug 18 10:43:46 UTC 2020 - Peter Simons <psimons@suse.com>
- Replace %setup -q with the more modern %autosetup macro.
-------------------------------------------------------------------
Tue Jun 16 11:13:36 UTC 2020 - Peter Simons <psimons@suse.com>
- Re-generate file with latest version of spec-cleaner.
-------------------------------------------------------------------
Thu May 7 08:08:22 UTC 2020 - Peter Simons <psimons@suse.com>
- Update Cabal file to get more accurate dependency information.
-------------------------------------------------------------------
Fri Feb 28 08:35:47 UTC 2020 - Peter Simons <psimons@suse.com>
- Update Cabal build information for more accurate dependencies.
-------------------------------------------------------------------
Fri Nov 8 16:14:00 UTC 2019 - Peter Simons <psimons@suse.com>
- Drop obsolete group attributes.
-------------------------------------------------------------------
Tue Jun 18 02:01:48 UTC 2019 - psimons@suse.com
- Update HTTP to version 4000.3.14.
Upstream has not updated the file "CHANGES" since the last
release.
-------------------------------------------------------------------
Tue Jun 11 14:29:06 UTC 2019 - Peter Simons <psimons@suse.com>
- Update Cabal file for more accurate build dependencies.
-------------------------------------------------------------------
Mon Mar 18 03:01:21 UTC 2019 - psimons@suse.com
- Update HTTP to version 4000.3.13.
Upstream has not updated the file "CHANGES" since the last
release.
-------------------------------------------------------------------
Fri Oct 19 13:12:23 UTC 2018 - Peter Simons <psimons@suse.com>
- Update Cabal build instructions to support ghc-8.6.1.
-------------------------------------------------------------------
Wed Jul 18 14:26:09 UTC 2018 - psimons@suse.com
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
-------------------------------------------------------------------
Fri Jul 13 14:31:31 UTC 2018 - psimons@suse.com
- Update HTTP to version 4000.3.12.
Upstream has not updated the file "CHANGES" since the last
release.
-------------------------------------------------------------------
Mon May 14 17:02:11 UTC 2018 - psimons@suse.com
- Update HTTP to version 4000.3.11.
Upstream does not provide a changelog.
-------------------------------------------------------------------
Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com
- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
-------------------------------------------------------------------
Mon May 22 08:08:50 UTC 2017 - psimons@suse.com
- Update to version 4000.3.7 with cabal2obs.
-------------------------------------------------------------------
Mon Mar 27 12:40:34 UTC 2017 - psimons@suse.com
- Update to version 4000.3.6 with cabal2obs.
-------------------------------------------------------------------
Mon Jan 30 09:26:47 UTC 2017 - psimons@suse.com
- Update to version 4000.3.5 revision 2 with cabal2obs.
-------------------------------------------------------------------
Sun Jan 8 21:13:50 UTC 2017 - psimons@suse.com
- Update to version 4000.3.4 with cabal2obs.
-------------------------------------------------------------------
Sun Jul 10 16:58:01 UTC 2016 - psimons@suse.com
- Update to version 4000.3.3 revision 0 with cabal2obs.
-------------------------------------------------------------------
Thu Feb 11 08:27:41 UTC 2016 - mimi.vx@gmail.com
- update to 4000.3.3
-------------------------------------------------------------------
Sun Jan 24 10:04:26 UTC 2016 - mimi.vx@gmail.com
- update to 4000.3.2
* If the URI contains "user:pass@" part, use it for Basic Authorization
* Add a test harness.
* Don't leak a socket when getHostAddr throws an exception.
* Send cookies in request format, not response format.
* Moved BrowserAction to be a StateT IO, with instances for
Applicative, MonadIO, MonadState.
* Add method to control size of connection pool.
* Consider both host and port when reusing connections.
* Handle response code 304 "not modified" properly.
* Fix digest authentication by fixing md5 output string rep.
* Make the default user agent string follow the package version.
* Document lack of HTTPS support and fail when clients try
to use it instead of silently falling back to HTTP.
* Add helper to set the request type and body.
-------------------------------------------------------------------
Fri Jan 1 09:32:27 UTC 2016 - mimi.vx@gmail.com
- update to 4000.2.23
-------------------------------------------------------------------
Mon Dec 7 12:41:20 UTC 2015 - mimi.vx@gmail.com
- update to 4000.2.22
-------------------------------------------------------------------
Sun Nov 29 17:14:52 UTC 2015 - mimi.vx@gmail.com
- update to 4000.2.21
-------------------------------------------------------------------
Sun Jun 28 16:15:52 UTC 2015 - mimi.vx@gmail.com
- update to 4000.2.20
* If the URI contains "user:pass@" part, use it for Basic Authorization
* Add a test harness.
* Don't leak a socket when getHostAddr throws an exception.
* Send cookies in request format, not response format.
* Moved BrowserAction to be a StateT IO, with instances for
Applicative, MonadIO, MonadState.
* Add method to control size of connection pool.
* Consider both host and port when reusing connections.
* Handle response code 304 "not modified" properly.
* Fix digest authentication by fixing md5 output string rep.
* Make the default user agent string follow the package version.
* Document lack of HTTPS support and fail when clients try
to use it instead of silently falling back to HTTP.
* Add helper to set the request type and body.
-------------------------------------------------------------------
Sat Apr 11 20:34:01 UTC 2015 - mimi.vx@gmail.com
- update to 4000.2.19
* no upstream changelog
-------------------------------------------------------------------
Tue Sep 9 20:09:24 UTC 2014 - peter.trommler@ohm-hochschule.de
- update to 4000.2.10
* no changelog
* for Haskell Platform 2014.2.0.0
-------------------------------------------------------------------
Mon Sep 1 17:20:24 UTC 2014 - peter.trommler@ohm-hochschule.de
- regenerate spec file with cabal-rpm 0.8.6
* require exact version of ghc-compiler
-------------------------------------------------------------------
Fri Aug 22 23:55:17 UTC 2014 - peter.trommler@ohm-hochschule.de
- enable PowerPC builds
-------------------------------------------------------------------
Tue May 7 12:02:19 UTC 2013 - peter.trommler@ohm-hochschule.de
- update to 4000.2.8 from upstream
* fix resource leaks in getHostAddr
* correct cookie format
- part of Haskell Platform 2013.2
- more transparent packaging (fewer macros)
-------------------------------------------------------------------
Tue Jan 8 17:11:55 UTC 2013 - peter.trommler@ohm-hochschule.de
- expand macro in name tag to help source validator
-------------------------------------------------------------------
Sat Nov 17 14:03:50 UTC 2012 - peter.trommler@ohm-hochschule.de
- make service localonly for Factory submission
-------------------------------------------------------------------
Mon Oct 1 19:24:11 UTC 2012 - peter.trommler@ohm-hochschule.de
- update to 4000.2.5 from upstream
- required by Haskell Platform 2012.4.0.0
-------------------------------------------------------------------
Sun Jun 3 17:00:22 UTC 2012 - peter.trommler@ohm-hochschule.de
- update to 4000.2.3 from upstream
* support mtl 2.1
- required by Haskell Platform 2012.2.0.0
-------------------------------------------------------------------
Wed Dec 28 20:10:08 UTC 2011 - peter.trommler@ohm-hochschule.de
- Adjust version number for platform 2011.4
-------------------------------------------------------------------
Thu Dec 8 18:33:24 UTC 2011 - peter.trommler@ohm-hochschule.de
- Fixed arches.
-------------------------------------------------------------------
Thu Dec 8 18:22:31 UTC 2011 - peter.trommler@ohm-hochschule.de
- Initial packaging.

162
ghc-HTTP.spec Normal file
View File

@@ -0,0 +1,162 @@
#
# spec file for package ghc-HTTP
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global pkg_name HTTP
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 4000.4.1
Release: 0
Summary: A library for client-side HTTP
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
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/5.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-array-devel
BuildRequires: ghc-array-prof
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-network-devel
BuildRequires: ghc-network-prof
BuildRequires: ghc-network-uri-devel
BuildRequires: ghc-network-uri-prof
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-parsec-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-time-devel
BuildRequires: ghc-time-prof
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-transformers-prof
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-HUnit-prof
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-deepseq-prof
BuildRequires: ghc-httpd-shed-devel
BuildRequires: ghc-httpd-shed-prof
BuildRequires: ghc-pureMD5-devel
BuildRequires: ghc-pureMD5-prof
BuildRequires: ghc-split-devel
BuildRequires: ghc-split-prof
BuildRequires: ghc-test-framework-devel
BuildRequires: ghc-test-framework-hunit-devel
BuildRequires: ghc-test-framework-hunit-prof
BuildRequires: ghc-test-framework-prof
%endif
%description
The HTTP package supports client-side web programming in Haskell. It lets you
set up HTTP connections, transmitting requests and processing the responses
coming back, all from within the comforts of Haskell. It's dependent on the
network package to operate, but other than that, the implementation is all
written in Haskell.
A basic API for issuing single HTTP requests + receiving responses is provided.
On top of that, a session-level abstraction is also on offer (the
'BrowserAction' monad); it taking care of handling the management of persistent
connections, proxies, state (cookies) and authentication credentials required
to handle multi-step interactions with a web server.
The representation of the bytes flowing across is extensible via the use of a
type class, letting you pick the representation of requests and responses that
best fits your use. Some pre-packaged, common instances are provided for you
('ByteString', 'String').
Here's an example use:
> > do > rsp <- Network.HTTP.simpleHTTP (getRequest "http://www.haskell.org/")
> -- fetch document and return it (as a 'String'.) > fmap (take 100)
(getResponseBody rsp) > > do > (_, rsp) > <- Network.Browser.browse $ do >
setAllowRedirects True -- handle HTTP redirects > request $ getRequest
"http://www.haskell.org/" > return (take 100 (rspBody rsp))
__Note:__ This package does not support HTTPS connections. If you need HTTPS,
take a look at the following packages:
* <http://hackage.haskell.org/package/http-streams http-streams>
* <http://hackage.haskell.org/package/http-client http-client> (in combination
with <http://hackage.haskell.org/package/http-client-tls http-client-tls>)
* <http://hackage.haskell.org/package/req req>
* <http://hackage.haskell.org/package/wreq wreq>.
%package devel
Summary: Haskell %{pkg_name} library development files
Requires: %{name} = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%package -n ghc-%{pkg_name}-doc
Summary: Haskell %{pkg_name} library documentation
Requires: ghc-filesystem
BuildArch: noarch
%description -n ghc-%{pkg_name}-doc
This package provides the Haskell %{pkg_name} library documentation.
%package -n ghc-%{pkg_name}-prof
Summary: Haskell %{pkg_name} profiling library
Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
%description -n ghc-%{pkg_name}-prof
This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
%install
%ghc_lib_install
%check
%cabal_test
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
%license LICENSE
%files devel -f %{name}-devel.files
%doc CHANGES
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
%license LICENSE
%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
%changelog