From cda4fdca69a9e1899fb1abdb8bc2bb84f1ab7da3 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 7 Jan 2009 01:25:14 +0000 Subject: [PATCH 01/97] Setup of module ghc-HTTP --- .cvsignore | 0 Makefile | 21 +++++++++++++++++++++ sources | 0 3 files changed, 21 insertions(+) create mode 100644 .cvsignore create mode 100644 Makefile create mode 100644 sources diff --git a/.cvsignore b/.cvsignore new file mode 100644 index 0000000..e69de29 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..80ffea2 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: ghc-HTTP +# $Id$ +NAME := ghc-HTTP +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29 From 277f9382dc4c29bdfb33f03b1d2fef262e9d91cb Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 7 Jan 2009 04:31:51 +0000 Subject: [PATCH 02/97] initial import --- .cvsignore | 1 + ghc-HTTP.spec | 130 ++++++++++++++++++++++++++++++++++++++++++++++++++ import.log | 1 + sources | 1 + 4 files changed, 133 insertions(+) create mode 100644 ghc-HTTP.spec create mode 100644 import.log diff --git a/.cvsignore b/.cvsignore index e69de29..cef3910 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +HTTP-3001.1.5.tar.gz diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec new file mode 100644 index 0000000..f9a1ce9 --- /dev/null +++ b/ghc-HTTP.spec @@ -0,0 +1,130 @@ +%define pkg_name HTTP +%define ghc_version 6.10.1 + +%define pkg_libdir %{_libdir}/ghc-%{ghc_version}/%{pkg_name}-%{version} +%define pkg_docdir %{_docdir}/ghc/libraries/%{pkg_name}-%{version} + +%bcond_without prof +%bcond_without doc + +# ghc does not emit debug information +%define debug_package %{nil} + +Name: ghc-%{pkg_name} +Version: 3001.1.5 +Release: 1%{?dist} +Summary: HTTP library for Haskell + +Group: Development/Libraries +License: BSD +URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name} +Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Provides: %{name}-devel = %{version}-%{release} +# ghc has only been bootstrapped on the following archs: +ExclusiveArch: i386 x86_64 ppc +BuildRequires: ghc = %{ghc_version} +%if %{with prof} +BuildRequires: ghc-prof = %{ghc_version} +%endif +Requires: ghc = %{ghc_version} +Requires(post): ghc = %{ghc_version} +Requires(preun): ghc = %{ghc_version} +Requires(postun): ghc = %{ghc_version} + +%description +A Haskell library for client-side HTTP. + + +%if %{with prof} +%package prof +Summary: Profiling libraries for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: ghc-prof = %{ghc_version} + +%description prof +This package contains profiling libraries for %{name}. +%endif + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%cabal_configure --ghc %{!?without_prof:-p} +%cabal build +%if %{with doc} +%cabal haddock +%endif +%ghc_gen_scripts + + +%install +rm -rf $RPM_BUILD_ROOT +%cabal_install +%ghc_install_scripts +%ghc_gen_filelists %{name} + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post +%ghc_register_pkg +%if %{with doc} +%ghc_reindex_haddock +%endif + + +%preun +if [ "$1" -eq 0 ] ; then + %ghc_unregister_pkg +fi + + +%postun +if [ "$1" -eq 0 ] ; then +%if %{with doc} + %ghc_reindex_haddock +%endif +fi + + +%files -f %{name}.files +%defattr(-,root,root,-) +%doc LICENSE +%if %{with doc} +%{pkg_docdir} +%endif + + +%if %{with prof} +%files prof -f %{name}-prof.files +%defattr(-,root,root,-) +%endif + + +%changelog +* Tue Dec 23 2008 Jens Petersen - 3001.1.5-1 +- update to 3001.1.5 +- use bcond for doc and prof +- minor tweaks for latest packaging guidelines + +* Fri Nov 28 2008 Jens Petersen - 3001.1.4-4 +- drop LICENSE from -prof subpackage + +* Tue Nov 25 2008 Jens Petersen - 3001.1.4-3 +- add build_doc and build_prof switches +- provide -devel +- drop redundant pre script +- only regenerate doc index in postun if uninstalling + +* Mon Nov 10 2008 Jens Petersen - 3001.1.4-2 +- only build on ghc archs +- version install script requires + +* Mon Nov 10 2008 Jens Petersen - 3001.1.4-1 +- initial packaging for fedora diff --git a/import.log b/import.log new file mode 100644 index 0000000..9a6ceae --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +ghc-HTTP-3001_1_5-1_fc10:HEAD:ghc-HTTP-3001.1.5-1.fc10.src.rpm:1231302667 diff --git a/sources b/sources index e69de29..e7a3c25 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +28f68138bc026f14e61c5dbdb9b6f990 HTTP-3001.1.5.tar.gz From ddb55a7baaeb332ba4b9c4f50cb704c11b239c77 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 13 Feb 2009 04:15:06 +0000 Subject: [PATCH 03/97] sync with latest template and add a doc subpackage --- ghc-HTTP.spec | 62 ++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 44 insertions(+), 18 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index f9a1ce9..7a7d36a 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -10,32 +10,48 @@ # ghc does not emit debug information %define debug_package %{nil} -Name: ghc-%{pkg_name} -Version: 3001.1.5 -Release: 1%{?dist} -Summary: HTTP library for Haskell - -Group: Development/Libraries -License: BSD -URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name} -Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Provides: %{name}-devel = %{version}-%{release} +Name: ghc-%{pkg_name} +Version: 3001.1.5 +Release: 2%{?dist} +Summary: HTTP library for Haskell + +Group: Development/Libraries +License: BSD +URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name} +Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Provides: %{name}-devel = %{version}-%{release} # ghc has only been bootstrapped on the following archs: ExclusiveArch: i386 x86_64 ppc BuildRequires: ghc = %{ghc_version} +%if %{with doc} +BuildRequires: ghc-doc = %{ghc_version} +%endif %if %{with prof} BuildRequires: ghc-prof = %{ghc_version} %endif -Requires: ghc = %{ghc_version} -Requires(post): ghc = %{ghc_version} +Requires: ghc = %{ghc_version} +Requires(post): ghc = %{ghc_version} Requires(preun): ghc = %{ghc_version} -Requires(postun): ghc = %{ghc_version} %description A Haskell library for client-side HTTP. +%if %{with doc} +%package doc +Summary: Documentation for %{name} +Group: Development/Libraries +Requires: ghc-doc = %{ghc_version} +Requires(post): ghc-doc = %{ghc_version} +Requires(postun): ghc-doc = %{ghc_version} + +%description doc +This package contains development documentation files for the %{name} library. +%endif + + %if %{with prof} %package prof Summary: Profiling libraries for %{name} @@ -72,9 +88,12 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT -%post +%post %ghc_register_pkg + + %if %{with doc} +%post doc %ghc_reindex_haddock %endif @@ -85,18 +104,22 @@ if [ "$1" -eq 0 ] ; then fi -%postun -if [ "$1" -eq 0 ] ; then %if %{with doc} +%postun doc +if [ "$1" -eq 0 ] ; then %ghc_reindex_haddock -%endif fi +%endif %files -f %{name}.files %defattr(-,root,root,-) %doc LICENSE + + %if %{with doc} +%files doc +%defattr(-,root,root,-) %{pkg_docdir} %endif @@ -108,6 +131,9 @@ fi %changelog +* Fri Feb 13 2009 Jens Petersen - 3001.1.5-2 +- sync with latest template and add a doc subpackage + * Tue Dec 23 2008 Jens Petersen - 3001.1.5-1 - update to 3001.1.5 - use bcond for doc and prof From d7d601df85eef9a8dd2b0bee60b35eda7b7ce522 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 23 Feb 2009 06:30:43 +0000 Subject: [PATCH 04/97] update to 4000.0.4 --- .cvsignore | 2 +- ghc-HTTP.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index cef3910..a0de4b5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -HTTP-3001.1.5.tar.gz +HTTP-4000.0.4.tar.gz diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 7a7d36a..38811f9 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -11,8 +11,8 @@ %define debug_package %{nil} Name: ghc-%{pkg_name} -Version: 3001.1.5 -Release: 2%{?dist} +Version: 4000.0.4 +Release: 1%{?dist} Summary: HTTP library for Haskell Group: Development/Libraries @@ -131,6 +131,9 @@ fi %changelog +* Mon Feb 23 2009 Jens Petersen - 4000.0.4-1 +- update to 4000.0.4 + * Fri Feb 13 2009 Jens Petersen - 3001.1.5-2 - sync with latest template and add a doc subpackage diff --git a/sources b/sources index e7a3c25..a114755 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -28f68138bc026f14e61c5dbdb9b6f990 HTTP-3001.1.5.tar.gz +6526c1ee59cd3aedc7aa380673c80ef1 HTTP-4000.0.4.tar.gz From bdeb4bcd8ef200fe17d9a0d859c1bbdefec62fd2 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Tue, 24 Feb 2009 21:15:05 +0000 Subject: [PATCH 05/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 38811f9..f6805e3 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -12,7 +12,7 @@ Name: ghc-%{pkg_name} Version: 4000.0.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: HTTP library for Haskell Group: Development/Libraries @@ -131,6 +131,9 @@ fi %changelog +* Tue Feb 24 2009 Fedora Release Engineering - 4000.0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + * Mon Feb 23 2009 Jens Petersen - 4000.0.4-1 - update to 4000.0.4 From acef45739d57114d4a448f5975c8968b7ceba569 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 27 Feb 2009 06:54:33 +0000 Subject: [PATCH 06/97] - update url - update to cabal2spec-0.12: - use ix86 in archs and add alpha - add devel subpackage - use global rather than define - devel owns docdir --- ghc-HTTP.spec | 53 ++++++++++++++++++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 18 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index f6805e3..2e1fb06 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -1,29 +1,27 @@ -%define pkg_name HTTP -%define ghc_version 6.10.1 +%global pkg_name HTTP +%global ghc_version 6.10.1 -%define pkg_libdir %{_libdir}/ghc-%{ghc_version}/%{pkg_name}-%{version} -%define pkg_docdir %{_docdir}/ghc/libraries/%{pkg_name}-%{version} +%global pkg_libdir %{_libdir}/ghc-%{ghc_version}/%{pkg_name}-%{version} +%global pkg_docdir %{_docdir}/ghc/libraries/%{pkg_name}-%{version} -%bcond_without prof %bcond_without doc +%bcond_without prof # ghc does not emit debug information -%define debug_package %{nil} +%global debug_package %{nil} Name: ghc-%{pkg_name} Version: 4000.0.4 -Release: 2%{?dist} -Summary: HTTP library for Haskell +Release: 3%{?dist} +Summary: Haskell HTTP client library Group: Development/Libraries License: BSD -URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name} +URL: http://projects.haskell.org/http/ Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Provides: %{name}-devel = %{version}-%{release} -# ghc has only been bootstrapped on the following archs: -ExclusiveArch: i386 x86_64 ppc +# fedora ghc archs: +ExclusiveArch: %{ix86} x86_64 ppc alpha BuildRequires: ghc = %{ghc_version} %if %{with doc} BuildRequires: ghc-doc = %{ghc_version} @@ -31,6 +29,14 @@ BuildRequires: ghc-doc = %{ghc_version} %if %{with prof} BuildRequires: ghc-prof = %{ghc_version} %endif + +%description +A Haskell library for client-side HTTP. + + +%package devel +Summary: Haskell %{pkg_name} library +Group: Development/Libraries Requires: ghc = %{ghc_version} Requires(post): ghc = %{ghc_version} Requires(preun): ghc = %{ghc_version} @@ -38,6 +44,9 @@ Requires(preun): ghc = %{ghc_version} %description A Haskell library for client-side HTTP. +This package contains the development files for %{name} +built for ghc-%{ghc_version}. + %if %{with doc} %package doc @@ -56,7 +65,7 @@ This package contains development documentation files for the %{name} library. %package prof Summary: Profiling libraries for %{name} Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}-devel = %{version}-%{release} Requires: ghc-prof = %{ghc_version} %description prof @@ -88,7 +97,7 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT -%post +%post devel %ghc_register_pkg @@ -98,7 +107,7 @@ rm -rf $RPM_BUILD_ROOT %endif -%preun +%preun devel if [ "$1" -eq 0 ] ; then %ghc_unregister_pkg fi @@ -112,9 +121,9 @@ fi %endif -%files -f %{name}.files +%files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc LICENSE +%{_docdir}/%{name}-%{version} %if %{with doc} @@ -131,6 +140,14 @@ fi %changelog +* Fri Feb 27 2009 Jens Petersen - 4000.0.4-3 +- update url +- update to cabal2spec-0.12: +- use ix86 in archs and add alpha +- add devel subpackage +- use global rather than define +- devel owns docdir + * Tue Feb 24 2009 Fedora Release Engineering - 4000.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild From 38ca93b15a1f0061445127e38f92b4f38d8070dd Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 27 Feb 2009 06:57:18 +0000 Subject: [PATCH 07/97] fix missing devel description tag --- ghc-HTTP.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 2e1fb06..45c9fff 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -41,7 +41,7 @@ Requires: ghc = %{ghc_version} Requires(post): ghc = %{ghc_version} Requires(preun): ghc = %{ghc_version} -%description +%description devel A Haskell library for client-side HTTP. This package contains the development files for %{name} From 58d4dbfc4940f3aff96ac3273a96b6c32107e668 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 24 Apr 2009 13:33:28 +0000 Subject: [PATCH 08/97] - update to 4000.0.6 - sync with cabal2spec-0.14 --- .cvsignore | 2 +- ghc-HTTP.spec | 37 +++++++++++++++++++------------------ sources | 2 +- 3 files changed, 21 insertions(+), 20 deletions(-) diff --git a/.cvsignore b/.cvsignore index a0de4b5..c6987c4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -HTTP-4000.0.4.tar.gz +HTTP-4000.0.6.tar.gz diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 45c9fff..fda74a4 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -1,8 +1,4 @@ %global pkg_name HTTP -%global ghc_version 6.10.1 - -%global pkg_libdir %{_libdir}/ghc-%{ghc_version}/%{pkg_name}-%{version} -%global pkg_docdir %{_docdir}/ghc/libraries/%{pkg_name}-%{version} %bcond_without doc %bcond_without prof @@ -11,8 +7,8 @@ %global debug_package %{nil} Name: ghc-%{pkg_name} -Version: 4000.0.4 -Release: 3%{?dist} +Version: 4000.0.6 +Release: 1%{?dist} Summary: Haskell HTTP client library Group: Development/Libraries @@ -22,12 +18,13 @@ Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{versio BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha -BuildRequires: ghc = %{ghc_version} +# for latest macros.ghc +BuildRequires: ghc >= 6.10.2-3 %if %{with doc} -BuildRequires: ghc-doc = %{ghc_version} +BuildRequires: ghc-doc %endif %if %{with prof} -BuildRequires: ghc-prof = %{ghc_version} +BuildRequires: ghc-prof %endif %description @@ -52,7 +49,7 @@ built for ghc-%{ghc_version}. %package doc Summary: Documentation for %{name} Group: Development/Libraries -Requires: ghc-doc = %{ghc_version} +Requires: ghc-doc = %{ghc_version} Requires(post): ghc-doc = %{ghc_version} Requires(postun): ghc-doc = %{ghc_version} @@ -63,13 +60,14 @@ This package contains development documentation files for the %{name} library. %if %{with prof} %package prof -Summary: Profiling libraries for %{name} -Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} -Requires: ghc-prof = %{ghc_version} +Summary: Profiling libraries for %{name} +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} +Requires: ghc-prof = %{ghc_version} %description prof -This package contains profiling libraries for %{name}. +This package contains profiling libraries for %{name} +built for ghc-%{ghc_version}. %endif @@ -78,7 +76,7 @@ This package contains profiling libraries for %{name}. %build -%cabal_configure --ghc %{!?without_prof:-p} +%cabal_configure --ghc %{?with_prof:-p} %cabal build %if %{with doc} %cabal haddock @@ -127,9 +125,8 @@ fi %if %{with doc} -%files doc +%files doc -f %{name}-doc.files %defattr(-,root,root,-) -%{pkg_docdir} %endif @@ -140,6 +137,10 @@ fi %changelog +* Fri Apr 24 2009 Jens Petersen - 4000.0.6-1 +- update to 4000.0.6 +- sync with cabal2spec-0.14 + * Fri Feb 27 2009 Jens Petersen - 4000.0.4-3 - update url - update to cabal2spec-0.12: diff --git a/sources b/sources index a114755..a4e8c5a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6526c1ee59cd3aedc7aa380673c80ef1 HTTP-4000.0.4.tar.gz +cc8d3279f3b20856b7b915045f1e908b HTTP-4000.0.6.tar.gz From b1597b51a8153468fd2cd77c1a1d9784eb5f5fc6 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 25 Apr 2009 12:14:23 +0000 Subject: [PATCH 09/97] compile Setup on ppc to workaround runghc failure --- ghc-HTTP.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index fda74a4..b431b85 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -6,6 +6,11 @@ # ghc does not emit debug information %global debug_package %{nil} +%ifarch ppc +# hack around mysterious runghc fail +%global cabal ./cabal +%endif + Name: ghc-%{pkg_name} Version: 4000.0.6 Release: 1%{?dist} @@ -76,6 +81,9 @@ built for ghc-%{ghc_version}. %build +%ifarch ppc +ghc --make Setup -o cabal +%endif %cabal_configure --ghc %{?with_prof:-p} %cabal build %if %{with doc} @@ -137,9 +145,10 @@ fi %changelog -* Fri Apr 24 2009 Jens Petersen - 4000.0.6-1 +* Sat Apr 25 2009 Jens Petersen - 4000.0.6-1 - update to 4000.0.6 - sync with cabal2spec-0.14 +- compile Setup on ppc to workaround runghc failure * Fri Feb 27 2009 Jens Petersen - 4000.0.4-3 - update url From 79ac1047dd6591f137faaae0d1f5f1985a4ff58e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 13 May 2009 13:00:40 +0000 Subject: [PATCH 10/97] - rebuild with ghc-rpm-macros and ghc-6.10.3 (cabal2spec-0.16) --- ghc-HTTP.spec | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index b431b85..3004481 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -6,14 +6,9 @@ # ghc does not emit debug information %global debug_package %{nil} -%ifarch ppc -# hack around mysterious runghc fail -%global cabal ./cabal -%endif - Name: ghc-%{pkg_name} Version: 4000.0.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Haskell HTTP client library Group: Development/Libraries @@ -23,8 +18,8 @@ Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{versio BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha -# for latest macros.ghc -BuildRequires: ghc >= 6.10.2-3 +BuildRequires: ghc +BuildRequires: ghc-rpm-macros %if %{with doc} BuildRequires: ghc-doc %endif @@ -82,8 +77,11 @@ built for ghc-%{ghc_version}. %build %ifarch ppc +# hack around mysterious runghc fail +%global cabal ./cabal ghc --make Setup -o cabal %endif + %cabal_configure --ghc %{?with_prof:-p} %cabal build %if %{with doc} @@ -145,6 +143,9 @@ fi %changelog +* Wed May 13 2009 Jens Petersen - 4000.0.6-2 +- rebuild with ghc-rpm-macros and ghc-6.10.3 (cabal2spec-0.16) + * Sat Apr 25 2009 Jens Petersen - 4000.0.6-1 - update to 4000.0.6 - sync with cabal2spec-0.14 From 4b98854e584f29489bbd9455edbb6042c2f55366 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 29 May 2009 23:33:35 +0000 Subject: [PATCH 11/97] - ppc workaround no longer needed with ghc-6.10.3 - provide ghc-HTTP (cabal2spec-0.17) --- ghc-HTTP.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 3004481..05d6250 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -7,8 +7,9 @@ %global debug_package %{nil} Name: ghc-%{pkg_name} +# part of haskell-platform Version: 4000.0.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Haskell HTTP client library Group: Development/Libraries @@ -34,6 +35,7 @@ A Haskell library for client-side HTTP. %package devel Summary: Haskell %{pkg_name} library Group: Development/Libraries +Provides: ghc-%{pkg_name} = %{version}-%{release} Requires: ghc = %{ghc_version} Requires(post): ghc = %{ghc_version} Requires(preun): ghc = %{ghc_version} @@ -76,12 +78,6 @@ built for ghc-%{ghc_version}. %build -%ifarch ppc -# hack around mysterious runghc fail -%global cabal ./cabal -ghc --make Setup -o cabal -%endif - %cabal_configure --ghc %{?with_prof:-p} %cabal build %if %{with doc} @@ -143,6 +139,10 @@ fi %changelog +* Sat May 30 2009 Jens Petersen - 4000.0.6-3 +- ppc workaround no longer needed with ghc-6.10.3 +- provide ghc-HTTP (cabal2spec-0.17) + * Wed May 13 2009 Jens Petersen - 4000.0.6-2 - rebuild with ghc-rpm-macros and ghc-6.10.3 (cabal2spec-0.16) From a09f14a036173564450c102e2dee5a4b2f459288 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 30 May 2009 03:23:22 +0000 Subject: [PATCH 12/97] cabal2spec format for ghc-rpm-macros requires --- ghc-HTTP.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 05d6250..c5c4c7c 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -19,8 +19,7 @@ Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{versio BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha -BuildRequires: ghc -BuildRequires: ghc-rpm-macros +BuildRequires: ghc, ghc-rpm-macros %if %{with doc} BuildRequires: ghc-doc %endif @@ -49,8 +48,8 @@ built for ghc-%{ghc_version}. %if %{with doc} %package doc -Summary: Documentation for %{name} -Group: Development/Libraries +Summary: Documentation for %{name} +Group: Development/Libraries Requires: ghc-doc = %{ghc_version} Requires(post): ghc-doc = %{ghc_version} Requires(postun): ghc-doc = %{ghc_version} From 0f0a649ad48a70a7e0025aa7e8c2bb0c7015e30b Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Sat, 25 Jul 2009 00:03:32 +0000 Subject: [PATCH 13/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index c5c4c7c..e14c1f5 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 4000.0.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Haskell HTTP client library Group: Development/Libraries @@ -138,6 +138,9 @@ fi %changelog +* Fri Jul 24 2009 Fedora Release Engineering - 4000.0.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + * Sat May 30 2009 Jens Petersen - 4000.0.6-3 - ppc workaround no longer needed with ghc-6.10.3 - provide ghc-HTTP (cabal2spec-0.17) From 6492be4cc67c8b2ec5bd2001a73026f0e9c4a4ce Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 14 Sep 2009 02:20:28 +0000 Subject: [PATCH 14/97] comment on haskell-platform version --- ghc-HTTP.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index e14c1f5..8f7b112 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -7,7 +7,7 @@ %global debug_package %{nil} Name: ghc-%{pkg_name} -# part of haskell-platform +# part of haskell-platform-2009.2.0.2 Version: 4000.0.6 Release: 4%{?dist} Summary: Haskell HTTP client library From d1a341a40c7f5ca371aa2efe45a8418892a339f7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 28 Sep 2009 01:02:21 +0000 Subject: [PATCH 15/97] build against the new ghc-network library --- ghc-HTTP.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 8f7b112..68dd1a9 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform-2009.2.0.2 Version: 4000.0.6 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Haskell HTTP client library Group: Development/Libraries @@ -20,11 +20,14 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha BuildRequires: ghc, ghc-rpm-macros +BuildRequires: ghc-network-devel %if %{with doc} BuildRequires: ghc-doc +BuildRequires: ghc-network-doc %endif %if %{with prof} BuildRequires: ghc-prof +BuildRequires: ghc-network-prof %endif %description @@ -38,6 +41,7 @@ Provides: ghc-%{pkg_name} = %{version}-%{release} Requires: ghc = %{ghc_version} Requires(post): ghc = %{ghc_version} Requires(preun): ghc = %{ghc_version} +Requires: ghc-network-devel %description devel A Haskell library for client-side HTTP. @@ -53,6 +57,7 @@ Group: Development/Libraries Requires: ghc-doc = %{ghc_version} Requires(post): ghc-doc = %{ghc_version} Requires(postun): ghc-doc = %{ghc_version} +Requires: ghc-network-doc %description doc This package contains development documentation files for the %{name} library. @@ -65,6 +70,7 @@ Summary: Profiling libraries for %{name} Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} Requires: ghc-prof = %{ghc_version} +Requires: ghc-network-prof %description prof This package contains profiling libraries for %{name} @@ -138,6 +144,9 @@ fi %changelog +* Mon Sep 28 2009 Jens Petersen - 4000.0.6-5 +- build against the new ghc-network library + * Fri Jul 24 2009 Fedora Release Engineering - 4000.0.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild From f9a383ef2015e2d132e2f7fb75ec854c073446b2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 28 Sep 2009 01:33:04 +0000 Subject: [PATCH 16/97] update changelog to mention BR of ghc-network --- ghc-HTTP.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 68dd1a9..1e78bc3 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -145,7 +145,7 @@ fi %changelog * Mon Sep 28 2009 Jens Petersen - 4000.0.6-5 -- build against the new ghc-network library +- buildrequire the new ghc-network library * Fri Jul 24 2009 Fedora Release Engineering - 4000.0.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild From 22fb116b5402b05b8ff53bf75b65d2ed520f6287 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 16 Nov 2009 13:47:32 +0000 Subject: [PATCH 17/97] use %ghc_pkg_ver for requires --- ghc-HTTP.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 1e78bc3..9ae23b9 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform-2009.2.0.2 Version: 4000.0.6 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Haskell HTTP client library Group: Development/Libraries @@ -41,7 +41,7 @@ Provides: ghc-%{pkg_name} = %{version}-%{release} Requires: ghc = %{ghc_version} Requires(post): ghc = %{ghc_version} Requires(preun): ghc = %{ghc_version} -Requires: ghc-network-devel +Requires: ghc-network-devel = %ghc_pkg_ver network %description devel A Haskell library for client-side HTTP. @@ -57,7 +57,7 @@ Group: Development/Libraries Requires: ghc-doc = %{ghc_version} Requires(post): ghc-doc = %{ghc_version} Requires(postun): ghc-doc = %{ghc_version} -Requires: ghc-network-doc +Requires: ghc-network-doc = %ghc_pkg_ver network %description doc This package contains development documentation files for the %{name} library. @@ -70,7 +70,7 @@ Summary: Profiling libraries for %{name} Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} Requires: ghc-prof = %{ghc_version} -Requires: ghc-network-prof +Requires: ghc-network-prof = %ghc_pkg_ver network %description prof This package contains profiling libraries for %{name} @@ -144,6 +144,9 @@ fi %changelog +* Mon Nov 16 2009 Jens Petersen - 4000.0.6-6 +- use %%ghc_pkg_ver for requires + * Mon Sep 28 2009 Jens Petersen - 4000.0.6-5 - buildrequire the new ghc-network library From 35b6eb574180037942aedc31b699b9f06240954b Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 25 Nov 2009 23:19:25 +0000 Subject: [PATCH 18/97] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 80ffea2..a5cea58 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: ghc-HTTP -# $Id$ +# $Id: Makefile,v 1.1 2009/01/07 01:25:14 kevin Exp $ NAME := ghc-HTTP SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 0f7907ee1e857d51a542ff7d3debc504bb5d2591 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 11 Jan 2010 13:04:57 +0000 Subject: [PATCH 19/97] - update to 4000.0.8 (haskell-platform-2009.3.1) - update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1: - drop doc and prof bcond - use common_summary and common_description - use ghc_lib_package and ghc_pkg_deps - build shared library - drop redundant buildroot and its install cleaning --- ghc-HTTP.spec | 139 ++++++++++++-------------------------------------- 1 file changed, 32 insertions(+), 107 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 9ae23b9..2f618e2 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -1,81 +1,41 @@ %global pkg_name HTTP -%bcond_without doc -%bcond_without prof +%global common_summary Haskell HTTP client library -# ghc does not emit debug information +%global common_description A Haskell library for client-side HTTP. + +%global ghc_pkg_deps ghc-network-devel + +%bcond_without shared + +# debuginfo is not useful for ghc %global debug_package %{nil} Name: ghc-%{pkg_name} -# part of haskell-platform-2009.2.0.2 -Version: 4000.0.6 -Release: 6%{?dist} -Summary: Haskell HTTP client library +# part of haskell-platform-2009.3.1 +Version: 4000.0.8 +Release: 1%{?dist} +Summary: %{common_summary} -Group: Development/Libraries +Group: System Environment/Libraries License: BSD URL: http://projects.haskell.org/http/ Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha -BuildRequires: ghc, ghc-rpm-macros -BuildRequires: ghc-network-devel -%if %{with doc} +BuildRequires: ghc, ghc-rpm-macros >= 0.5.1 BuildRequires: ghc-doc -BuildRequires: ghc-network-doc -%endif -%if %{with prof} BuildRequires: ghc-prof -BuildRequires: ghc-network-prof -%endif +%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")} %description -A Haskell library for client-side HTTP. - - -%package devel -Summary: Haskell %{pkg_name} library -Group: Development/Libraries -Provides: ghc-%{pkg_name} = %{version}-%{release} -Requires: ghc = %{ghc_version} -Requires(post): ghc = %{ghc_version} -Requires(preun): ghc = %{ghc_version} -Requires: ghc-network-devel = %ghc_pkg_ver network - -%description devel -A Haskell library for client-side HTTP. - -This package contains the development files for %{name} -built for ghc-%{ghc_version}. - - -%if %{with doc} -%package doc -Summary: Documentation for %{name} -Group: Development/Libraries -Requires: ghc-doc = %{ghc_version} -Requires(post): ghc-doc = %{ghc_version} -Requires(postun): ghc-doc = %{ghc_version} -Requires: ghc-network-doc = %ghc_pkg_ver network - -%description doc -This package contains development documentation files for the %{name} library. +%{common_description} +%if %{with shared} +This package provides the shared library. %endif -%if %{with prof} -%package prof -Summary: Profiling libraries for %{name} -Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} -Requires: ghc-prof = %{ghc_version} -Requires: ghc-network-prof = %ghc_pkg_ver network - -%description prof -This package contains profiling libraries for %{name} -built for ghc-%{ghc_version}. -%endif +%ghc_lib_package %prep @@ -83,67 +43,32 @@ built for ghc-%{ghc_version}. %build -%cabal_configure --ghc %{?with_prof:-p} +%cabal_configure --ghc -p %cabal build -%if %{with doc} %cabal haddock -%endif -%ghc_gen_scripts %install -rm -rf $RPM_BUILD_ROOT %cabal_install -%ghc_install_scripts -%ghc_gen_filelists %{name} +%cabal_pkg_conf + +%ghc_gen_filelists %clean rm -rf $RPM_BUILD_ROOT -%post devel -%ghc_register_pkg - - -%if %{with doc} -%post doc -%ghc_reindex_haddock -%endif - - -%preun devel -if [ "$1" -eq 0 ] ; then - %ghc_unregister_pkg -fi - - -%if %{with doc} -%postun doc -if [ "$1" -eq 0 ] ; then - %ghc_reindex_haddock -fi -%endif - - -%files devel -f %{name}-devel.files -%defattr(-,root,root,-) -%{_docdir}/%{name}-%{version} - - -%if %{with doc} -%files doc -f %{name}-doc.files -%defattr(-,root,root,-) -%endif - - -%if %{with prof} -%files prof -f %{name}-prof.files -%defattr(-,root,root,-) -%endif - - %changelog +* Mon Jan 11 2010 Jens Petersen - 4000.0.8-1 +- update to 4000.0.8 (haskell-platform-2009.3.1) +- update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1: +- drop doc and prof bcond +- use common_summary and common_description +- use ghc_lib_package and ghc_pkg_deps +- build shared library +- drop redundant buildroot and its install cleaning + * Mon Nov 16 2009 Jens Petersen - 4000.0.6-6 - use %%ghc_pkg_ver for requires From 1c55eec5cd58740268a27f748c0b13b0144e61a3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 11 Jan 2010 13:26:07 +0000 Subject: [PATCH 20/97] add HTTP-4000.0.8 source --- .cvsignore | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.cvsignore b/.cvsignore index c6987c4..c9f7832 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -HTTP-4000.0.6.tar.gz +HTTP-4000.0.8.tar.gz diff --git a/sources b/sources index a4e8c5a..08ac53e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -cc8d3279f3b20856b7b915045f1e908b HTTP-4000.0.6.tar.gz +72a1669cd538d945fe80395db312277e HTTP-4000.0.8.tar.gz From 0ec6f04254f19d938b28ca76443852b23ce3967d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 11 Jan 2010 13:35:43 +0000 Subject: [PATCH 21/97] add buildrequires for mtl --- ghc-HTTP.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 2f618e2..77fd190 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -4,7 +4,7 @@ %global common_description A Haskell library for client-side HTTP. -%global ghc_pkg_deps ghc-network-devel +%global ghc_pkg_deps ghc-network-devel ghc-mtl-devel %bcond_without shared @@ -68,6 +68,7 @@ rm -rf $RPM_BUILD_ROOT - use ghc_lib_package and ghc_pkg_deps - build shared library - drop redundant buildroot and its install cleaning +- buildrequires mtl * Mon Nov 16 2009 Jens Petersen - 4000.0.6-6 - use %%ghc_pkg_ver for requires From babfe3f026e3f2c31d7f96aea63a6316565b82f8 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 11 Jan 2010 15:02:12 +0000 Subject: [PATCH 22/97] rebuild against ghc-mtl package --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 77fd190..2988768 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -14,7 +14,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform-2009.3.1 Version: 4000.0.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -60,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Jan 12 2010 Jens Petersen - 4000.0.8-2 +- rebuild against ghc-mtl package + * Mon Jan 11 2010 Jens Petersen - 4000.0.8-1 - update to 4000.0.8 (haskell-platform-2009.3.1) - update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1: From 4d9a931561db413ea5a98209e2ed336f6860fb57 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 23 Mar 2010 00:45:18 +0000 Subject: [PATCH 23/97] update to 4000.0.9 for haskell-platform-2010.1.0.0 --- .cvsignore | 1 + ghc-HTTP.spec | 11 +++++++---- sources | 1 + 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index c9f7832..18134f3 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ HTTP-4000.0.8.tar.gz +HTTP-4000.0.9.tar.gz diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 2988768..6ea559c 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -12,9 +12,9 @@ %global debug_package %{nil} Name: ghc-%{pkg_name} -# part of haskell-platform-2009.3.1 -Version: 4000.0.8 -Release: 2%{?dist} +# part of haskell-platform-2010.1.0.0 +Version: 4000.0.9 +Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -35,7 +35,7 @@ This package provides the shared library. %endif -%ghc_lib_package +%{?ghc_lib_package} %prep @@ -60,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Mar 23 2010 Jens Petersen - 4000.0.9-1 +- update to 4000.0.9 for haskell-platform-2010.1.0.0 + * Tue Jan 12 2010 Jens Petersen - 4000.0.8-2 - rebuild against ghc-mtl package diff --git a/sources b/sources index 08ac53e..a6621b1 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ 72a1669cd538d945fe80395db312277e HTTP-4000.0.8.tar.gz +bbd005935537ed8883bfefb624e8bf3c HTTP-4000.0.9.tar.gz From e2b21080e67b418eca864149e589033a0a3e7f96 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Mar 2010 07:46:25 +0000 Subject: [PATCH 24/97] bump to rebuild against network-2.2.1.7 --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 6ea559c..01f3c9d 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -14,7 +14,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform-2010.1.0.0 Version: 4000.0.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -60,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Mar 24 2010 Jens Petersen - 4000.0.9-2 +- rebuild against network-2.2.1.7 + * Tue Mar 23 2010 Jens Petersen - 4000.0.9-1 - update to 4000.0.9 for haskell-platform-2010.1.0.0 From 0bbf015368488c9dacee502bdb7a1d0fc4b57d0b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Mar 2010 07:52:56 +0000 Subject: [PATCH 25/97] clean away old sources --- .cvsignore | 1 - sources | 1 - 2 files changed, 2 deletions(-) diff --git a/.cvsignore b/.cvsignore index 18134f3..4147f91 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1 @@ -HTTP-4000.0.8.tar.gz HTTP-4000.0.9.tar.gz diff --git a/sources b/sources index a6621b1..60926ba 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -72a1669cd538d945fe80395db312277e HTTP-4000.0.8.tar.gz bbd005935537ed8883bfefb624e8bf3c HTTP-4000.0.9.tar.gz From 6ec78b020301eb67bc195605c6f9a7ece47985bc Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 27 Apr 2010 02:36:29 +0000 Subject: [PATCH 26/97] rebuild against ghc-6.12.2 --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 01f3c9d..b2fa624 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -14,7 +14,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform-2010.1.0.0 Version: 4000.0.9 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -60,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Apr 27 2010 Jens Petersen - 4000.0.9-3 +- rebuild against ghc-6.12.2 + * Wed Mar 24 2010 Jens Petersen - 4000.0.9-2 - rebuild against network-2.2.1.7 From 0d16475ca764f900ff2e3d364c1878d8c2a2e846 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 26 Jun 2010 13:07:55 +0000 Subject: [PATCH 27/97] sync cabal2spec-0.22 --- ghc-HTTP.spec | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index b2fa624..f577cfa 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -14,18 +14,18 @@ Name: ghc-%{pkg_name} # part of haskell-platform-2010.1.0.0 Version: 4000.0.9 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{common_summary} Group: System Environment/Libraries License: BSD URL: http://projects.haskell.org/http/ Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha -BuildRequires: ghc, ghc-rpm-macros >= 0.5.1 -BuildRequires: ghc-doc -BuildRequires: ghc-prof +BuildRequires: ghc, ghc-doc, ghc-prof +BuildRequires: ghc-rpm-macros >= 0.7.0 %{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")} %description @@ -43,16 +43,12 @@ This package provides the shared library. %build -%cabal_configure --ghc -p -%cabal build -%cabal haddock +%ghc_lib_build %install -%cabal_install -%cabal_pkg_conf - -%ghc_gen_filelists +rm -rf $RPM_BUILD_ROOT +%ghc_lib_install %clean @@ -60,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Jun 26 2010 Jens Petersen - 4000.0.9-4 +- sync cabal2spec-0.22 + * Tue Apr 27 2010 Jens Petersen - 4000.0.9-3 - rebuild against ghc-6.12.2 From c5eefde9659d9f22079c2e17c612d589b96a21b0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 15:34:02 +0000 Subject: [PATCH 28/97] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- import.log | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index a5cea58..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: ghc-HTTP -# $Id: Makefile,v 1.1 2009/01/07 01:25:14 kevin Exp $ -NAME := ghc-HTTP -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/import.log b/import.log deleted file mode 100644 index 9a6ceae..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -ghc-HTTP-3001_1_5-1_fc10:HEAD:ghc-HTTP-3001.1.5-1.fc10.src.rpm:1231302667 From 8902f238017de1b03f32242ca5f87073b3bf2bbd Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 31 Jul 2010 22:24:09 +1000 Subject: [PATCH 29/97] - ghc-rpm-macros-0.8.1 for doc obsoletes - part of haskell-platform-2010.2.0.0 - add hscolour --- ghc-HTTP.spec | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index f577cfa..a398f72 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -7,14 +7,15 @@ %global ghc_pkg_deps ghc-network-devel ghc-mtl-devel %bcond_without shared +%bcond_without hscolour # debuginfo is not useful for ghc %global debug_package %{nil} Name: ghc-%{pkg_name} -# part of haskell-platform-2010.1.0.0 +# part of haskell-platform-2010.2.0.0 Version: 4000.0.9 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -25,7 +26,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha BuildRequires: ghc, ghc-doc, ghc-prof -BuildRequires: ghc-rpm-macros >= 0.7.0 +BuildRequires: ghc-rpm-macros >= 0.8.1 +%if %{with hscolour} +BuildRequires: hscolour +%endif %{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")} %description @@ -35,9 +39,6 @@ This package provides the shared library. %endif -%{?ghc_lib_package} - - %prep %setup -q -n %{pkg_name}-%{version} @@ -55,7 +56,15 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT +%ghc_lib_package -o 4000.0.9-5 + + %changelog +* Sat Jul 31 2010 Jens Petersen - 4000.0.9-5 +- ghc-rpm-macros-0.8.1 for doc obsoletes +- part of haskell-platform-2010.2.0.0 +- add hscolour + * Sat Jun 26 2010 Jens Petersen - 4000.0.9-4 - sync cabal2spec-0.22 From c5a750dd97ab2ef0dac2c749d1c77f4b903db01f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Nov 2010 13:53:52 +1000 Subject: [PATCH 30/97] drop -o obsoletes --- ghc-HTTP.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index a398f72..41dac39 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -15,7 +15,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform-2010.2.0.0 Version: 4000.0.9 -Release: 5%{?dist} +Release: 6%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -56,10 +56,13 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT -%ghc_lib_package -o 4000.0.9-5 +%ghc_lib_package %changelog +* Thu Nov 25 2010 Jens Petersen - 4000.0.9-6 +- drop -o obsoletes + * Sat Jul 31 2010 Jens Petersen - 4000.0.9-5 - ghc-rpm-macros-0.8.1 for doc obsoletes - part of haskell-platform-2010.2.0.0 From 52ef0ba84568c898ac4e9e0a24aed9f32327348c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Nov 2010 14:10:50 +1000 Subject: [PATCH 31/97] update to 4000.1.0 --- .gitignore | 1 + ghc-HTTP.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 4147f91..2b10eae 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ HTTP-4000.0.9.tar.gz +/HTTP-4000.1.0.tar.gz diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 41dac39..4683fec 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -13,9 +13,9 @@ %global debug_package %{nil} Name: ghc-%{pkg_name} -# part of haskell-platform-2010.2.0.0 -Version: 4000.0.9 -Release: 6%{?dist} +# breaks haskell-platform-2010.2.0.0 +Version: 4000.1.0 +Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -60,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Nov 25 2010 Jens Petersen - 4000.1.0-1 +- update to 4000.1.0 + * Thu Nov 25 2010 Jens Petersen - 4000.0.9-6 - drop -o obsoletes diff --git a/sources b/sources index 60926ba..7d4f13e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -bbd005935537ed8883bfefb624e8bf3c HTTP-4000.0.9.tar.gz +5118fa59d60951abb282e7d203bbec24 HTTP-4000.1.0.tar.gz From 2256af7f38c8a7c1d02df4b423283a3536a10d3c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 5 Dec 2010 19:42:44 +1000 Subject: [PATCH 32/97] update to 4000.1.1 for HP 2011.1 alpha --- .gitignore | 1 + ghc-HTTP.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 2b10eae..f2d7f9a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ HTTP-4000.0.9.tar.gz /HTTP-4000.1.0.tar.gz +/HTTP-4000.1.1.tar.gz diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 4683fec..57466c2 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -13,8 +13,8 @@ %global debug_package %{nil} Name: ghc-%{pkg_name} -# breaks haskell-platform-2010.2.0.0 -Version: 4000.1.0 +# part of haskell-platform-2011.1.0.0 +Version: 4000.1.1 Release: 1%{?dist} Summary: %{common_summary} @@ -60,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Dec 5 2010 Jens Petersen - 4000.1.1-1 +- update to 4000.1.1 + * Thu Nov 25 2010 Jens Petersen - 4000.1.0-1 - update to 4000.1.0 diff --git a/sources b/sources index 7d4f13e..8e2f0ba 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5118fa59d60951abb282e7d203bbec24 HTTP-4000.1.0.tar.gz +ddf23d46c4d6dc0048c454e3d01caa57 HTTP-4000.1.1.tar.gz From 3de5171d293baa1dcd481bf2b83b1f037869026a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 15 Jan 2011 22:23:02 +0900 Subject: [PATCH 33/97] update to cabal2spec-0.22.4 --- ghc-HTTP.spec | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 57466c2..e781012 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -6,30 +6,24 @@ %global ghc_pkg_deps ghc-network-devel ghc-mtl-devel -%bcond_without shared -%bcond_without hscolour - # debuginfo is not useful for ghc %global debug_package %{nil} Name: ghc-%{pkg_name} # part of haskell-platform-2011.1.0.0 Version: 4000.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_summary} Group: System Environment/Libraries License: BSD URL: http://projects.haskell.org/http/ Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha BuildRequires: ghc, ghc-doc, ghc-prof -BuildRequires: ghc-rpm-macros >= 0.8.1 -%if %{with hscolour} +BuildRequires: ghc-rpm-macros >= 0.7.3 BuildRequires: hscolour -%endif %{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")} %description @@ -48,18 +42,16 @@ This package provides the shared library. %install -rm -rf $RPM_BUILD_ROOT %ghc_lib_install -%clean -rm -rf $RPM_BUILD_ROOT - - %ghc_lib_package %changelog +* Sat Jan 15 2011 Jens Petersen - 4000.1.1-2 +- update to cabal2spec-0.22.4 + * Sun Dec 5 2010 Jens Petersen - 4000.1.1-1 - update to 4000.1.1 From 2923f3513401d86db9c36c63c285dfccee4dd587 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Tue, 8 Feb 2011 18:54:01 -0600 Subject: [PATCH 34/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index e781012..bc466a5 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -12,7 +12,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform-2011.1.0.0 Version: 4000.1.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -49,6 +49,9 @@ This package provides the shared library. %changelog +* Tue Feb 08 2011 Fedora Release Engineering - 4000.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Sat Jan 15 2011 Jens Petersen - 4000.1.1-2 - update to cabal2spec-0.22.4 From 555f7ba7abb3f98eb4a64c3d34d15607a2d7884d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 15 Feb 2011 19:45:34 +1000 Subject: [PATCH 35/97] rebuild --- ghc-HTTP.spec | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index bc466a5..5274c7a 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -6,13 +6,10 @@ %global ghc_pkg_deps ghc-network-devel ghc-mtl-devel -# debuginfo is not useful for ghc -%global debug_package %{nil} - Name: ghc-%{pkg_name} # part of haskell-platform-2011.1.0.0 Version: 4000.1.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -28,9 +25,6 @@ BuildRequires: hscolour %description %{common_description} -%if %{with shared} -This package provides the shared library. -%endif %prep @@ -49,6 +43,9 @@ This package provides the shared library. %changelog +* Tue Feb 15 2011 Jens Petersen - 4000.1.1-4 +- rebuild for haskell-platform-2011.1 updates + * Tue Feb 08 2011 Fedora Release Engineering - 4000.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild From 3857406ba9f88f163f167c228eb3369cba24f28c Mon Sep 17 00:00:00 2001 From: "Fabio M. Di Nitto" Date: Thu, 10 Mar 2011 09:15:38 +0100 Subject: [PATCH 36/97] Enable build on sparcv9 Signed-off-by: Fabio M. Di Nitto --- ghc-HTTP.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 5274c7a..040b724 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform-2011.1.0.0 Version: 4000.1.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -17,7 +17,7 @@ License: BSD URL: http://projects.haskell.org/http/ Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz # fedora ghc archs: -ExclusiveArch: %{ix86} x86_64 ppc alpha +ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 BuildRequires: ghc, ghc-doc, ghc-prof BuildRequires: ghc-rpm-macros >= 0.7.3 BuildRequires: hscolour @@ -43,6 +43,9 @@ BuildRequires: hscolour %changelog +* Thu Mar 10 2011 Fabio M. Di Nitto - 4000.1.1-5 +- Enable build on sparcv9 + * Tue Feb 15 2011 Jens Petersen - 4000.1.1-4 - rebuild for haskell-platform-2011.1 updates From f15480dbdfedd5d588a231ce0de34ff02f4a103e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 27 May 2011 18:22:17 +0900 Subject: [PATCH 37/97] update to cabal2spec-0.23: add ppc64 --- ghc-HTTP.spec | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 040b724..0bddcd4 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -4,12 +4,10 @@ %global common_description A Haskell library for client-side HTTP. -%global ghc_pkg_deps ghc-network-devel ghc-mtl-devel - Name: ghc-%{pkg_name} # part of haskell-platform-2011.1.0.0 Version: 4000.1.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -17,11 +15,11 @@ License: BSD URL: http://projects.haskell.org/http/ Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz # fedora ghc archs: -ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 -BuildRequires: ghc, ghc-doc, ghc-prof -BuildRequires: ghc-rpm-macros >= 0.7.3 +ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64 +BuildRequires: ghc-prof +BuildRequires: ghc-rpm-macros BuildRequires: hscolour -%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")} +BuildRequires: ghc-network-prof ghc-mtl-prof %description %{common_description} @@ -43,6 +41,9 @@ BuildRequires: hscolour %changelog +* Fri May 27 2011 Jens Petersen - 4000.1.1-6 +- update to cabal2spec-0.23: add ppc64 + * Thu Mar 10 2011 Fabio M. Di Nitto - 4000.1.1-5 - Enable build on sparcv9 From 336269516e20ecd01b273a969a52eb2ab207c6f5 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 20 Jun 2011 11:42:52 +0900 Subject: [PATCH 38/97] BR ghc-Cabal-devel and use ghc_excluded_archs --- ghc-HTTP.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 0bddcd4..f914890 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -5,18 +5,18 @@ %global common_description A Haskell library for client-side HTTP. Name: ghc-%{pkg_name} -# part of haskell-platform-2011.1.0.0 +# part of haskell-platform-2011.2.0.1 Version: 4000.1.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: %{common_summary} Group: System Environment/Libraries License: BSD URL: http://projects.haskell.org/http/ Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -# fedora ghc archs: -ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64 -BuildRequires: ghc-prof +# ghc_excluded_archs is defined in redhat-rpm-config +ExcludeArch: %{ghc_excluded_archs} +BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: hscolour BuildRequires: ghc-network-prof ghc-mtl-prof @@ -41,6 +41,9 @@ BuildRequires: ghc-network-prof ghc-mtl-prof %changelog +* Mon Jun 20 2011 Jens Petersen - 4000.1.1-7 +- BR ghc-Cabal-devel and use ghc_excluded_archs + * Fri May 27 2011 Jens Petersen - 4000.1.1-6 - update to cabal2spec-0.23: add ppc64 From 617cc089d4aa37f4cf3ce5a52198d6baa9778c4d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 21 Jun 2011 16:55:25 +0900 Subject: [PATCH 39/97] ghc_arches replaces ghc_excluded_archs (cabal2spec-0.23.2) --- ghc-HTTP.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index f914890..58d8b9c 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -7,15 +7,14 @@ Name: ghc-%{pkg_name} # part of haskell-platform-2011.2.0.1 Version: 4000.1.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: %{common_summary} Group: System Environment/Libraries License: BSD URL: http://projects.haskell.org/http/ Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -# ghc_excluded_archs is defined in redhat-rpm-config -ExcludeArch: %{ghc_excluded_archs} +ExclusiveArch: %{ghc_arches} BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: hscolour @@ -41,6 +40,9 @@ BuildRequires: ghc-network-prof ghc-mtl-prof %changelog +* Tue Jun 21 2011 Jens Petersen - 4000.1.1-8 +- ghc_arches replaces ghc_excluded_archs + * Mon Jun 20 2011 Jens Petersen - 4000.1.1-7 - BR ghc-Cabal-devel and use ghc_excluded_archs From 9a8b697c14eb611b60efbf0c40c20829a6e661dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Tue, 11 Oct 2011 16:06:26 +0200 Subject: [PATCH 40/97] rebuild with new gmp --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 58d8b9c..09f3a19 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -7,7 +7,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform-2011.2.0.1 Version: 4000.1.1 -Release: 8%{?dist} +Release: 8%{?dist}.1 Summary: %{common_summary} Group: System Environment/Libraries @@ -40,6 +40,9 @@ BuildRequires: ghc-network-prof ghc-mtl-prof %changelog +* Tue Oct 11 2011 Peter Schiffer - 4000.1.1-8.1 +- rebuild with new gmp + * Tue Jun 21 2011 Jens Petersen - 4000.1.1-8 - ghc_arches replaces ghc_excluded_archs From 125ab48d9a1b2d02a1b347043770ec2eeda6543e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Fri, 21 Oct 2011 01:20:07 +0200 Subject: [PATCH 41/97] rebuild with new gmp without compat lib --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 09f3a19..cd1b548 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -7,7 +7,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform-2011.2.0.1 Version: 4000.1.1 -Release: 8%{?dist}.1 +Release: 8%{?dist}.2 Summary: %{common_summary} Group: System Environment/Libraries @@ -40,6 +40,9 @@ BuildRequires: ghc-network-prof ghc-mtl-prof %changelog +* Fri Oct 21 2011 Marcela Mašláňová - 4000.1.1-8.2 +- rebuild with new gmp without compat lib + * Tue Oct 11 2011 Peter Schiffer - 4000.1.1-8.1 - rebuild with new gmp From 6319e092192ad04863f3cc7390e76227bab293d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Mon, 24 Oct 2011 15:28:37 +0200 Subject: [PATCH 42/97] rebuild with new gmp without compat lib --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index cd1b548..5413447 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -7,7 +7,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform-2011.2.0.1 Version: 4000.1.1 -Release: 8%{?dist}.2 +Release: 8%{?dist}.3 Summary: %{common_summary} Group: System Environment/Libraries @@ -40,6 +40,9 @@ BuildRequires: ghc-network-prof ghc-mtl-prof %changelog +* Mon Oct 24 2011 Marcela Mašláňová - 4000.1.1-8.3 +- rebuild with new gmp without compat lib + * Fri Oct 21 2011 Marcela Mašláňová - 4000.1.1-8.2 - rebuild with new gmp without compat lib From 1bd7f219c9ec2b91a23be8a8fd07a4829416b284 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 28 Dec 2011 16:37:18 +0900 Subject: [PATCH 43/97] update to 4000.1.2 for haskell-platform-2011.4.0.0 - update to cabal2spec-0.25.1 --- .gitignore | 1 + ghc-HTTP.spec | 28 +++++++++++++++++++++------- sources | 2 +- 3 files changed, 23 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index f2d7f9a..519c4e1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ HTTP-4000.0.9.tar.gz /HTTP-4000.1.0.tar.gz /HTTP-4000.1.1.tar.gz +/HTTP-4000.1.2.tar.gz diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 5413447..0a07699 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -5,9 +5,9 @@ %global common_description A Haskell library for client-side HTTP. Name: ghc-%{pkg_name} -# part of haskell-platform-2011.2.0.1 -Version: 4000.1.1 -Release: 8%{?dist}.3 +# part of haskell-platform-2011.4.0.0 +Version: 4000.1.2 +Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -16,9 +16,10 @@ URL: http://projects.haskell.org/http/ Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz ExclusiveArch: %{ghc_arches} BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros -BuildRequires: hscolour -BuildRequires: ghc-network-prof ghc-mtl-prof +BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +# END cabal2spec +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-network-prof %description %{common_description} @@ -36,10 +37,23 @@ BuildRequires: ghc-network-prof ghc-mtl-prof %ghc_lib_install -%ghc_lib_package +%ghc_devel_package + +%ghc_devel_description + + +%ghc_devel_post_postun + + +%ghc_files +%doc CHANGES %changelog +* Wed Dec 28 2011 Jens Petersen - 4000.1.2-1 +- update to 4000.1.2 for haskell-platform-2011.4.0.0 +- update to cabal2spec-0.25.1 + * Mon Oct 24 2011 Marcela Mašláňová - 4000.1.1-8.3 - rebuild with new gmp without compat lib diff --git a/sources b/sources index 8e2f0ba..bff885e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ddf23d46c4d6dc0048c454e3d01caa57 HTTP-4000.1.1.tar.gz +0871666457aeabe4ed8ebce0acb424b7 HTTP-4000.1.2.tar.gz From ef62d9146edbd4bd58246b013738f0e098bd3c5e Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 12 Jan 2012 21:19:33 -0600 Subject: [PATCH 44/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 0a07699..e9225ec 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -7,7 +7,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform-2011.4.0.0 Version: 4000.1.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -50,6 +50,9 @@ BuildRequires: ghc-network-prof %changelog +* Fri Jan 13 2012 Fedora Release Engineering - 4000.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Wed Dec 28 2011 Jens Petersen - 4000.1.2-1 - update to 4000.1.2 for haskell-platform-2011.4.0.0 - update to cabal2spec-0.25.1 From 003b2036491d517b909ea0cae07747df742c0d46 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 23 Jan 2012 16:10:15 +0900 Subject: [PATCH 45/97] update url --- ghc-HTTP.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index e9225ec..c669b89 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -1,3 +1,7 @@ +# cabal2spec-0.25.2 +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell + %global pkg_name HTTP %global common_summary Haskell HTTP client library @@ -7,12 +11,13 @@ Name: ghc-%{pkg_name} # part of haskell-platform-2011.4.0.0 Version: 4000.1.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{common_summary} Group: System Environment/Libraries License: BSD -URL: http://projects.haskell.org/http/ +# BEGIN cabal2spec +URL: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz ExclusiveArch: %{ghc_arches} BuildRequires: ghc-Cabal-devel @@ -50,6 +55,9 @@ BuildRequires: ghc-network-prof %changelog +* Mon Jan 23 2012 Jens Petersen - 4000.1.2-3 +- update url + * Fri Jan 13 2012 Fedora Release Engineering - 4000.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild From ee80f9d781aa2b302dabc554188571cd4db025b6 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 20 Mar 2012 16:02:47 +0900 Subject: [PATCH 46/97] update to 4000.2.2 --- .gitignore | 1 + ghc-HTTP.spec | 11 +++++++---- sources | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 519c4e1..d3dc5ea 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ HTTP-4000.0.9.tar.gz /HTTP-4000.1.0.tar.gz /HTTP-4000.1.1.tar.gz /HTTP-4000.1.2.tar.gz +/HTTP-4000.2.2.tar.gz diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index c669b89..120ab1d 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -9,9 +9,9 @@ %global common_description A Haskell library for client-side HTTP. Name: ghc-%{pkg_name} -# part of haskell-platform-2011.4.0.0 -Version: 4000.1.2 -Release: 3%{?dist} +# part of haskell-platform +Version: 4000.2.2 +Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -50,11 +50,14 @@ BuildRequires: ghc-network-prof %ghc_devel_post_postun -%ghc_files +%ghc_files LICENSE %doc CHANGES %changelog +* Tue Mar 20 2012 Jens Petersen - 4000.2.2-1 +- update to 4000.2.2 + * Mon Jan 23 2012 Jens Petersen - 4000.1.2-3 - update url diff --git a/sources b/sources index bff885e..d3df072 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0871666457aeabe4ed8ebce0acb424b7 HTTP-4000.1.2.tar.gz +b61ff88ef8d699f73a6ed27c6abf6600 HTTP-4000.2.2.tar.gz From 7d7e6ba6dcbc281c86fb3b22d1540be8220ce4f5 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 16 Jul 2012 09:33:40 +0900 Subject: [PATCH 47/97] obsoleted by haskell-platform subpackage --- .gitignore | 5 -- dead.package | 1 + ghc-HTTP.spec | 197 -------------------------------------------------- sources | 1 - 4 files changed, 1 insertion(+), 203 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 ghc-HTTP.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index d3dc5ea..0000000 --- a/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -HTTP-4000.0.9.tar.gz -/HTTP-4000.1.0.tar.gz -/HTTP-4000.1.1.tar.gz -/HTTP-4000.1.2.tar.gz -/HTTP-4000.2.2.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..6dee5e4 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +obsoleted by haskell-platform subpackage diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec deleted file mode 100644 index 120ab1d..0000000 --- a/ghc-HTTP.spec +++ /dev/null @@ -1,197 +0,0 @@ -# cabal2spec-0.25.2 -# https://fedoraproject.org/wiki/Packaging:Haskell -# https://fedoraproject.org/wiki/PackagingDrafts/Haskell - -%global pkg_name HTTP - -%global common_summary Haskell HTTP client library - -%global common_description A Haskell library for client-side HTTP. - -Name: ghc-%{pkg_name} -# part of haskell-platform -Version: 4000.2.2 -Release: 1%{?dist} -Summary: %{common_summary} - -Group: System Environment/Libraries -License: BSD -# BEGIN cabal2spec -URL: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -ExclusiveArch: %{ghc_arches} -BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} -# END cabal2spec -BuildRequires: ghc-mtl-prof -BuildRequires: ghc-network-prof - -%description -%{common_description} - - -%prep -%setup -q -n %{pkg_name}-%{version} - - -%build -%ghc_lib_build - - -%install -%ghc_lib_install - - -%ghc_devel_package - -%ghc_devel_description - - -%ghc_devel_post_postun - - -%ghc_files LICENSE -%doc CHANGES - - -%changelog -* Tue Mar 20 2012 Jens Petersen - 4000.2.2-1 -- update to 4000.2.2 - -* Mon Jan 23 2012 Jens Petersen - 4000.1.2-3 -- update url - -* Fri Jan 13 2012 Fedora Release Engineering - 4000.1.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Wed Dec 28 2011 Jens Petersen - 4000.1.2-1 -- update to 4000.1.2 for haskell-platform-2011.4.0.0 -- update to cabal2spec-0.25.1 - -* Mon Oct 24 2011 Marcela Mašláňová - 4000.1.1-8.3 -- rebuild with new gmp without compat lib - -* Fri Oct 21 2011 Marcela Mašláňová - 4000.1.1-8.2 -- rebuild with new gmp without compat lib - -* Tue Oct 11 2011 Peter Schiffer - 4000.1.1-8.1 -- rebuild with new gmp - -* Tue Jun 21 2011 Jens Petersen - 4000.1.1-8 -- ghc_arches replaces ghc_excluded_archs - -* Mon Jun 20 2011 Jens Petersen - 4000.1.1-7 -- BR ghc-Cabal-devel and use ghc_excluded_archs - -* Fri May 27 2011 Jens Petersen - 4000.1.1-6 -- update to cabal2spec-0.23: add ppc64 - -* Thu Mar 10 2011 Fabio M. Di Nitto - 4000.1.1-5 -- Enable build on sparcv9 - -* Tue Feb 15 2011 Jens Petersen - 4000.1.1-4 -- rebuild for haskell-platform-2011.1 updates - -* Tue Feb 08 2011 Fedora Release Engineering - 4000.1.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Sat Jan 15 2011 Jens Petersen - 4000.1.1-2 -- update to cabal2spec-0.22.4 - -* Sun Dec 5 2010 Jens Petersen - 4000.1.1-1 -- update to 4000.1.1 - -* Thu Nov 25 2010 Jens Petersen - 4000.1.0-1 -- update to 4000.1.0 - -* Thu Nov 25 2010 Jens Petersen - 4000.0.9-6 -- drop -o obsoletes - -* Sat Jul 31 2010 Jens Petersen - 4000.0.9-5 -- ghc-rpm-macros-0.8.1 for doc obsoletes -- part of haskell-platform-2010.2.0.0 -- add hscolour - -* Sat Jun 26 2010 Jens Petersen - 4000.0.9-4 -- sync cabal2spec-0.22 - -* Tue Apr 27 2010 Jens Petersen - 4000.0.9-3 -- rebuild against ghc-6.12.2 - -* Wed Mar 24 2010 Jens Petersen - 4000.0.9-2 -- rebuild against network-2.2.1.7 - -* Tue Mar 23 2010 Jens Petersen - 4000.0.9-1 -- update to 4000.0.9 for haskell-platform-2010.1.0.0 - -* Tue Jan 12 2010 Jens Petersen - 4000.0.8-2 -- rebuild against ghc-mtl package - -* Mon Jan 11 2010 Jens Petersen - 4000.0.8-1 -- update to 4000.0.8 (haskell-platform-2009.3.1) -- update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1: -- drop doc and prof bcond -- use common_summary and common_description -- use ghc_lib_package and ghc_pkg_deps -- build shared library -- drop redundant buildroot and its install cleaning -- buildrequires mtl - -* Mon Nov 16 2009 Jens Petersen - 4000.0.6-6 -- use %%ghc_pkg_ver for requires - -* Mon Sep 28 2009 Jens Petersen - 4000.0.6-5 -- buildrequire the new ghc-network library - -* Fri Jul 24 2009 Fedora Release Engineering - 4000.0.6-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Sat May 30 2009 Jens Petersen - 4000.0.6-3 -- ppc workaround no longer needed with ghc-6.10.3 -- provide ghc-HTTP (cabal2spec-0.17) - -* Wed May 13 2009 Jens Petersen - 4000.0.6-2 -- rebuild with ghc-rpm-macros and ghc-6.10.3 (cabal2spec-0.16) - -* Sat Apr 25 2009 Jens Petersen - 4000.0.6-1 -- update to 4000.0.6 -- sync with cabal2spec-0.14 -- compile Setup on ppc to workaround runghc failure - -* Fri Feb 27 2009 Jens Petersen - 4000.0.4-3 -- update url -- update to cabal2spec-0.12: -- use ix86 in archs and add alpha -- add devel subpackage -- use global rather than define -- devel owns docdir - -* Tue Feb 24 2009 Fedora Release Engineering - 4000.0.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Mon Feb 23 2009 Jens Petersen - 4000.0.4-1 -- update to 4000.0.4 - -* Fri Feb 13 2009 Jens Petersen - 3001.1.5-2 -- sync with latest template and add a doc subpackage - -* Tue Dec 23 2008 Jens Petersen - 3001.1.5-1 -- update to 3001.1.5 -- use bcond for doc and prof -- minor tweaks for latest packaging guidelines - -* Fri Nov 28 2008 Jens Petersen - 3001.1.4-4 -- drop LICENSE from -prof subpackage - -* Tue Nov 25 2008 Jens Petersen - 3001.1.4-3 -- add build_doc and build_prof switches -- provide -devel -- drop redundant pre script -- only regenerate doc index in postun if uninstalling - -* Mon Nov 10 2008 Jens Petersen - 3001.1.4-2 -- only build on ghc archs -- version install script requires - -* Mon Nov 10 2008 Jens Petersen - 3001.1.4-1 -- initial packaging for fedora diff --git a/sources b/sources deleted file mode 100644 index d3df072..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -b61ff88ef8d699f73a6ed27c6abf6600 HTTP-4000.2.2.tar.gz From 28764fe853f0aacf8a8783ad4a441d994d335f3c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 18 Feb 2014 18:08:40 +0900 Subject: [PATCH 48/97] Revert "obsoleted by haskell-platform subpackage" This reverts commit 7d7e6ba6dcbc281c86fb3b22d1540be8220ce4f5. --- .gitignore | 5 ++ dead.package | 1 - ghc-HTTP.spec | 197 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 203 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 dead.package create mode 100644 ghc-HTTP.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d3dc5ea --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +HTTP-4000.0.9.tar.gz +/HTTP-4000.1.0.tar.gz +/HTTP-4000.1.1.tar.gz +/HTTP-4000.1.2.tar.gz +/HTTP-4000.2.2.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 6dee5e4..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -obsoleted by haskell-platform subpackage diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec new file mode 100644 index 0000000..120ab1d --- /dev/null +++ b/ghc-HTTP.spec @@ -0,0 +1,197 @@ +# cabal2spec-0.25.2 +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell + +%global pkg_name HTTP + +%global common_summary Haskell HTTP client library + +%global common_description A Haskell library for client-side HTTP. + +Name: ghc-%{pkg_name} +# part of haskell-platform +Version: 4000.2.2 +Release: 1%{?dist} +Summary: %{common_summary} + +Group: System Environment/Libraries +License: BSD +# BEGIN cabal2spec +URL: http://hackage.haskell.org/package/%{pkg_name} +Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +ExclusiveArch: %{ghc_arches} +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +# END cabal2spec +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-network-prof + +%description +%{common_description} + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%ghc_devel_package + +%ghc_devel_description + + +%ghc_devel_post_postun + + +%ghc_files LICENSE +%doc CHANGES + + +%changelog +* Tue Mar 20 2012 Jens Petersen - 4000.2.2-1 +- update to 4000.2.2 + +* Mon Jan 23 2012 Jens Petersen - 4000.1.2-3 +- update url + +* Fri Jan 13 2012 Fedora Release Engineering - 4000.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Dec 28 2011 Jens Petersen - 4000.1.2-1 +- update to 4000.1.2 for haskell-platform-2011.4.0.0 +- update to cabal2spec-0.25.1 + +* Mon Oct 24 2011 Marcela Mašláňová - 4000.1.1-8.3 +- rebuild with new gmp without compat lib + +* Fri Oct 21 2011 Marcela Mašláňová - 4000.1.1-8.2 +- rebuild with new gmp without compat lib + +* Tue Oct 11 2011 Peter Schiffer - 4000.1.1-8.1 +- rebuild with new gmp + +* Tue Jun 21 2011 Jens Petersen - 4000.1.1-8 +- ghc_arches replaces ghc_excluded_archs + +* Mon Jun 20 2011 Jens Petersen - 4000.1.1-7 +- BR ghc-Cabal-devel and use ghc_excluded_archs + +* Fri May 27 2011 Jens Petersen - 4000.1.1-6 +- update to cabal2spec-0.23: add ppc64 + +* Thu Mar 10 2011 Fabio M. Di Nitto - 4000.1.1-5 +- Enable build on sparcv9 + +* Tue Feb 15 2011 Jens Petersen - 4000.1.1-4 +- rebuild for haskell-platform-2011.1 updates + +* Tue Feb 08 2011 Fedora Release Engineering - 4000.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat Jan 15 2011 Jens Petersen - 4000.1.1-2 +- update to cabal2spec-0.22.4 + +* Sun Dec 5 2010 Jens Petersen - 4000.1.1-1 +- update to 4000.1.1 + +* Thu Nov 25 2010 Jens Petersen - 4000.1.0-1 +- update to 4000.1.0 + +* Thu Nov 25 2010 Jens Petersen - 4000.0.9-6 +- drop -o obsoletes + +* Sat Jul 31 2010 Jens Petersen - 4000.0.9-5 +- ghc-rpm-macros-0.8.1 for doc obsoletes +- part of haskell-platform-2010.2.0.0 +- add hscolour + +* Sat Jun 26 2010 Jens Petersen - 4000.0.9-4 +- sync cabal2spec-0.22 + +* Tue Apr 27 2010 Jens Petersen - 4000.0.9-3 +- rebuild against ghc-6.12.2 + +* Wed Mar 24 2010 Jens Petersen - 4000.0.9-2 +- rebuild against network-2.2.1.7 + +* Tue Mar 23 2010 Jens Petersen - 4000.0.9-1 +- update to 4000.0.9 for haskell-platform-2010.1.0.0 + +* Tue Jan 12 2010 Jens Petersen - 4000.0.8-2 +- rebuild against ghc-mtl package + +* Mon Jan 11 2010 Jens Petersen - 4000.0.8-1 +- update to 4000.0.8 (haskell-platform-2009.3.1) +- update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1: +- drop doc and prof bcond +- use common_summary and common_description +- use ghc_lib_package and ghc_pkg_deps +- build shared library +- drop redundant buildroot and its install cleaning +- buildrequires mtl + +* Mon Nov 16 2009 Jens Petersen - 4000.0.6-6 +- use %%ghc_pkg_ver for requires + +* Mon Sep 28 2009 Jens Petersen - 4000.0.6-5 +- buildrequire the new ghc-network library + +* Fri Jul 24 2009 Fedora Release Engineering - 4000.0.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sat May 30 2009 Jens Petersen - 4000.0.6-3 +- ppc workaround no longer needed with ghc-6.10.3 +- provide ghc-HTTP (cabal2spec-0.17) + +* Wed May 13 2009 Jens Petersen - 4000.0.6-2 +- rebuild with ghc-rpm-macros and ghc-6.10.3 (cabal2spec-0.16) + +* Sat Apr 25 2009 Jens Petersen - 4000.0.6-1 +- update to 4000.0.6 +- sync with cabal2spec-0.14 +- compile Setup on ppc to workaround runghc failure + +* Fri Feb 27 2009 Jens Petersen - 4000.0.4-3 +- update url +- update to cabal2spec-0.12: +- use ix86 in archs and add alpha +- add devel subpackage +- use global rather than define +- devel owns docdir + +* Tue Feb 24 2009 Fedora Release Engineering - 4000.0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Feb 23 2009 Jens Petersen - 4000.0.4-1 +- update to 4000.0.4 + +* Fri Feb 13 2009 Jens Petersen - 3001.1.5-2 +- sync with latest template and add a doc subpackage + +* Tue Dec 23 2008 Jens Petersen - 3001.1.5-1 +- update to 3001.1.5 +- use bcond for doc and prof +- minor tweaks for latest packaging guidelines + +* Fri Nov 28 2008 Jens Petersen - 3001.1.4-4 +- drop LICENSE from -prof subpackage + +* Tue Nov 25 2008 Jens Petersen - 3001.1.4-3 +- add build_doc and build_prof switches +- provide -devel +- drop redundant pre script +- only regenerate doc index in postun if uninstalling + +* Mon Nov 10 2008 Jens Petersen - 3001.1.4-2 +- only build on ghc archs +- version install script requires + +* Mon Nov 10 2008 Jens Petersen - 3001.1.4-1 +- initial packaging for fedora diff --git a/sources b/sources new file mode 100644 index 0000000..d3df072 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +b61ff88ef8d699f73a6ed27c6abf6600 HTTP-4000.2.2.tar.gz From 68764e07bfbfba52faf60852b057ee919d48dfff Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 26 Mar 2014 13:44:23 +0900 Subject: [PATCH 49/97] separate out from haskell-platform (#1066346) --- .gitignore | 1 + ghc-HTTP.spec | 78 ++++++++++++++++++++++++++++++++++++--------------- sources | 2 +- 3 files changed, 57 insertions(+), 24 deletions(-) diff --git a/.gitignore b/.gitignore index d3dc5ea..b9a2b19 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ HTTP-4000.0.9.tar.gz /HTTP-4000.1.1.tar.gz /HTTP-4000.1.2.tar.gz /HTTP-4000.2.2.tar.gz +/HTTP-4000.2.8.tar.gz diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 120ab1d..78eeec2 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -1,33 +1,57 @@ -# cabal2spec-0.25.2 # https://fedoraproject.org/wiki/Packaging:Haskell -# https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name HTTP -%global common_summary Haskell HTTP client library - -%global common_description A Haskell library for client-side HTTP. - Name: ghc-%{pkg_name} # part of haskell-platform -Version: 4000.2.2 -Release: 1%{?dist} -Summary: %{common_summary} +Version: 4000.2.8 +Release: 31%{?dist} +Summary: A library for client-side HTTP -Group: System Environment/Libraries License: BSD -# BEGIN cabal2spec URL: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -ExclusiveArch: %{ghc_arches} +Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz + BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} -# END cabal2spec -BuildRequires: ghc-mtl-prof -BuildRequires: ghc-network-prof +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-array-devel +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-network-devel +BuildRequires: ghc-old-time-devel +BuildRequires: ghc-parsec-devel +# End cabal-rpm deps %description -%{common_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'). + + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. %prep @@ -42,19 +66,27 @@ BuildRequires: ghc-network-prof %ghc_lib_install -%ghc_devel_package +%post devel +%ghc_pkg_recache -%ghc_devel_description +%postun devel +%ghc_pkg_recache -%ghc_devel_post_postun +%files -f %{name}.files +%doc LICENSE -%ghc_files LICENSE -%doc CHANGES + +%files devel -f %{name}-devel.files %changelog +* Tue Feb 18 2014 Jens Petersen - 4000.2.8-31 +- update to 4000.2.8 +- bump release over haskell-platform +- revive package with cblrpm-0.8.9 + * Tue Mar 20 2012 Jens Petersen - 4000.2.2-1 - update to 4000.2.2 diff --git a/sources b/sources index d3df072..16856d3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b61ff88ef8d699f73a6ed27c6abf6600 HTTP-4000.2.2.tar.gz +94be05278da4e9324aaef6e012e751e2 HTTP-4000.2.8.tar.gz From 7cd5bd7f5caa3b1d0b04a0586ef34e728799441e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 26 Mar 2014 13:47:05 +0900 Subject: [PATCH 50/97] bump over haskell-platform --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 78eeec2..18cb1df 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -5,7 +5,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 4000.2.8 -Release: 31%{?dist} +Release: 32%{?dist} Summary: A library for client-side HTTP License: BSD @@ -82,6 +82,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Mar 26 2014 Jens Petersen - 4000.2.8-32 +- bump over haskell-platform + * Tue Feb 18 2014 Jens Petersen - 4000.2.8-31 - update to 4000.2.8 - bump release over haskell-platform From e00e879b8e30fdfbb2aff4028ef777d849aa41e6 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 31 May 2014 00:20:54 +0900 Subject: [PATCH 51/97] update to 4000.2.10 for ghc-7.8 --- .gitignore | 1 + ghc-HTTP.spec | 32 ++++++++++++++++++++++++++++++-- sources | 2 +- 3 files changed, 32 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index b9a2b19..d0c4d36 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ HTTP-4000.0.9.tar.gz /HTTP-4000.1.2.tar.gz /HTTP-4000.2.2.tar.gz /HTTP-4000.2.8.tar.gz +/HTTP-4000.2.10.tar.gz diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 18cb1df..a8d5e04 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -2,10 +2,15 @@ %global pkg_name HTTP +%bcond_with tests + +# no useful debuginfo for Haskell packages without C sources +%global debug_package %{nil} + Name: ghc-%{pkg_name} # part of haskell-platform -Version: 4000.2.8 -Release: 32%{?dist} +Version: 4000.2.10 +Release: 1%{?dist} Summary: A library for client-side HTTP License: BSD @@ -21,6 +26,20 @@ BuildRequires: ghc-mtl-devel BuildRequires: ghc-network-devel BuildRequires: ghc-old-time-devel BuildRequires: ghc-parsec-devel +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-case-insensitive-devel +BuildRequires: ghc-conduit-devel +BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-http-types-devel +BuildRequires: ghc-httpd-shed-devel +BuildRequires: ghc-pureMD5-devel +BuildRequires: ghc-split-devel +BuildRequires: ghc-test-framework-devel +BuildRequires: ghc-test-framework-hunit-devel +BuildRequires: ghc-wai-devel +BuildRequires: ghc-warp-devel +%endif # End cabal-rpm deps %description @@ -66,6 +85,12 @@ This package provides the Haskell %{pkg_name} library development files. %ghc_lib_install +%check +%if %{with tests} +%cabal test +%endif + + %post devel %ghc_pkg_recache @@ -82,6 +107,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri May 30 2014 Jens Petersen - 4000.2.10-1 +- update to 4000.2.10 + * Wed Mar 26 2014 Jens Petersen - 4000.2.8-32 - bump over haskell-platform diff --git a/sources b/sources index 16856d3..f65646c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -94be05278da4e9324aaef6e012e751e2 HTTP-4000.2.8.tar.gz +45d237b5fc81a325966a611a33b9b296 HTTP-4000.2.10.tar.gz From 2404c08803c27ab5d782f1f9515c8ed9ef8122f9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 6 Jun 2014 02:13:56 +0900 Subject: [PATCH 52/97] opt out of f21 mass rebuild due to changes staged for ghc78 --- noautobuild | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 noautobuild diff --git a/noautobuild b/noautobuild new file mode 100644 index 0000000..e69de29 From a6b0deb1b7a0253c9b73559865f5dd0a19ab063f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 8 Jul 2014 14:19:38 +0900 Subject: [PATCH 53/97] revert to 4000.2.8 until we have ghc-7.8 --- .gitignore | 1 - ghc-HTTP.spec | 9 +++++---- noautobuild | 0 sources | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 noautobuild diff --git a/.gitignore b/.gitignore index d0c4d36..b9a2b19 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,3 @@ HTTP-4000.0.9.tar.gz /HTTP-4000.1.2.tar.gz /HTTP-4000.2.2.tar.gz /HTTP-4000.2.8.tar.gz -/HTTP-4000.2.10.tar.gz diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index a8d5e04..bdb6a9a 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -9,8 +9,8 @@ Name: ghc-%{pkg_name} # part of haskell-platform -Version: 4000.2.10 -Release: 1%{?dist} +Version: 4000.2.8 +Release: 33%{?dist} Summary: A library for client-side HTTP License: BSD @@ -107,8 +107,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog -* Fri May 30 2014 Jens Petersen - 4000.2.10-1 -- update to 4000.2.10 +* Tue Jul 8 2014 Jens Petersen - 4000.2.8-33 +- f21 rebuild + * Wed Mar 26 2014 Jens Petersen - 4000.2.8-32 - bump over haskell-platform diff --git a/noautobuild b/noautobuild deleted file mode 100644 index e69de29..0000000 diff --git a/sources b/sources index f65646c..16856d3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -45d237b5fc81a325966a611a33b9b296 HTTP-4000.2.10.tar.gz +94be05278da4e9324aaef6e012e751e2 HTTP-4000.2.8.tar.gz From 0e7087b82785e69f022073550bc3b35d9f3b84a2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 7 Aug 2014 17:11:21 +0200 Subject: [PATCH 54/97] update to 4000.2.10 --- .gitignore | 1 + ghc-HTTP.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index b9a2b19..d0c4d36 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ HTTP-4000.0.9.tar.gz /HTTP-4000.1.2.tar.gz /HTTP-4000.2.2.tar.gz /HTTP-4000.2.8.tar.gz +/HTTP-4000.2.10.tar.gz diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index bdb6a9a..e9140a4 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -9,8 +9,8 @@ Name: ghc-%{pkg_name} # part of haskell-platform -Version: 4000.2.8 -Release: 33%{?dist} +Version: 4000.2.10 +Release: 1%{?dist} Summary: A library for client-side HTTP License: BSD @@ -107,6 +107,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Aug 7 2014 Jens Petersen - 4000.2.10-1 +- update to 4000.2.10 + * Tue Jul 8 2014 Jens Petersen - 4000.2.8-33 - f21 rebuild diff --git a/sources b/sources index 16856d3..f65646c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -94be05278da4e9324aaef6e012e751e2 HTTP-4000.2.8.tar.gz +45d237b5fc81a325966a611a33b9b296 HTTP-4000.2.10.tar.gz From bfaba4c0cc23dc71790166bfd16a720989c94dda Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 16 Aug 2014 14:29:44 +0000 Subject: [PATCH 55/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index e9140a4..9973fd3 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -10,7 +10,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 4000.2.10 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A library for client-side HTTP License: BSD @@ -107,6 +107,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Aug 16 2014 Fedora Release Engineering - 4000.2.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Thu Aug 7 2014 Jens Petersen - 4000.2.10-1 - update to 4000.2.10 From bf3e7f02c975b822385b78603e2eaea381443120 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 26 Jan 2015 15:44:23 +0900 Subject: [PATCH 56/97] cblrpm-0.9 --- ghc-HTTP.spec | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 9973fd3..1142a43 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -4,18 +4,15 @@ %bcond_with tests -# no useful debuginfo for Haskell packages without C sources -%global debug_package %{nil} - Name: ghc-%{pkg_name} # part of haskell-platform Version: 4000.2.10 -Release: 2%{?dist} +Release: 1%{?dist} Summary: A library for client-side HTTP License: BSD -URL: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -57,8 +54,8 @@ 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'). +best fits your use. Some pre-packaged, common instances are provided for +'ByteString' and 'String'. %package devel @@ -107,9 +104,6 @@ This package provides the Haskell %{pkg_name} library development files. %changelog -* Sat Aug 16 2014 Fedora Release Engineering - 4000.2.10-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - * Thu Aug 7 2014 Jens Petersen - 4000.2.10-1 - update to 4000.2.10 From 44f508feef5579113c71b3a9b795c0fd9dab9335 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 07:27:38 +0000 Subject: [PATCH 57/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 1142a43..dd78f1d 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -7,7 +7,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 4000.2.10 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A library for client-side HTTP License: BSD @@ -104,6 +104,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 4000.2.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Thu Aug 7 2014 Jens Petersen - 4000.2.10-1 - update to 4000.2.10 From 8f47e0aa39c0a7d0b701da9241d90527131d4e4e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 17 Sep 2015 17:35:07 +0900 Subject: [PATCH 58/97] update to 4000.2.20 --- .gitignore | 1 + ghc-HTTP.spec | 13 ++++++++++--- sources | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index d0c4d36..e499c2b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ HTTP-4000.0.9.tar.gz /HTTP-4000.2.2.tar.gz /HTTP-4000.2.8.tar.gz /HTTP-4000.2.10.tar.gz +/HTTP-4000.2.20.tar.gz diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index dd78f1d..c229f2e 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -6,8 +6,8 @@ Name: ghc-%{pkg_name} # part of haskell-platform -Version: 4000.2.10 -Release: 2%{?dist} +Version: 4000.2.20 +Release: 1%{?dist} Summary: A library for client-side HTTP License: BSD @@ -21,12 +21,14 @@ BuildRequires: ghc-array-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-network-devel +BuildRequires: ghc-network-uri-devel BuildRequires: ghc-old-time-devel BuildRequires: ghc-parsec-devel %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-case-insensitive-devel BuildRequires: ghc-conduit-devel +BuildRequires: ghc-conduit-extra-devel BuildRequires: ghc-deepseq-devel BuildRequires: ghc-http-types-devel BuildRequires: ghc-httpd-shed-devel @@ -81,6 +83,8 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +rm %{buildroot}%{ghc_pkgdocdir}/LICENSE + %check %if %{with tests} @@ -97,13 +101,16 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files %changelog +* Thu Sep 17 2015 Jens Petersen - 4000.2.20-1 +- update to 4000.2.20 + * Wed Jun 17 2015 Fedora Release Engineering - 4000.2.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index f65646c..af29072 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -45d237b5fc81a325966a611a33b9b296 HTTP-4000.2.10.tar.gz +e2d682a564203d90c3fa040dd885afd1 HTTP-4000.2.20.tar.gz From f445037ff147bf2c88f66a60bd25077853d70e26 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 2 Feb 2016 00:02:39 +0900 Subject: [PATCH 59/97] Reverting "update to 4000.2.20" This reverts commit 8f47e0aa39c0a7d0b701da9241d90527131d4e4e. --- .gitignore | 1 - ghc-HTTP.spec | 13 +++---------- sources | 2 +- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index e499c2b..d0c4d36 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,3 @@ HTTP-4000.0.9.tar.gz /HTTP-4000.2.2.tar.gz /HTTP-4000.2.8.tar.gz /HTTP-4000.2.10.tar.gz -/HTTP-4000.2.20.tar.gz diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index c229f2e..dd78f1d 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -6,8 +6,8 @@ Name: ghc-%{pkg_name} # part of haskell-platform -Version: 4000.2.20 -Release: 1%{?dist} +Version: 4000.2.10 +Release: 2%{?dist} Summary: A library for client-side HTTP License: BSD @@ -21,14 +21,12 @@ BuildRequires: ghc-array-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-network-devel -BuildRequires: ghc-network-uri-devel BuildRequires: ghc-old-time-devel BuildRequires: ghc-parsec-devel %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-case-insensitive-devel BuildRequires: ghc-conduit-devel -BuildRequires: ghc-conduit-extra-devel BuildRequires: ghc-deepseq-devel BuildRequires: ghc-http-types-devel BuildRequires: ghc-httpd-shed-devel @@ -83,8 +81,6 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install -rm %{buildroot}%{ghc_pkgdocdir}/LICENSE - %check %if %{with tests} @@ -101,16 +97,13 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %files -f %{name}.files -%license LICENSE +%doc LICENSE %files devel -f %{name}-devel.files %changelog -* Thu Sep 17 2015 Jens Petersen - 4000.2.20-1 -- update to 4000.2.20 - * Wed Jun 17 2015 Fedora Release Engineering - 4000.2.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index af29072..f65646c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e2d682a564203d90c3fa040dd885afd1 HTTP-4000.2.20.tar.gz +45d237b5fc81a325966a611a33b9b296 HTTP-4000.2.10.tar.gz From 4a417535cb04db23c9ec56d0ef348c589aed8263 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 3 Feb 2016 21:22:36 +0000 Subject: [PATCH 60/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index dd78f1d..5369715 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -7,7 +7,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 4000.2.10 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A library for client-side HTTP License: BSD @@ -104,6 +104,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 03 2016 Fedora Release Engineering - 4000.2.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Wed Jun 17 2015 Fedora Release Engineering - 4000.2.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From fee3f687a044b141ed08b7a4d8c7c684bacd7e36 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 7 Jun 2016 10:46:23 +0900 Subject: [PATCH 61/97] update to 4000.2.20 This reverts commit f445037ff147bf2c88f66a60bd25077853d70e26. --- .gitignore | 1 + ghc-HTTP.spec | 13 ++++++++++--- sources | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index d0c4d36..e499c2b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ HTTP-4000.0.9.tar.gz /HTTP-4000.2.2.tar.gz /HTTP-4000.2.8.tar.gz /HTTP-4000.2.10.tar.gz +/HTTP-4000.2.20.tar.gz diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 5369715..8779170 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -6,8 +6,8 @@ Name: ghc-%{pkg_name} # part of haskell-platform -Version: 4000.2.10 -Release: 3%{?dist} +Version: 4000.2.20 +Release: 1%{?dist} Summary: A library for client-side HTTP License: BSD @@ -21,12 +21,14 @@ BuildRequires: ghc-array-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-network-devel +BuildRequires: ghc-network-uri-devel BuildRequires: ghc-old-time-devel BuildRequires: ghc-parsec-devel %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-case-insensitive-devel BuildRequires: ghc-conduit-devel +BuildRequires: ghc-conduit-extra-devel BuildRequires: ghc-deepseq-devel BuildRequires: ghc-http-types-devel BuildRequires: ghc-httpd-shed-devel @@ -81,6 +83,8 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +rm %{buildroot}%{ghc_pkgdocdir}/LICENSE + %check %if %{with tests} @@ -97,13 +101,16 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files %changelog +* Tue Jun 7 2016 Jens Petersen - 4000.2.20-1 +- update to 4000.2.20 + * Wed Feb 03 2016 Fedora Release Engineering - 4000.2.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index f65646c..af29072 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -45d237b5fc81a325966a611a33b9b296 HTTP-4000.2.10.tar.gz +e2d682a564203d90c3fa040dd885afd1 HTTP-4000.2.20.tar.gz From 75568adfc93a46de505c9fa98b2ae20134d7d78f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 27 Jun 2016 12:56:19 +0900 Subject: [PATCH 62/97] update to 4000.3.3 --- .gitignore | 1 + ghc-HTTP.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e499c2b..ba4377d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ HTTP-4000.0.9.tar.gz /HTTP-4000.2.8.tar.gz /HTTP-4000.2.10.tar.gz /HTTP-4000.2.20.tar.gz +/HTTP-4000.3.3.tar.gz diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 8779170..7eb26f7 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -1,3 +1,4 @@ +# generated by cabal-rpm-0.9.12 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name HTTP @@ -6,7 +7,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform -Version: 4000.2.20 +Version: 4000.3.3 Release: 1%{?dist} Summary: A library for client-side HTTP @@ -22,8 +23,8 @@ BuildRequires: ghc-bytestring-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-network-devel BuildRequires: ghc-network-uri-devel -BuildRequires: ghc-old-time-devel BuildRequires: ghc-parsec-devel +BuildRequires: ghc-time-devel %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-case-insensitive-devel @@ -108,6 +109,9 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %changelog +* Mon Jun 27 2016 Jens Petersen - 4000.3.3-1 +- update to 4000.3.3 + * Tue Jun 7 2016 Jens Petersen - 4000.2.20-1 - update to 4000.2.20 diff --git a/sources b/sources index af29072..9807c33 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e2d682a564203d90c3fa040dd885afd1 HTTP-4000.2.20.tar.gz +3f2d84d59e36476ca02c882419632d7d HTTP-4000.3.3.tar.gz From ab4c4bfb059869636b2030b8ab9a5b67180db47a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 27 Sep 2016 19:15:23 +0900 Subject: [PATCH 63/97] no longer remove license; use cabal_test --- ghc-HTTP.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 7eb26f7..c288016 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -84,13 +84,9 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install -rm %{buildroot}%{ghc_pkgdocdir}/LICENSE - %check -%if %{with tests} -%cabal test -%endif +%cabal_test %post devel From 016ad403bee9cdb79a19bee359d6fd3f68bb7ded Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 10:30:55 +0000 Subject: [PATCH 64/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index c288016..a83874a 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 4000.3.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A library for client-side HTTP License: BSD @@ -105,6 +105,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 4000.3.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Mon Jun 27 2016 Jens Petersen - 4000.3.3-1 - update to 4000.3.3 From 4a15ca56116b6147b128eb46fdc8aa9acdb84e10 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 22 Feb 2017 10:04:31 +0900 Subject: [PATCH 65/97] update to 4000.3.5 --- .gitignore | 1 + ghc-HTTP.spec | 14 +++++++++----- sources | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index ba4377d..08ee2ab 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ HTTP-4000.0.9.tar.gz /HTTP-4000.2.10.tar.gz /HTTP-4000.2.20.tar.gz /HTTP-4000.3.3.tar.gz +/HTTP-4000.3.5.tar.gz diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index a83874a..dc724f7 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -1,19 +1,20 @@ -# generated by cabal-rpm-0.9.12 +# generated by cabal-rpm-0.11.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name HTTP +%global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} # part of haskell-platform -Version: 4000.3.3 -Release: 2%{?dist} +Version: 4000.3.5 +Release: 1%{?dist} Summary: A library for client-side HTTP License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} -Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -74,7 +75,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} +%setup -q -n %{pkgver} %build @@ -105,6 +106,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 22 2017 Jens Petersen - 4000.3.5-1 +- update to 4000.3.5 + * Fri Feb 10 2017 Fedora Release Engineering - 4000.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index 9807c33..799ef93 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3f2d84d59e36476ca02c882419632d7d HTTP-4000.3.3.tar.gz +SHA512 (HTTP-4000.3.5.tar.gz) = 9abfbac7796c21a01828c686500ec0fa81d0ad23b8139e3f64a41dfd62a3ecf345573831f5a304390dab057687d73e5cd49507a4efeb4bc9371558e8c1676653 From 35bc358871987e263517f5a62d35791123b0116c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 09:31:32 +0000 Subject: [PATCH 66/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index dc724f7..f056503 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 4000.3.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A library for client-side HTTP License: BSD @@ -106,6 +106,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 4000.3.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Wed Feb 22 2017 Jens Petersen - 4000.3.5-1 - update to 4000.3.5 From c70ca2499b0dc469c3d185789514a6fec2d8400d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 2 Aug 2017 21:09:51 +0000 Subject: [PATCH 67/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index f056503..3ea1ec2 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 4000.3.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A library for client-side HTTP License: BSD @@ -106,6 +106,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Aug 02 2017 Fedora Release Engineering - 4000.3.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 4000.3.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 8279d694d862f0a53fb35cb31d65d7d04f3507c9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 14:10:23 +0100 Subject: [PATCH 68/97] refresh to cabal-rpm-0.12.1 --- ghc-HTTP.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 3ea1ec2..80f882e 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.11.1 +# generated by cabal-rpm-0.12.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name HTTP @@ -65,9 +65,12 @@ best fits your use. Some pre-packaged, common instances are provided for %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 @@ -90,6 +93,12 @@ This package provides the Haskell %{pkg_name} library development files. %cabal_test +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + %post devel %ghc_pkg_recache From 90059cef524998fc559d0ac40a0cccfe2bf4ce5f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 15:16:42 +0100 Subject: [PATCH 69/97] update to 4000.3.9 --- .gitignore | 1 + ghc-HTTP.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 08ee2ab..b6dec0f 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ HTTP-4000.0.9.tar.gz /HTTP-4000.2.20.tar.gz /HTTP-4000.3.3.tar.gz /HTTP-4000.3.5.tar.gz +/HTTP-4000.3.9.tar.gz diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 80f882e..e10dcf4 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -8,8 +8,8 @@ Name: ghc-%{pkg_name} # part of haskell-platform -Version: 4000.3.5 -Release: 3%{?dist} +Version: 4000.3.9 +Release: 1%{?dist} Summary: A library for client-side HTTP License: BSD @@ -115,6 +115,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jan 24 2018 Jens Petersen - 4000.3.9-1 +- update to 4000.3.9 + * Wed Aug 02 2017 Fedora Release Engineering - 4000.3.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index 799ef93..984173f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (HTTP-4000.3.5.tar.gz) = 9abfbac7796c21a01828c686500ec0fa81d0ad23b8139e3f64a41dfd62a3ecf345573831f5a304390dab057687d73e5cd49507a4efeb4bc9371558e8c1676653 +SHA512 (HTTP-4000.3.9.tar.gz) = 752fdcd95711c8b33f1e27dd3128beccf57db80c0e6341c02a418d180af3adf64eb85760d4d53984ba3072ac9f9ca047078b71ef42365ceaf63bd92c27fcaee3 From d584f582a83a5dc9bfa4622df38e690ef8f678d3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:01:45 +0900 Subject: [PATCH 70/97] drop ldconfig scriptlets --- ghc-HTTP.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index e10dcf4..e1fa306 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -93,12 +93,6 @@ This package provides the Haskell %{pkg_name} library development files. %cabal_test -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig - - %post devel %ghc_pkg_recache From 3ff7cf284cee656ecd08d9d0c0957b5437acdde7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 11:12:38 +0000 Subject: [PATCH 71/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index e1fa306..2d8c1ea 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 4000.3.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A library for client-side HTTP License: BSD @@ -109,6 +109,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 4000.3.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Jan 24 2018 Jens Petersen - 4000.3.9-1 - update to 4000.3.9 From 4f24651edae9b49884d01b1eb2786c7b355d7e9a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 01:29:26 +0000 Subject: [PATCH 72/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 2d8c1ea..de63e80 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 4000.3.9 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A library for client-side HTTP License: BSD @@ -109,6 +109,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 4000.3.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 4000.3.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 3e02820570ee79d6b9c473b5391a281ed074a32c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 22 Jul 2018 00:24:22 +0900 Subject: [PATCH 73/97] remove part of haskell-platform comment --- ghc-HTTP.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index de63e80..3e43f16 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -7,7 +7,6 @@ %bcond_with tests Name: ghc-%{pkg_name} -# part of haskell-platform Version: 4000.3.9 Release: 3%{?dist} Summary: A library for client-side HTTP From d5675faf39e454f9e412d9859b94dfc5d41e6d40 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 22 Jul 2018 22:43:48 +0900 Subject: [PATCH 74/97] update to 4000.3.12 --- .gitignore | 1 + ghc-HTTP.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index b6dec0f..01f2952 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ HTTP-4000.0.9.tar.gz /HTTP-4000.3.3.tar.gz /HTTP-4000.3.5.tar.gz /HTTP-4000.3.9.tar.gz +/HTTP-4000.3.12.tar.gz diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 3e43f16..21b886c 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12.1 +# generated by cabal-rpm-0.12.5 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name HTTP @@ -7,8 +7,8 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 4000.3.9 -Release: 3%{?dist} +Version: 4000.3.12 +Release: 1%{?dist} Summary: A library for client-side HTTP License: BSD @@ -108,6 +108,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sun Jul 22 2018 Jens Petersen - 4000.3.12-1 +- update to 4000.3.12 + * Fri Jul 13 2018 Fedora Release Engineering - 4000.3.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 984173f..15a5488 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (HTTP-4000.3.9.tar.gz) = 752fdcd95711c8b33f1e27dd3128beccf57db80c0e6341c02a418d180af3adf64eb85760d4d53984ba3072ac9f9ca047078b71ef42365ceaf63bd92c27fcaee3 +SHA512 (HTTP-4000.3.12.tar.gz) = 684741c017fd39c6a7ff1d75f182b465938d5c2a2abe92a0fcaec69a46fc11e59234c1b666ecf28465333df34ea267443fd56abaa38db21479cbcc19e286781e From 534c2efec8ffc7c6131f76dfc49709047475fe29 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 21:04:45 +0000 Subject: [PATCH 75/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 21b886c..d8bf03d 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 4000.3.12 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A library for client-side HTTP License: BSD @@ -108,6 +108,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 4000.3.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sun Jul 22 2018 Jens Petersen - 4000.3.12-1 - update to 4000.3.12 From 71c3cd447800956324b6019af5d556f8fa13fc0a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:43:09 +0800 Subject: [PATCH 76/97] refresh to cabal-rpm-0.13 --- ghc-HTTP.spec | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index d8bf03d..f4686dc 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12.5 +# generated by cabal-rpm-0.13 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name HTTP @@ -8,16 +8,18 @@ Name: ghc-%{pkg_name} Version: 4000.3.12 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A library for client-side HTTP License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} +# Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +# End cabal-rpm sources +# Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros -# Begin cabal-rpm deps: BuildRequires: ghc-array-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-mtl-devel @@ -77,15 +79,21 @@ This package provides the Haskell %{pkg_name} library development files. %prep +# Begin cabal-rpm setup: %setup -q -n %{pkgver} +# End cabal-rpm setup %build +# Begin cabal-rpm build: %ghc_lib_build +# End cabal-rpm build %install +# Begin cabal-rpm install %ghc_lib_install +# End cabal-rpm install %check @@ -101,13 +109,19 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files +# Begin cabal-rpm files: %license LICENSE +# End cabal-rpm files %files devel -f %{name}-devel.files +%doc CHANGES %changelog +* Sun Feb 17 2019 Jens Petersen - 4000.3.12-3 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 4000.3.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 2edd4c2f561b2c1f1e810160d5308dbe9c0aa7a6 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 27 Feb 2019 00:32:26 +0800 Subject: [PATCH 77/97] revised .cabal file --- HTTP-4000.3.12.cabal | 181 +++++++++++++++++++++++++++++++++++++++++++ ghc-HTTP.spec | 2 + 2 files changed, 183 insertions(+) create mode 100644 HTTP-4000.3.12.cabal diff --git a/HTTP-4000.3.12.cabal b/HTTP-4000.3.12.cabal new file mode 100644 index 0000000..d0de49a --- /dev/null +++ b/HTTP-4000.3.12.cabal @@ -0,0 +1,181 @@ +Name: HTTP +Version: 4000.3.12 +x-revision: 2 +Cabal-Version: >= 1.8 +Build-type: Simple +License: BSD3 +License-file: LICENSE +Author: Warrick Gray +Maintainer: Ganesh Sittampalam +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: + . + * + . + * (in combination with + ) + . + * + . + * + . + +Extra-Source-Files: CHANGES + +tested-with: GHC==8.6.1, GHC==8.4.1, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4 + +Source-Repository head + type: git + location: https://github.com/haskell/HTTP.git + +Flag mtl1 + description: Use the old mtl version 1. + default: False + +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: True + 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.3.0.0 && < 4.13, parsec >= 2.0 && < 3.2 + Build-depends: array >= 0.3.0.2 && < 0.6, bytestring >= 0.9.1.5 && < 0.11 + Build-depends: time >= 1.1.2.3 && < 1.10 + + Extensions: FlexibleInstances + + if flag(mtl1) + Build-depends: mtl >= 1.1.1.0 && < 1.2 + CPP-Options: -DMTL1 + else + Build-depends: mtl >= 2.0 && < 2.3 + + if flag(network-uri) + Build-depends: network-uri == 2.6.*, network >= 2.6 && < 2.9 + else + Build-depends: network >= 2.2.1.8 && < 2.6 + + if flag(warn-as-error) + ghc-options: -Werror + + if os(windows) + Build-depends: Win32 >= 2.2.0.0 && < 2.8 + +Test-Suite test + type: exitcode-stdio-1.0 + + hs-source-dirs: test + main-is: httpTests.hs + + other-modules: + Httpd + UnitTests + + -- note: version constraints for dependencies shared with the library + -- should be the same + build-depends: HTTP, + HUnit >= 1.2.0.1 && < 1.7, + httpd-shed >= 0.4 && < 0.5, + mtl >= 1.1.1.0 && < 2.3, + bytestring >= 0.9.1.5 && < 0.11, + deepseq >= 1.3.0.0 && < 1.5, + pureMD5 >= 0.2.4 && < 2.2, + base >= 4.3.0.0 && < 4.13, + 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 && < 2.9 + else + Build-depends: network >= 2.2.1.5 && < 2.6 + + if flag(warp-tests) + CPP-Options: -DWARP_TESTS + build-depends: + case-insensitive >= 0.4.0.1 && < 1.3, + http-types >= 0.8.0 && < 1.0, + wai >= 2.1.0 && < 3.3, + warp >= 2.1.0 && < 3.3 + + if flag(conduit10) + build-depends: + conduit >= 1.0.8 && < 1.1 + else + build-depends: + conduit >= 1.1 && < 1.4, + conduit-extra >= 1.1 && < 1.4 + + diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index f4686dc..9fe9152 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -15,6 +15,7 @@ License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -81,6 +82,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup From 4300f1f3f909ead8499998045bf2d81abae95486 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 02:00:05 +0000 Subject: [PATCH 78/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 9fe9152..8b9a4f4 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 4000.3.12 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A library for client-side HTTP License: BSD @@ -121,6 +121,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 4000.3.12-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 17 2019 Jens Petersen - 4000.3.12-3 - refresh to cabal-rpm-0.13 From 22e4395245fce191d46f04277a6346e62bf78165 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:21:03 +0000 Subject: [PATCH 79/97] refresh to cabal-rpm-1.0.0: lib doc/prof subpkgs and bin static BRs --- ghc-HTTP.spec | 48 ++++++++++++++++++++++++++++++++++++------------ 1 file changed, 36 insertions(+), 12 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 8b9a4f4..e2b855f 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.13 +# generated by cabal-rpm-1.0.0 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name HTTP @@ -20,6 +20,12 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel +%if %{with haddock} +BuildRequires: ghc-doc +%endif +%if %{with ghc_prof} +BuildRequires: ghc-prof +%endif BuildRequires: ghc-rpm-macros BuildRequires: ghc-array-devel BuildRequires: ghc-bytestring-devel @@ -67,11 +73,8 @@ best fits your use. Some pre-packaged, common instances are provided for %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} @@ -79,6 +82,25 @@ Requires: %{name}%{?_isa} = %{version}-%{release} This package provides the Haskell %{pkg_name} library development files. +%if %{with haddock} +%package doc +Summary: Haskell %{pkg_name} library documentation + +%description doc +This package provides the Haskell %{pkg_name} library documentation. +%endif + + +%if %{with ghc_prof} +%package prof +Summary: Haskell %{pkg_name} profiling library +Requires: %{name}-devel%{?_isa} = %{version}-%{release} + +%description prof +This package provides the Haskell %{pkg_name} profiling library. +%endif + + %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} @@ -102,14 +124,6 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %cabal_test -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -120,6 +134,16 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %doc CHANGES +%if %{with haddock} +%files doc -f %{name}-doc.files +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + %changelog * Thu Jul 25 2019 Fedora Release Engineering - 4000.3.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From ef877c389fa4dada19fc1233b44f3968a2c1602b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 15:03:30 +0000 Subject: [PATCH 80/97] update to 4000.3.14 --- .gitignore | 1 + HTTP-4000.3.12.cabal | 181 ------------------------------------------- ghc-HTTP.spec | 15 ++-- sources | 2 +- 4 files changed, 7 insertions(+), 192 deletions(-) delete mode 100644 HTTP-4000.3.12.cabal diff --git a/.gitignore b/.gitignore index 01f2952..8cf7fa5 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ HTTP-4000.0.9.tar.gz /HTTP-4000.3.5.tar.gz /HTTP-4000.3.9.tar.gz /HTTP-4000.3.12.tar.gz +/HTTP-4000.3.14.tar.gz diff --git a/HTTP-4000.3.12.cabal b/HTTP-4000.3.12.cabal deleted file mode 100644 index d0de49a..0000000 --- a/HTTP-4000.3.12.cabal +++ /dev/null @@ -1,181 +0,0 @@ -Name: HTTP -Version: 4000.3.12 -x-revision: 2 -Cabal-Version: >= 1.8 -Build-type: Simple -License: BSD3 -License-file: LICENSE -Author: Warrick Gray -Maintainer: Ganesh Sittampalam -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: - . - * - . - * (in combination with - ) - . - * - . - * - . - -Extra-Source-Files: CHANGES - -tested-with: GHC==8.6.1, GHC==8.4.1, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4 - -Source-Repository head - type: git - location: https://github.com/haskell/HTTP.git - -Flag mtl1 - description: Use the old mtl version 1. - default: False - -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: True - 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.3.0.0 && < 4.13, parsec >= 2.0 && < 3.2 - Build-depends: array >= 0.3.0.2 && < 0.6, bytestring >= 0.9.1.5 && < 0.11 - Build-depends: time >= 1.1.2.3 && < 1.10 - - Extensions: FlexibleInstances - - if flag(mtl1) - Build-depends: mtl >= 1.1.1.0 && < 1.2 - CPP-Options: -DMTL1 - else - Build-depends: mtl >= 2.0 && < 2.3 - - if flag(network-uri) - Build-depends: network-uri == 2.6.*, network >= 2.6 && < 2.9 - else - Build-depends: network >= 2.2.1.8 && < 2.6 - - if flag(warn-as-error) - ghc-options: -Werror - - if os(windows) - Build-depends: Win32 >= 2.2.0.0 && < 2.8 - -Test-Suite test - type: exitcode-stdio-1.0 - - hs-source-dirs: test - main-is: httpTests.hs - - other-modules: - Httpd - UnitTests - - -- note: version constraints for dependencies shared with the library - -- should be the same - build-depends: HTTP, - HUnit >= 1.2.0.1 && < 1.7, - httpd-shed >= 0.4 && < 0.5, - mtl >= 1.1.1.0 && < 2.3, - bytestring >= 0.9.1.5 && < 0.11, - deepseq >= 1.3.0.0 && < 1.5, - pureMD5 >= 0.2.4 && < 2.2, - base >= 4.3.0.0 && < 4.13, - 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 && < 2.9 - else - Build-depends: network >= 2.2.1.5 && < 2.6 - - if flag(warp-tests) - CPP-Options: -DWARP_TESTS - build-depends: - case-insensitive >= 0.4.0.1 && < 1.3, - http-types >= 0.8.0 && < 1.0, - wai >= 2.1.0 && < 3.3, - warp >= 2.1.0 && < 3.3 - - if flag(conduit10) - build-depends: - conduit >= 1.0.8 && < 1.1 - else - build-depends: - conduit >= 1.1 && < 1.4, - conduit-extra >= 1.1 && < 1.4 - - diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index e2b855f..bb50307 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -7,15 +7,14 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 4000.3.12 -Release: 4%{?dist} +Version: 4000.3.14 +Release: 1%{?dist} Summary: A library for client-side HTTP License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -36,18 +35,12 @@ BuildRequires: ghc-parsec-devel BuildRequires: ghc-time-devel %if %{with tests} BuildRequires: ghc-HUnit-devel -BuildRequires: ghc-case-insensitive-devel -BuildRequires: ghc-conduit-devel -BuildRequires: ghc-conduit-extra-devel BuildRequires: ghc-deepseq-devel -BuildRequires: ghc-http-types-devel BuildRequires: ghc-httpd-shed-devel BuildRequires: ghc-pureMD5-devel BuildRequires: ghc-split-devel BuildRequires: ghc-test-framework-devel BuildRequires: ghc-test-framework-hunit-devel -BuildRequires: ghc-wai-devel -BuildRequires: ghc-warp-devel %endif # End cabal-rpm deps @@ -104,7 +97,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -145,6 +137,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jul 25 2019 Jens Petersen - 4000.3.14-1 +- update to 4000.3.14 + * Thu Jul 25 2019 Fedora Release Engineering - 4000.3.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 15a5488..f620a35 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (HTTP-4000.3.12.tar.gz) = 684741c017fd39c6a7ff1d75f182b465938d5c2a2abe92a0fcaec69a46fc11e59234c1b666ecf28465333df34ea267443fd56abaa38db21479cbcc19e286781e +SHA512 (HTTP-4000.3.14.tar.gz) = bcc9107412f3ff5806369675ae6cfd87c4ecc36490eab6d62c697f47e62ff8b0d1d6a25f9bfb9d8ef1f037492820eb732cb9cbec7ea9e7e4b20699573077b064 From 53d0efe4ad5ca346ac551cf5fd64049cc70a19a4 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:27:01 +0800 Subject: [PATCH 81/97] BR prof for lib and static for executable --- ghc-HTTP.spec | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index bb50307..61314a7 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-1.0.0 +# generated by cabal-rpm-1.0.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name HTTP @@ -19,20 +19,15 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel -%if %{with haddock} -BuildRequires: ghc-doc -%endif -%if %{with ghc_prof} -BuildRequires: ghc-prof -%endif BuildRequires: ghc-rpm-macros -BuildRequires: ghc-array-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-mtl-devel -BuildRequires: ghc-network-devel -BuildRequires: ghc-network-uri-devel -BuildRequires: ghc-parsec-devel -BuildRequires: ghc-time-devel +BuildRequires: ghc-array-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-network-prof +BuildRequires: ghc-network-uri-prof +BuildRequires: ghc-parsec-prof +BuildRequires: ghc-time-prof %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-deepseq-devel @@ -66,6 +61,7 @@ best fits your use. Some pre-packaged, common instances are provided for %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-static%{?_isa} = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} %endif From 4a436b71e635ecc169f023a602fe3e14f0421e46 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 20:09:31 +0000 Subject: [PATCH 82/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 61314a7..557f1cc 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 4000.3.14 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A library for client-side HTTP License: BSD @@ -133,6 +133,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 4000.3.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jul 25 2019 Jens Petersen - 4000.3.14-1 - update to 4000.3.14 From a1ee36458e20f6be7c83bc2fa41d23ee5bbd58d7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Feb 2020 22:48:37 +0800 Subject: [PATCH 83/97] refresh to cabal-rpm-2.0.2 --- ghc-HTTP.spec | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 557f1cc..09b982b 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -1,14 +1,12 @@ -# generated by cabal-rpm-1.0.1 +# generated by cabal-rpm-2.0.2 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name HTTP %global pkgver %{pkg_name}-%{version} -%bcond_with tests - Name: ghc-%{pkg_name} Version: 4000.3.14 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A library for client-side HTTP License: BSD @@ -28,15 +26,6 @@ BuildRequires: ghc-network-prof BuildRequires: ghc-network-uri-prof BuildRequires: ghc-parsec-prof BuildRequires: ghc-time-prof -%if %{with tests} -BuildRequires: ghc-HUnit-devel -BuildRequires: ghc-deepseq-devel -BuildRequires: ghc-httpd-shed-devel -BuildRequires: ghc-pureMD5-devel -BuildRequires: ghc-split-devel -BuildRequires: ghc-test-framework-devel -BuildRequires: ghc-test-framework-hunit-devel -%endif # End cabal-rpm deps %description @@ -74,6 +63,7 @@ This package provides the Haskell %{pkg_name} library development files. %if %{with haddock} %package doc Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch %description doc This package provides the Haskell %{pkg_name} library documentation. @@ -84,6 +74,7 @@ This package provides the Haskell %{pkg_name} library documentation. %package prof Summary: Haskell %{pkg_name} profiling library Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (%{name}-devel and ghc-prof) %description prof This package provides the Haskell %{pkg_name} profiling library. @@ -108,8 +99,14 @@ This package provides the Haskell %{pkg_name} profiling library. # End cabal-rpm install -%check -%cabal_test +%if 0%{?fedora} < 31 || 0%{?rhel} < 8 +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache +%endif %files -f %{name}.files @@ -124,6 +121,7 @@ This package provides the Haskell %{pkg_name} profiling library. %if %{with haddock} %files doc -f %{name}-doc.files +%license LICENSE %endif @@ -133,6 +131,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Wed Feb 19 2020 Jens Petersen - 4000.3.14-3 +- refresh to cabal-rpm-2.0.2 + * Tue Jan 28 2020 Fedora Release Engineering - 4000.3.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 9dab2461cd1d310cf702e0646ddca74bb1155737 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:24:54 +0800 Subject: [PATCH 84/97] refresh to cabal-rpm-2.0.5 --- ghc-HTTP.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 09b982b..9c44ae5 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -1,5 +1,5 @@ -# generated by cabal-rpm-2.0.2 -# https://fedoraproject.org/wiki/Packaging:Haskell +# generated by cabal-rpm-2.0.5 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name HTTP %global pkgver %{pkg_name}-%{version} From 30241e10e84815bde5133e23941c8bd2f81b8dd9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:53:31 +0800 Subject: [PATCH 85/97] refresh to cabal-rpm-2.0.6 --- ghc-HTTP.spec | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 9c44ae5..4cfc801 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -1,9 +1,11 @@ -# generated by cabal-rpm-2.0.5 +# generated by cabal-rpm-2.0.6 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name HTTP %global pkgver %{pkg_name}-%{version} +# testsuite missing deps: httpd-shed test-framework test-framework-hunit + Name: ghc-%{pkg_name} Version: 4000.3.14 Release: 3%{?dist} @@ -99,16 +101,6 @@ This package provides the Haskell %{pkg_name} profiling library. # End cabal-rpm install -%if 0%{?fedora} < 31 || 0%{?rhel} < 8 -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache -%endif - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE From ebb302e680028cf6b90e2398eaded0770557b6d7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jul 2020 16:38:01 +0800 Subject: [PATCH 86/97] add revision --- HTTP-4000.3.14.cabal | 179 +++++++++++++++++++++++++++++++++++++++++++ ghc-HTTP.spec | 2 + 2 files changed, 181 insertions(+) create mode 100644 HTTP-4000.3.14.cabal diff --git a/HTTP-4000.3.14.cabal b/HTTP-4000.3.14.cabal new file mode 100644 index 0000000..f23b564 --- /dev/null +++ b/HTTP-4000.3.14.cabal @@ -0,0 +1,179 @@ +Name: HTTP +Version: 4000.3.14 +x-revision: 1 +Cabal-Version: >= 1.8 +Build-type: Simple +License: BSD3 +License-file: LICENSE +Author: Warrick Gray +Maintainer: Ganesh Sittampalam +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: + . + * + . + * (in combination with + ) + . + * + . + * + . + +Extra-Source-Files: CHANGES + +tested-with: GHC==8.10.1, GHC==8.8.3, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4 + +Source-Repository head + type: git + location: https://github.com/haskell/HTTP.git + +Flag mtl1 + description: Use the old mtl version 1. + default: False + +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.3.0.0 && < 4.15, parsec >= 2.0 && < 3.2 + Build-depends: array >= 0.3.0.2 && < 0.6, bytestring >= 0.9.1.5 && < 0.11 + Build-depends: time >= 1.1.2.3 && < 1.10 + + Extensions: FlexibleInstances + + if flag(mtl1) + Build-depends: mtl >= 1.1.1.0 && < 1.2 + CPP-Options: -DMTL1 + else + Build-depends: mtl >= 2.0 && < 2.3 + + if flag(network-uri) + Build-depends: network-uri == 2.6.*, network >= 2.6 && < 3.2 + else + Build-depends: network >= 2.4 && < 2.6 + + if flag(warn-as-error) + ghc-options: -Werror + + if os(windows) + Build-depends: Win32 >= 2.2.0.0 && < 2.9 + +Test-Suite test + type: exitcode-stdio-1.0 + + hs-source-dirs: test + main-is: httpTests.hs + + other-modules: + Httpd + UnitTests + + -- note: version constraints for dependencies shared with the library + -- should be the same + build-depends: HTTP, + HUnit >= 1.2.0.1 && < 1.7, + httpd-shed >= 0.4 && < 0.5, + mtl >= 1.1.1.0 && < 2.3, + bytestring >= 0.9.1.5 && < 0.11, + deepseq >= 1.3.0.0 && < 1.5, + pureMD5 >= 0.2.4 && < 2.2, + base >= 4.3.0.0 && < 4.15, + 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 && < 3.2 + else + Build-depends: network >= 2.3 && < 2.6 + + if flag(warp-tests) + CPP-Options: -DWARP_TESTS + build-depends: + case-insensitive >= 0.4.0.1 && < 1.3, + http-types >= 0.8.0 && < 1.0, + wai >= 2.1.0 && < 3.3, + warp >= 2.1.0 && < 3.3 + + if flag(conduit10) + build-depends: + conduit >= 1.0.8 && < 1.1 + else + build-depends: + conduit >= 1.1 && < 1.4, + conduit-extra >= 1.1 && < 1.4 diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 4cfc801..eb3dd75 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -15,6 +15,7 @@ License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -86,6 +87,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup From d7a3c646d512357c4bb5eb7e70d70e0d58ea9c02 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jul 2020 17:46:42 +0800 Subject: [PATCH 87/97] bump release --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index eb3dd75..13ee894 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 4000.3.14 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A library for client-side HTTP License: BSD @@ -125,6 +125,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Fri Jul 17 2020 Jens Petersen - 4000.3.14-4 +- refresh to cabal-rpm-2.0.6 + * Wed Feb 19 2020 Jens Petersen - 4000.3.14-3 - refresh to cabal-rpm-2.0.2 From 754723860cb54c9e1ebe150d6a316adb2b05eda9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 18:42:07 +0000 Subject: [PATCH 88/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 13ee894..c7f6037 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 4000.3.14 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A library for client-side HTTP License: BSD @@ -125,6 +125,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 4000.3.14-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jul 17 2020 Jens Petersen - 4000.3.14-4 - refresh to cabal-rpm-2.0.6 From d1ab728acdcd686e7af602e5de580f9bfb0cb43d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 1 Aug 2020 01:11:46 +0000 Subject: [PATCH 89/97] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-HTTP.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index c7f6037..47b1d40 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 4000.3.14 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A library for client-side HTTP License: BSD @@ -125,6 +125,10 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Sat Aug 01 2020 Fedora Release Engineering - 4000.3.14-6 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 4000.3.14-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 5a36028afe12664a497702044e85da7bfaede70f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 06:45:54 +0000 Subject: [PATCH 90/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 47b1d40..a03ac99 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 4000.3.14 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A library for client-side HTTP License: BSD @@ -125,6 +125,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 4000.3.14-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Sat Aug 01 2020 Fedora Release Engineering - 4000.3.14-6 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From dbfa6584c6a59c17c813ab70fb11ebb34663078f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 00:12:04 +0000 Subject: [PATCH 91/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index a03ac99..02da139 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 4000.3.14 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A library for client-side HTTP License: BSD @@ -125,6 +125,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 4000.3.14-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 4000.3.14-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From addd0bc06cadc64f68b7ee0e5e7596568235eb5f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 28 Jan 2021 14:59:38 +0800 Subject: [PATCH 92/97] update to 4000.3.15 --- .gitignore | 1 + HTTP-4000.3.14.cabal => HTTP-4000.3.15.cabal | 22 ++++++++++++-------- ghc-HTTP.spec | 7 +++++-- sources | 2 +- 4 files changed, 20 insertions(+), 12 deletions(-) rename HTTP-4000.3.14.cabal => HTTP-4000.3.15.cabal (93%) diff --git a/.gitignore b/.gitignore index 8cf7fa5..c7d1eef 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ HTTP-4000.0.9.tar.gz /HTTP-4000.3.9.tar.gz /HTTP-4000.3.12.tar.gz /HTTP-4000.3.14.tar.gz +/HTTP-4000.3.15.tar.gz diff --git a/HTTP-4000.3.14.cabal b/HTTP-4000.3.15.cabal similarity index 93% rename from HTTP-4000.3.14.cabal rename to HTTP-4000.3.15.cabal index f23b564..a9de06f 100644 --- a/HTTP-4000.3.14.cabal +++ b/HTTP-4000.3.15.cabal @@ -1,7 +1,7 @@ Name: HTTP -Version: 4000.3.14 -x-revision: 1 -Cabal-Version: >= 1.8 +Version: 4000.3.15 +x-revision: 2 +Cabal-Version: >= 1.10 Build-type: Simple License: BSD3 License-file: LICENSE @@ -111,10 +111,11 @@ Library -- note the test harness constraints should be kept in sync with these -- where dependencies are shared Build-depends: base >= 4.3.0.0 && < 4.15, parsec >= 2.0 && < 3.2 - Build-depends: array >= 0.3.0.2 && < 0.6, bytestring >= 0.9.1.5 && < 0.11 - Build-depends: time >= 1.1.2.3 && < 1.10 + Build-depends: array >= 0.3.0.2 && < 0.6, bytestring >= 0.9.1.5 && < 0.12 + Build-depends: time >= 1.1.2.3 && < 1.11 - Extensions: FlexibleInstances + default-language: Haskell98 + default-extensions: FlexibleInstances if flag(mtl1) Build-depends: mtl >= 1.1.1.0 && < 1.2 @@ -131,11 +132,12 @@ Library ghc-options: -Werror if os(windows) - Build-depends: Win32 >= 2.2.0.0 && < 2.9 + Build-depends: Win32 >= 2.2.0.0 && < 2.10 Test-Suite test type: exitcode-stdio-1.0 + default-language: Haskell98 hs-source-dirs: test main-is: httpTests.hs @@ -143,13 +145,15 @@ Test-Suite test Httpd UnitTests + ghc-options: -Wall + -- note: version constraints for dependencies shared with the library -- should be the same build-depends: HTTP, HUnit >= 1.2.0.1 && < 1.7, httpd-shed >= 0.4 && < 0.5, mtl >= 1.1.1.0 && < 2.3, - bytestring >= 0.9.1.5 && < 0.11, + bytestring >= 0.9.1.5 && < 0.12, deepseq >= 1.3.0.0 && < 1.5, pureMD5 >= 0.2.4 && < 2.2, base >= 4.3.0.0 && < 4.15, @@ -168,7 +172,7 @@ Test-Suite test case-insensitive >= 0.4.0.1 && < 1.3, http-types >= 0.8.0 && < 1.0, wai >= 2.1.0 && < 3.3, - warp >= 2.1.0 && < 3.3 + warp >= 2.1.0 && < 3.4 if flag(conduit10) build-depends: diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 02da139..ae47780 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -7,8 +7,8 @@ # testsuite missing deps: httpd-shed test-framework test-framework-hunit Name: ghc-%{pkg_name} -Version: 4000.3.14 -Release: 8%{?dist} +Version: 4000.3.15 +Release: 1%{?dist} Summary: A library for client-side HTTP License: BSD @@ -125,6 +125,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Aug 5 2021 Jens Petersen - 4000.3.15-1 +- update to 4000.3.15 + * Thu Jul 22 2021 Fedora Release Engineering - 4000.3.14-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index f620a35..6f217ed 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (HTTP-4000.3.14.tar.gz) = bcc9107412f3ff5806369675ae6cfd87c4ecc36490eab6d62c697f47e62ff8b0d1d6a25f9bfb9d8ef1f037492820eb732cb9cbec7ea9e7e4b20699573077b064 +SHA512 (HTTP-4000.3.15.tar.gz) = 74015725d15f5dcd1f7212100e26ae82da31201b77e729322ea95e88018ae1ef3a1bd5c2b8ac525f14276a24f2781de9de757aa5f83c71e260d6a61223b756d2 From 926ef72c3459cb0352bc3adca139a38caba9e9aa Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:09 +0800 Subject: [PATCH 93/97] refresh to cabal-rpm-2.0.9 --- ghc-HTTP.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index ae47780..78b5597 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.6 +# generated by cabal-rpm-2.0.9 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name HTTP @@ -67,6 +67,7 @@ This package provides the Haskell %{pkg_name} library development files. %package doc Summary: Haskell %{pkg_name} library documentation BuildArch: noarch +Requires: ghc-filesystem %description doc This package provides the Haskell %{pkg_name} library documentation. From 2b62707e7e022e91c1a6a9e5fce5732c5d120cb1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 01:35:37 +0800 Subject: [PATCH 94/97] update to 4000.3.16 --- .gitignore | 1 + HTTP-4000.3.15.cabal | 183 ------------------------------------------- ghc-HTTP.spec | 7 +- sources | 2 +- 4 files changed, 6 insertions(+), 187 deletions(-) delete mode 100644 HTTP-4000.3.15.cabal diff --git a/.gitignore b/.gitignore index c7d1eef..45435bc 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ HTTP-4000.0.9.tar.gz /HTTP-4000.3.12.tar.gz /HTTP-4000.3.14.tar.gz /HTTP-4000.3.15.tar.gz +/HTTP-4000.3.16.tar.gz diff --git a/HTTP-4000.3.15.cabal b/HTTP-4000.3.15.cabal deleted file mode 100644 index a9de06f..0000000 --- a/HTTP-4000.3.15.cabal +++ /dev/null @@ -1,183 +0,0 @@ -Name: HTTP -Version: 4000.3.15 -x-revision: 2 -Cabal-Version: >= 1.10 -Build-type: Simple -License: BSD3 -License-file: LICENSE -Author: Warrick Gray -Maintainer: Ganesh Sittampalam -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: - . - * - . - * (in combination with - ) - . - * - . - * - . - -Extra-Source-Files: CHANGES - -tested-with: GHC==8.10.1, GHC==8.8.3, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4 - -Source-Repository head - type: git - location: https://github.com/haskell/HTTP.git - -Flag mtl1 - description: Use the old mtl version 1. - default: False - -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.3.0.0 && < 4.15, parsec >= 2.0 && < 3.2 - Build-depends: array >= 0.3.0.2 && < 0.6, bytestring >= 0.9.1.5 && < 0.12 - Build-depends: time >= 1.1.2.3 && < 1.11 - - default-language: Haskell98 - default-extensions: FlexibleInstances - - if flag(mtl1) - Build-depends: mtl >= 1.1.1.0 && < 1.2 - CPP-Options: -DMTL1 - else - Build-depends: mtl >= 2.0 && < 2.3 - - if flag(network-uri) - Build-depends: network-uri == 2.6.*, network >= 2.6 && < 3.2 - else - Build-depends: network >= 2.4 && < 2.6 - - if flag(warn-as-error) - ghc-options: -Werror - - if os(windows) - Build-depends: Win32 >= 2.2.0.0 && < 2.10 - -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 - - -- note: version constraints for dependencies shared with the library - -- should be the same - build-depends: HTTP, - HUnit >= 1.2.0.1 && < 1.7, - httpd-shed >= 0.4 && < 0.5, - mtl >= 1.1.1.0 && < 2.3, - bytestring >= 0.9.1.5 && < 0.12, - deepseq >= 1.3.0.0 && < 1.5, - pureMD5 >= 0.2.4 && < 2.2, - base >= 4.3.0.0 && < 4.15, - 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 && < 3.2 - else - Build-depends: network >= 2.3 && < 2.6 - - if flag(warp-tests) - CPP-Options: -DWARP_TESTS - build-depends: - case-insensitive >= 0.4.0.1 && < 1.3, - 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.0.8 && < 1.1 - else - build-depends: - conduit >= 1.1 && < 1.4, - conduit-extra >= 1.1 && < 1.4 diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 78b5597..1a30ca2 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -7,7 +7,7 @@ # testsuite missing deps: httpd-shed test-framework test-framework-hunit Name: ghc-%{pkg_name} -Version: 4000.3.15 +Version: 4000.3.16 Release: 1%{?dist} Summary: A library for client-side HTTP @@ -15,7 +15,6 @@ License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -88,7 +87,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -126,6 +124,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Aug 5 2021 Jens Petersen - 4000.3.16-1 +- update to 4000.3.16 + * Thu Aug 5 2021 Jens Petersen - 4000.3.15-1 - update to 4000.3.15 diff --git a/sources b/sources index 6f217ed..f3b3375 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (HTTP-4000.3.15.tar.gz) = 74015725d15f5dcd1f7212100e26ae82da31201b77e729322ea95e88018ae1ef3a1bd5c2b8ac525f14276a24f2781de9de757aa5f83c71e260d6a61223b756d2 +SHA512 (HTTP-4000.3.16.tar.gz) = b5136b55967d4db7569a0269b429c8e419878acc548d962af94efa5aa0ddbb8a6ab22bc3096ce3d78b61dc708996c408d4bfa55c6c7fb6c0d915389503cbd755 From 0617278352915b13e04a372c456c95542f01ee36 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 04:24:09 +0000 Subject: [PATCH 95/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-HTTP.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 1a30ca2..2931674 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 4000.3.16 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A library for client-side HTTP License: BSD @@ -124,6 +124,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 4000.3.16-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Aug 5 2021 Jens Petersen - 4000.3.16-1 - update to 4000.3.16 From 20bab1fff7b356ae39c7d517804f42a6cf687399 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 18 Jun 2022 00:21:40 +0800 Subject: [PATCH 96/97] revise .cabal --- HTTP-4000.3.16.cabal | 183 +++++++++++++++++++++++++++++++++++++++++++ ghc-HTTP.spec | 2 + 2 files changed, 185 insertions(+) create mode 100644 HTTP-4000.3.16.cabal diff --git a/HTTP-4000.3.16.cabal b/HTTP-4000.3.16.cabal new file mode 100644 index 0000000..d329695 --- /dev/null +++ b/HTTP-4000.3.16.cabal @@ -0,0 +1,183 @@ +Name: HTTP +Version: 4000.3.16 +x-revision: 1 +Cabal-Version: >= 1.10 +Build-type: Simple +License: BSD3 +License-file: LICENSE +Author: Warrick Gray +Maintainer: Ganesh Sittampalam +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: + . + * + . + * (in combination with + ) + . + * + . + * + . + +Extra-Source-Files: CHANGES + +tested-with: GHC==9.0.1, GHC==8.10.4, GHC==8.8.3, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4 + +Source-Repository head + type: git + location: https://github.com/haskell/HTTP.git + +Flag mtl1 + description: Use the old mtl version 1. + default: False + +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.3.0.0 && < 4.17, parsec >= 2.0 && < 3.2 + Build-depends: array >= 0.3.0.2 && < 0.6, bytestring >= 0.9.1.5 && < 0.12 + Build-depends: time >= 1.1.2.3 && < 1.13 + + default-language: Haskell98 + default-extensions: FlexibleInstances + + if flag(mtl1) + Build-depends: mtl >= 1.1.1.0 && < 1.2 + CPP-Options: -DMTL1 + else + Build-depends: mtl >= 2.0 && < 2.3 + + if flag(network-uri) + Build-depends: network-uri == 2.6.*, network >= 2.6 && < 3.2 + else + Build-depends: network >= 2.4 && < 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 + + -- note: version constraints for dependencies shared with the library + -- should be the same + build-depends: HTTP, + HUnit >= 1.2.0.1 && < 1.7, + httpd-shed >= 0.4 && < 0.5, + mtl >= 1.1.1.0 && < 2.3, + bytestring >= 0.9.1.5 && < 0.12, + deepseq >= 1.3.0.0 && < 1.5, + pureMD5 >= 0.2.4 && < 2.2, + base >= 4.3.0.0 && < 4.16, + 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 && < 3.2 + else + Build-depends: network >= 2.3 && < 2.6 + + if flag(warp-tests) + CPP-Options: -DWARP_TESTS + build-depends: + case-insensitive >= 0.4.0.1 && < 1.3, + 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.0.8 && < 1.1 + else + build-depends: + conduit >= 1.1 && < 1.4, + conduit-extra >= 1.1 && < 1.4 diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 2931674..4a160be 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -15,6 +15,7 @@ License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -87,6 +88,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup From 318b201a3c9dc7294e7504c390e182832d2985fd Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 21:14:22 +0300 Subject: [PATCH 97/97] Remove unnecessary files --- sources | 1 - 1 file changed, 1 deletion(-) delete mode 100644 sources diff --git a/sources b/sources deleted file mode 100644 index f3b3375..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (HTTP-4000.3.16.tar.gz) = b5136b55967d4db7569a0269b429c8e419878acc548d962af94efa5aa0ddbb8a6ab22bc3096ce3d78b61dc708996c408d4bfa55c6c7fb6c0d915389503cbd755