|
|
|
@ -6,8 +6,8 @@
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
# part of haskell-platform
|
|
|
|
|
Version: 2.4.2.3
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 2.6.2.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Low-level networking interface
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
@ -18,18 +18,19 @@ BuildRequires: ghc-Cabal-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
|
BuildRequires: ghc-bytestring-devel
|
|
|
|
|
BuildRequires: ghc-parsec-devel
|
|
|
|
|
BuildRequires: ghc-unix-devel
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
BuildRequires: ghc-HUnit-devel
|
|
|
|
|
BuildRequires: ghc-test-framework-devel
|
|
|
|
|
BuildRequires: ghc-test-framework-hunit-devel
|
|
|
|
|
BuildRequires: ghc-test-framework-quickcheck2-devel
|
|
|
|
|
%endif
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Low-level networking interface.
|
|
|
|
|
This package provides a low-level networking interface.
|
|
|
|
|
|
|
|
|
|
In network-2.6 the 'Network.URI' module was split off into its own package,
|
|
|
|
|
network-uri-2.6.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
@ -56,6 +57,8 @@ cp -f /usr/lib/rpm/config.{guess,sub} .
|
|
|
|
|
%install
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if %{with tests}
|
|
|
|
@ -72,14 +75,17 @@ cp -f /usr/lib/rpm/config.{guess,sub} .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
%doc LICENSE
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
|
|
|
|
%doc README examples
|
|
|
|
|
%doc README.md examples
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jun 7 2016 Jens Petersen <petersen@redhat.com> - 2.6.2.1-1
|
|
|
|
|
- update to 2.6.2.1
|
|
|
|
|
|
|
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|