[packages/ghc-HTTP] - up to 4000.3.14
baggins
baggins at pld-linux.org
Tue May 26 23:45:18 CEST 2020
commit ebd8556f22c87f7c36f72923a1fafb9b4f4ada23
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue May 26 23:44:43 2020 +0200
- up to 4000.3.14
ghc-HTTP.spec | 44 +++++++++++++++++++++-----------------------
1 file changed, 21 insertions(+), 23 deletions(-)
---
diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec
index 5fe8835..92d9a8f 100644
--- a/ghc-HTTP.spec
+++ b/ghc-HTTP.spec
@@ -6,34 +6,31 @@
Summary: A library for client-side HTTP
Summary(pl.UTF-8): Biblioteka kliencka HTTP
Name: ghc-%{pkgname}
-Version: 4000.2.10
+Version: 4000.3.14
Release: 1
License: BSD
Group: Development/Languages
#Source0Download: http://hackage.haskell.org/package/HTTP
Source0: http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{version}.tar.gz
-# Source0-md5: 45d237b5fc81a325966a611a33b9b296
+# Source0-md5: a2e340760c318658313f1548c91e2692
+Patch0: ghc-8.10.patch
URL: http://hackage.haskell.org/package/HTTP
BuildRequires: ghc >= 6.12.3
BuildRequires: ghc-array
BuildRequires: ghc-base >= 3
-BuildRequires: ghc-base < 4.8
BuildRequires: ghc-bytestring
BuildRequires: ghc-mtl >= 2.0
-BuildRequires: ghc-mtl < 2.2
-BuildRequires: ghc-network < 2.5
-BuildRequires: ghc-old-time
+BuildRequires: ghc-network
+BuildRequires: ghc-network-uri
BuildRequires: ghc-parsec
%if %{with prof}
BuildRequires: ghc-prof >= 6.12.3
BuildRequires: ghc-array-prof
BuildRequires: ghc-base-prof >= 3
-BuildRequires: ghc-base-prof < 4.8
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-mtl-prof >= 2.0
-BuildRequires: ghc-mtl-prof < 2.2
-BuildRequires: ghc-network-prof < 2.5
-BuildRequires: ghc-old-time-prof
+BuildRequires: ghc-network-prof
+BuildRequires: ghc-network-uri-prof
BuildRequires: ghc-parsec-prof
%endif
BuildRequires: rpmbuild(macros) >= 1.608
@@ -41,12 +38,10 @@ Requires(post,postun): /usr/bin/ghc-pkg
%requires_eq ghc
Requires: ghc-array
Requires: ghc-base >= 3
-Requires: ghc-base < 4.8
Requires: ghc-bytestring
Requires: ghc-mtl >= 2.0
-Requires: ghc-mtl < 2.2
-Requires: ghc-network < 2.5
-Requires: ghc-old-time
+Requires: ghc-network
+Requires: ghc-network-uri
Requires: ghc-parsec
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -77,12 +72,10 @@ Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: ghc-array-prof
Requires: ghc-base-prof >= 3
-Requires: ghc-base-prof < 4.8
Requires: ghc-bytestring-prof
Requires: ghc-mtl-prof >= 2.0
-Requires: ghc-mtl-prof < 2.2
-Requires: ghc-network-prof < 2.5
-Requires: ghc-old-time-prof
+Requires: ghc-network-prof
+Requires: ghc-network-uri-prof
Requires: ghc-parsec-prof
%description prof
@@ -106,6 +99,7 @@ Dokumentacja w formacie HTML dla pakietu ghc %{pkgname}.
%prep
%setup -q -n %{pkgname}-%{version}
+%patch0 -p1
%build
runhaskell Setup.lhs configure -v2 \
@@ -146,19 +140,23 @@ rm -rf $RPM_BUILD_ROOT
%doc CHANGES LICENSE
%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
%dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/HSHTTP-%{version}.o
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHSHTTP-%{version}.a
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Paths_HTTP.hi
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHSHTTP-%{version}-*.so
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHSHTTP-%{version}-*.a
+%exclude %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHSHTTP-%{version}-*_p.a
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*.hi
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*.dyn_hi
%dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Network
%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Network/*.hi
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Network/*.dyn_hi
%dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Network/HTTP
%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Network/HTTP/*.hi
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Network/HTTP/*.dyn_hi
%if %{with prof}
%files prof
%defattr(644,root,root,755)
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHSHTTP-%{version}_p.a
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Paths_HTTP.p_hi
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHSHTTP-%{version}-*_p.a
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*.p_hi
%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Network/*.p_hi
%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Network/HTTP/*.p_hi
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ghc-HTTP.git/commitdiff/ebd8556f22c87f7c36f72923a1fafb9b4f4ada23
More information about the pld-cvs-commit
mailing list