disable cryptoapi flag until crypto-api packaged
This commit is contained in:
parent
54e40002b1
commit
ae6d924a2b
11
cryptohash-cryptoapi-flag.patch
Normal file
11
cryptohash-cryptoapi-flag.patch
Normal 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
|
@ -3,10 +3,8 @@
|
|||||||
|
|
||||||
%global pkg_name cryptohash
|
%global pkg_name cryptohash
|
||||||
|
|
||||||
# common part of summary for all the subpackages
|
|
||||||
%global common_summary Crypto hashes, fast, pure and practical
|
%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,\
|
%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\
|
pure APIs, with performance close to the fastest implementations available\
|
||||||
in others languages. The implementations are made in C with\
|
in others languages. The implementations are made in C with\
|
||||||
@ -20,14 +18,12 @@ Summary: %{common_summary}
|
|||||||
License: BSD
|
License: BSD
|
||||||
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
|
||||||
|
Patch0: cryptohash-cryptoapi-flag.patch
|
||||||
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
# Begin cabal-rpm deps:
|
# Begin cabal-rpm deps:
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-cereal-devel
|
|
||||||
BuildRequires: ghc-crypto-api-devel
|
|
||||||
BuildRequires: ghc-tagged-devel
|
|
||||||
# End cabal-rpm deps
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -36,6 +32,7 @@ BuildRequires: ghc-tagged-devel
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
%patch0 -p1 -b .orig
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -45,7 +42,7 @@ BuildRequires: ghc-tagged-devel
|
|||||||
%install
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
rm -r %{buildroot}%{_datadir}/%{pkg_name}-%{version}
|
rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/README.md
|
||||||
|
|
||||||
|
|
||||||
%ghc_devel_package
|
%ghc_devel_package
|
||||||
@ -63,6 +60,7 @@ rm -r %{buildroot}%{_datadir}/%{pkg_name}-%{version}
|
|||||||
%changelog
|
%changelog
|
||||||
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.7.5-4
|
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.7.5-4
|
||||||
- update with cabal-rpm
|
- 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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user