disable cryptoapi flag until crypto-api packaged

This commit is contained in:
Jens Petersen 2012-11-19 13:20:02 +09:00
parent 54e40002b1
commit ae6d924a2b
2 changed files with 15 additions and 6 deletions

View File

@ -0,0 +1,11 @@
--- cryptohash-0.7.5/cryptohash.cabal~ 2012-04-23 01:37:51.000000000 +0900
+++ cryptohash-0.7.5/cryptohash.cabal 2012-11-19 13:12:48.015260203 +0900
@@ -34,7 +34,7 @@
Flag cryptoapi
Description: Defines crypto-api instances
- Default: True
+ Default: False
Library
Build-Depends: base >= 4 && < 6, bytestring

View File

@ -3,10 +3,8 @@
%global pkg_name cryptohash
# common part of summary for all the subpackages
%global common_summary Crypto hashes, fast, pure and practical
# main description used for all the subpackages
%global common_description A collection of crypto hashes, with a practical incremental and one-pass,\
pure APIs, with performance close to the fastest implementations available\
in others languages. The implementations are made in C with\
@ -20,14 +18,12 @@ Summary: %{common_summary}
License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
Patch0: cryptohash-cryptoapi-flag.patch
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-cereal-devel
BuildRequires: ghc-crypto-api-devel
BuildRequires: ghc-tagged-devel
# End cabal-rpm deps
%description
@ -36,6 +32,7 @@ BuildRequires: ghc-tagged-devel
%prep
%setup -q -n %{pkg_name}-%{version}
%patch0 -p1 -b .orig
%build
@ -45,7 +42,7 @@ BuildRequires: ghc-tagged-devel
%install
%ghc_lib_install
rm -r %{buildroot}%{_datadir}/%{pkg_name}-%{version}
rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/README.md
%ghc_devel_package
@ -63,6 +60,7 @@ rm -r %{buildroot}%{_datadir}/%{pkg_name}-%{version}
%changelog
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.7.5-4
- update with cabal-rpm
- disable cryptoapi flag until crypto-api packaged
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild