Accepting request 409507 from devel:languages:haskell:lts:6
See https://lists.opensuse.org/opensuse-haskell/2016-07/msg00000.html for details. OBS-URL: https://build.opensuse.org/request/show/409507 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-cryptohash-sha256?expand=0&rev=3
This commit is contained in:
parent
7aa4d1d702
commit
b88654b224
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d4ec71b168f3600226cb53ac43559eb5795d5d79904a910c26046c360d60d780
|
|
||||||
size 10844
|
|
3
cryptohash-sha256-0.11.100.1.tar.gz
Normal file
3
cryptohash-sha256-0.11.100.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:57b02338e9648639335788b422dd4c744543cb0991347472e2e3628a33c2f5d6
|
||||||
|
size 10885
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 10 17:28:01 UTC 2016 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update to version 0.11.100.1 revision 0 with cabal2obs.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 27 12:02:02 UTC 2016 - mimi.vx@gmail.com
|
Fri May 27 12:02:02 UTC 2016 - mimi.vx@gmail.com
|
||||||
|
|
||||||
|
@ -15,25 +15,22 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%global pkg_name cryptohash-sha256
|
%global pkg_name cryptohash-sha256
|
||||||
|
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.11.100.0
|
Version: 0.11.100.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Fast, pure and practical SHA-256 implementation
|
Summary: Fast, pure and practical SHA-256 implementation
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
|
Group: System/Libraries
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
|
||||||
# Begin cabal-rpm deps:
|
# Begin cabal-rpm deps:
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
|
BuildRequires: ghc-rpm-macros
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ghc-SHA-devel
|
BuildRequires: ghc-SHA-devel
|
||||||
BuildRequires: ghc-base16-bytestring-devel
|
BuildRequires: ghc-base16-bytestring-devel
|
||||||
@ -61,20 +58,18 @@ Consequently, this package can be used as a drop-in replacement for
|
|||||||
'cryptohash''s "Crypto.Hash.SHA256" module, though with a clearly smaller
|
'cryptohash''s "Crypto.Hash.SHA256" module, though with a clearly smaller
|
||||||
footprint.
|
footprint.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Haskell %{pkg_name} library development files
|
Summary: Haskell %{pkg_name} library development files
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: ghc-compiler = %{ghc_version}
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
Requires(post): ghc-compiler = %{ghc_version}
|
Requires(post): ghc-compiler = %{ghc_version}
|
||||||
Requires(postun): ghc-compiler = %{ghc_version}
|
Requires(postun): ghc-compiler = %{ghc_version}
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package provides the Haskell %{pkg_name} library development
|
This package provides the Haskell %{pkg_name} library development
|
||||||
files.
|
files.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
|
||||||
@ -89,25 +84,22 @@ files.
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
%cabal test
|
%{cabal} test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
|
|
||||||
|
|
||||||
%postun devel
|
%postun devel
|
||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
%doc changelog.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user