]> git.pld-linux.org Git - packages/ghc-HTTP.git/commitdiff
- up to 4000.3.14
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 26 May 2020 21:44:43 +0000 (23:44 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 26 May 2020 21:44:43 +0000 (23:44 +0200)
ghc-HTTP.spec

index 5fe8835bc8dd13ba4a49fb810c52b058b014f37a..92d9a8f349af9f84f29fd8bb5949b6e8ac17065c 100644 (file)
@@ -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
This page took 0.07951 seconds and 4 git commands to generate.