Revert to 0.3.5.2-2
This commit is contained in:
parent
283d2a8079
commit
b49f09dc95
@ -1,41 +1,39 @@
|
|||||||
|
# cabal2spec-0.25.2
|
||||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||||
|
|
||||||
%global pkg_name cereal
|
%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}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.3.5.2
|
Version: 0.3.5.2
|
||||||
Release: 6%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Binary serialization library
|
Summary: %{common_summary}
|
||||||
|
|
||||||
|
Group: System Environment/Libraries
|
||||||
License: BSD
|
License: BSD
|
||||||
|
# BEGIN cabal2spec
|
||||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
|
ExclusiveArch: %{ghc_arches}
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
||||||
# Begin cabal-rpm deps:
|
# END cabal2spec
|
||||||
|
|
||||||
BuildRequires: ghc-array-devel
|
BuildRequires: ghc-array-devel
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-containers-devel
|
BuildRequires: ghc-containers-devel
|
||||||
# End cabal-rpm deps
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A binary serialization library, similar to binary, that introduces an isolate
|
%{common_description}
|
||||||
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.
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -50,34 +48,18 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
|
|
||||||
%post devel
|
%ghc_devel_package
|
||||||
%ghc_pkg_recache
|
|
||||||
|
%ghc_devel_description
|
||||||
|
|
||||||
|
|
||||||
%postun devel
|
%ghc_devel_post_postun
|
||||||
%ghc_pkg_recache
|
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%ghc_files LICENSE
|
||||||
%doc LICENSE
|
|
||||||
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jul 16 2012 Jens Petersen <petersen@redhat.com> - 0.3.5.2-2
|
||||||
- change prof BRs to devel
|
- change prof BRs to devel
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user