diff --git a/_service b/_service index 76828d7..96813c1 100644 --- a/_service +++ b/_service @@ -1,3 +1,3 @@ - - \ No newline at end of file + + diff --git a/_service:download_files:digest-0.0.1.1.tar.gz b/_service:download_files:digest-0.0.1.1.tar.gz deleted file mode 100644 index e02d9cc..0000000 --- a/_service:download_files:digest-0.0.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7bb8b85959cfb3c6539aa2f2104c14aec9758a3a5d6039aba975299fdcd704d4 -size 3781 diff --git a/digest-0.0.1.2.tar.gz b/digest-0.0.1.2.tar.gz new file mode 100644 index 0000000..4ea980d --- /dev/null +++ b/digest-0.0.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:641717eb16392abf8965986a9e8dc21eebf1d97775bbb6923c7b7f8fee17fe11 +size 3790 diff --git a/ghc-digest.changes b/ghc-digest.changes index 2b3df64..678726f 100644 --- a/ghc-digest.changes +++ b/ghc-digest.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 13 15:17:05 UTC 2013 - peter.trommler@ohm-hochschule.de + +- update to 0.0.1.2 from upstream (no changelog) +* minor change in cabal flag default + ------------------------------------------------------------------- Wed Oct 3 07:45:23 UTC 2012 - peter.trommler@ohm-hochschule.de diff --git a/ghc-digest.spec b/ghc-digest.spec index f0f2cc6..13dc784 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -1,8 +1,7 @@ # -# spec file for ghc-digest +# spec file for package ghc-digest # - -# Copyright (c) 2012 Herbert Graeber +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,57 +15,70 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %global pkg_name digest -%global common_summary Various cryptographic hashes for bytestrings - -%global common_description This package provides efficient cryptographic hash implementations for strict and lazy bytestrings. For now, CRC32 and Adler32 are supported; they are implemented as FFI bindings to efficient code from zlib. - -Name: ghc-%{pkg_name} -Version: 0.0.1.1 -Release: 1 -Summary: %{common_summary} - -Group: System/Libraries +Name: ghc-digest +Version: 0.0.1.2 +Release: 0 +Summary: Various hashes for Haskell bytestrings License: BSD-3-Clause -BuildRoot: %{_tmppath}/%{name}-%{version}-build -# BEGIN cabal2spec -URL: http://hackage.haskell.org/package/%{pkg_name} +Group: System/Libraries + +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} +BuildRoot: %{_tmppath}/%{name}-%{version}-build + BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel BuildRequires: zlib-devel -# END cabal2spec +# End cabal-rpm deps %description -%{common_description} +This package provides efficient cryptographic hash implementations for +strict and lazy bytestrings. For now, CRC32 and Adler32 are supported; +they are implemented as FFI bindings to efficient code from zlib. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Group: Development/Libraries/Other +Requires: ghc-compiler +Requires(post): ghc-compiler +Requires(postun): ghc-compiler +Requires: %{name} = %{version}-%{release} +# Begin cabal-rpm deps: +Requires: zlib-devel +# End cabal-rpm deps + +%description devel +This package provides efficient cryptographic hash implementations for +strict and lazy bytestrings. For now, CRC32 and Adler32 are supported; +they are implemented as FFI bindings to efficient code from zlib. %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install +%post devel +%ghc_pkg_recache -# devel subpackage -%ghc_devel_package -Requires: zlib-devel +%postun devel +%ghc_pkg_recache -%ghc_devel_description - - -%ghc_devel_post_postun - - -%ghc_files LICENSE +%files -f %{name}.files +%defattr(-,root,root) +%doc LICENSE +%files devel -f %{name}-devel.files +%defattr(-,root,root) %changelog