Revert to 0.3.5.2-2

This commit is contained in:
Jens Petersen 2013-06-20 10:04:36 +09:00
parent 283d2a8079
commit b49f09dc95
1 changed files with 25 additions and 43 deletions

View File

@ -1,41 +1,39 @@
# cabal2spec-0.25.2
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name cereal
%global common_summary Binary serialization library
%global common_description A binary serialization library, similar to binary, that \
introduces an isolate primitive for parser isolation, and \
replaces the asynchronous errors with a user-handleable \
Either type. Similar to binary in performance, but uses a \
strict ByteString instead of a lazy ByteString, thus \
restricting it to operating on finite inputs.
Name: ghc-%{pkg_name}
Version: 0.3.5.2
Release: 6%{?dist}
Summary: Binary serialization library
Release: 2%{?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
# Begin cabal-rpm deps:
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
# END cabal2spec
BuildRequires: ghc-array-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
# End cabal-rpm deps
%description
A binary serialization library, similar to binary, that introduces an isolate
primitive for parser isolation, and replaces the asynchronous errors with a
user-handleable Either type. Similar to binary in performance, but uses a
strict ByteString instead of a lazy ByteString, thus restricting it to
operating on finite inputs.
%package devel
Summary: Haskell %{pkg_name} library development files
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%{common_description}
%prep
@ -50,34 +48,18 @@ This package provides the Haskell %{pkg_name} library development files.
%ghc_lib_install
%post devel
%ghc_pkg_recache
%ghc_devel_package
%ghc_devel_description
%postun devel
%ghc_pkg_recache
%ghc_devel_post_postun
%files -f %{name}.files
%doc LICENSE
%files devel -f %{name}-devel.files
%ghc_files LICENSE
%changelog
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.3.5.2-6
- update to new simplified Haskell Packaging Guidelines
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.3.5.2-4
- update with cabal-rpm
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Jul 16 2012 Jens Petersen <petersen@redhat.com> - 0.3.5.2-2
- change prof BRs to devel