diff --git a/base64-bytestring-1.0.0.0.tar.gz b/base64-bytestring-1.0.0.0.tar.gz deleted file mode 100644 index 004806f..0000000 --- a/base64-bytestring-1.0.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:759fbb0f8f3ff26c4ad3e71fbcccfd472bc1a4eefe4b5508ce78a8793305197c -size 8861 diff --git a/base64-bytestring-1.0.0.1.tar.gz b/base64-bytestring-1.0.0.1.tar.gz new file mode 100644 index 0000000..77add06 --- /dev/null +++ b/base64-bytestring-1.0.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab25abf4b00a2f52b270bc3ed43f1d59f16c8eec9d7dffb14df1e9265b233b50 +size 9080 diff --git a/ghc-base64-bytestring.changes b/ghc-base64-bytestring.changes index 8e1ca7b..f651468 100644 --- a/ghc-base64-bytestring.changes +++ b/ghc-base64-bytestring.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon May 13 12:56:05 UTC 2013 - peter.trommler@ohm-hochschule.de + +- new packaging guidelines +* no macros spanning multiple spec file sections + +------------------------------------------------------------------- +Mon May 13 12:54:45 UTC 2013 - peter.trommler@ohm-hochschule.de + +- update to 1.0.0.1 from upstream +- performance improvements +* encoding 5% +* decodeLenient 50% + ------------------------------------------------------------------- Sun Nov 18 11:05:29 UTC 2012 - peter.trommler@ohm-hochschule.de diff --git a/ghc-base64-bytestring.spec b/ghc-base64-bytestring.spec index f9fcc22..d48fb69 100644 --- a/ghc-base64-bytestring.spec +++ b/ghc-base64-bytestring.spec @@ -1,9 +1,7 @@ # -# spec file for ghc-base64-bytestring +# spec file for package ghc-base64-bytestring # - -# Copyright (c) 2012 Herbert Graeber -# Copyright (c) 2012 Peter Trommler +# 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 @@ -17,58 +15,63 @@ # 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 base64-bytestring -%global common_summary Haskell %{pkg_name} library - -%global common_description A %{pkg_name} library for Haskell. - -Name: ghc-%{pkg_name} -Version: 1.0.0.0 -Release: 1 -Summary: %{common_summary} - -Group: System/Libraries +Name: ghc-base64-bytestring +Version: 1.0.0.1 +Release: 0 +Summary: Haskell base64 encoding and decoding for 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} -# END cabal2spec +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-bytestring-devel +# End cabal-rpm deps %description -%{common_description} +Haskell library for fast base64 encoding and decoding for ByteStrings. + + +%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} + +%description devel +Fast base64 encoding and decoding for ByteStrings library development files. %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 +%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) +%doc README.markdown %changelog