diff --git a/_service:download_files:network-2.3.0.13.tar.gz b/_service:download_files:network-2.3.0.13.tar.gz new file mode 100644 index 0000000..8333ecd --- /dev/null +++ b/_service:download_files:network-2.3.0.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0747e9091dd5ba220c31f77116c9edfe9ac6726090d58e55221371b63f1b8577 +size 133948 diff --git a/_service:download_files:network-2.3.0.5.tar.gz b/_service:download_files:network-2.3.0.5.tar.gz deleted file mode 100644 index 31d7084..0000000 --- a/_service:download_files:network-2.3.0.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e00768f588c9dca91ebffb97345cdd893fcae20109d16eead4207fe7f45b3a78 -size 136448 diff --git a/ghc-network.changes b/ghc-network.changes index c0e207a..0654919 100644 --- a/ghc-network.changes +++ b/ghc-network.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Jun 3 17:13:04 UTC 2012 - peter.trommler@ohm-hochschule.de + +- update to 2.3.0.13 from upstream +* Add Num constraint to packBits, unpackBits +* Turn off some build warnings +* Network.URI: remove dropHead, use 'drop 1' +- spec file template generated by cabal2spec-0.25.5 + ------------------------------------------------------------------- Wed Dec 28 20:13:41 UTC 2011 - peter.trommler@ohm-hochschule.de diff --git a/ghc-network.spec b/ghc-network.spec index 4c3000c..0ae2451 100644 --- a/ghc-network.spec +++ b/ghc-network.spec @@ -1,6 +1,6 @@ -# For Haskell Packaging Guidelines see: -# - https://fedoraproject.org/wiki/Packaging:Haskell -# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell +# +# spec file for ghc-network +# # Copyright (c) 2012 Peter Trommler peter.trommler@ohm-hochschule.de # @@ -16,66 +16,43 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +# cabal2spec-0.25 +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell + %global pkg_name network -# common part of summary for all the subpackages -%global common_summary Haskell %{pkg_name} library +%global common_summary Haskell Low-level networking interface library -# main description used for all the subpackages -%global common_description A %{pkg_name} library for Haskell. +%global common_description A low-level networking interface library for Haskell. -Name: ghc-network -Version: 2.3.0.5 +Name: ghc-%{pkg_name} +Version: 2.3.0.13 Release: 1 Summary: %{common_summary} -Group: Development/Libraries/Other +Group: System/Libraries License: BSD-3-Clause +BuildRoot: %{_tmppath}/%{name}-%{version}-build # 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: %{ix86} x86_64 %{ghc_arches} BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros -%if %{undefined without_hscolour} -BuildRequires: hscolour -%endif +BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-parsec-devel # END cabal2spec -# BR any C devel dependency here -# list ghc-*-prof dependencies: -BuildRequires: ghc-bytestring-devel ghc-parsec-devel - -%if %{defined sles_version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%endif %description %{common_description} -%package -n ghc-%{pkg_name}-devel -Summary: Development files for %{common_summary} -Group: Development/Libraries/Other -# BEGIN cabal2spec -%{?ghc_devel_requires} -Obsoletes: ghc-%{pkg_name}-prof < %{version}-%{release} -Provides: ghc-%{pkg_name}-prof = %{version}-%{release} -# END cabal2spec -# remember to require any C devel dependency here -# Haskell devel dependencies are autogenerated by ghc-deps.sh - -%description -n ghc-%{pkg_name}-devel -%{common_description} - -This package contains the development files. - - %prep %setup -q -n %{pkg_name}-%{version} %build -#%%define cabal_configure_options -f "opt1 -opt2 ..." %ghc_lib_build @@ -83,24 +60,16 @@ This package contains the development files. %ghc_lib_install -%post -n ghc-%{pkg_name}-devel -%ghc_pkg_recache +# devel subpackage +%ghc_devel_package + +%ghc_devel_description -%postun -n ghc-%{pkg_name}-devel -%ghc_pkg_recache +%ghc_devel_post_postun -%if %{undefined ghc_without_shared} -%files -n ghc-%{pkg_name} -f ghc-%{pkg_name}.files -%defattr(-,root,root,-) -%endif - - -%files -n ghc-%{pkg_name}-devel -f ghc-%{pkg_name}-devel.files -%defattr(-,root,root,-) +%ghc_files LICENSE %changelog -* Tue Nov 1 2011 Fedora Haskell SIG - 2.3.0.7-0 -- initial packaging for Fedora automatically generated by cabal2spec-0.24.1