Compare commits
10 Commits
Author | SHA1 | Date |
---|---|---|
Fedora Release Engineering | 052a99a045 | |
Jens Petersen | 21c4702eb8 | |
Jens Petersen | cef7add689 | |
Jens Petersen | 6ca1fdb52c | |
Jens Petersen | 54a48c14f5 | |
Jens Petersen | 2f7fe3cf3e | |
Fedora Release Engineering | fe5651ddad | |
Jens Petersen | e4ca055b0b | |
Jens Petersen | 27a962c22d | |
Fedora Release Engineering | 8012cb4049 |
|
@ -1,7 +1,7 @@
|
||||||
cabal-version: 1.12
|
cabal-version: 1.12
|
||||||
name: cryptohash-sha256
|
name: cryptohash-sha256
|
||||||
version: 0.11.101.0
|
version: 0.11.101.0
|
||||||
x-revision: 2
|
x-revision: 4
|
||||||
|
|
||||||
synopsis: Fast, pure and practical SHA-256 implementation
|
synopsis: Fast, pure and practical SHA-256 implementation
|
||||||
description: {
|
description: {
|
||||||
|
@ -81,7 +81,7 @@ library
|
||||||
Trustworthy
|
Trustworthy
|
||||||
Unsafe
|
Unsafe
|
||||||
|
|
||||||
build-depends: base >= 4.5 && < 4.13
|
build-depends: base >= 4.5 && < 4.15
|
||||||
, bytestring >= 0.9.2 && < 0.11
|
, bytestring >= 0.9.2 && < 0.11
|
||||||
|
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
|
|
|
@ -1,14 +1,15 @@
|
||||||
# generated by cabal-rpm-0.13
|
# generated by cabal-rpm-2.0.6
|
||||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||||
|
|
||||||
%global pkg_name cryptohash-sha256
|
%global pkg_name cryptohash-sha256
|
||||||
%global pkgver %{pkg_name}-%{version}
|
%global pkgver %{pkg_name}-%{version}
|
||||||
|
|
||||||
|
# tasty versions
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.11.101.0
|
Version: 0.11.101.0
|
||||||
Release: 5%{?dist}
|
Release: 11%{?dist}
|
||||||
Summary: Fast, pure and practical SHA-256 implementation
|
Summary: Fast, pure and practical SHA-256 implementation
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
|
@ -21,7 +22,8 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
|
||||||
# Begin cabal-rpm deps:
|
# Begin cabal-rpm deps:
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-base-prof
|
||||||
|
BuildRequires: ghc-bytestring-prof
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ghc-SHA-devel
|
BuildRequires: ghc-SHA-devel
|
||||||
BuildRequires: ghc-base16-bytestring-devel
|
BuildRequires: ghc-base16-bytestring-devel
|
||||||
|
@ -49,11 +51,9 @@ footprint.
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Haskell %{pkg_name} library development files
|
Summary: Haskell %{pkg_name} library development files
|
||||||
Provides: %{name}-static = %{version}-%{release}
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
Provides: %{name}-doc = %{version}-%{release}
|
Provides: %{name}-static%{?_isa} = %{version}-%{release}
|
||||||
%if %{defined ghc_version}
|
%if %{defined ghc_version}
|
||||||
Requires: ghc-compiler = %{ghc_version}
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
Requires(post): ghc-compiler = %{ghc_version}
|
|
||||||
Requires(postun): ghc-compiler = %{ghc_version}
|
|
||||||
%endif
|
%endif
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
@ -62,6 +62,27 @@ This package provides the Haskell %{pkg_name} library development
|
||||||
files.
|
files.
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with haddock}
|
||||||
|
%package doc
|
||||||
|
Summary: Haskell %{pkg_name} library documentation
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
This package provides the Haskell %{pkg_name} library documentation.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with ghc_prof}
|
||||||
|
%package prof
|
||||||
|
Summary: Haskell %{pkg_name} profiling library
|
||||||
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||||
|
Supplements: (%{name}-devel and ghc-prof)
|
||||||
|
|
||||||
|
%description prof
|
||||||
|
This package provides the Haskell %{pkg_name} profiling library.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
# Begin cabal-rpm setup:
|
# Begin cabal-rpm setup:
|
||||||
%setup -q -n %{pkgver}
|
%setup -q -n %{pkgver}
|
||||||
|
@ -85,14 +106,6 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||||
%cabal_test
|
%cabal_test
|
||||||
|
|
||||||
|
|
||||||
%post devel
|
|
||||||
%ghc_pkg_recache
|
|
||||||
|
|
||||||
|
|
||||||
%postun devel
|
|
||||||
%ghc_pkg_recache
|
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
# Begin cabal-rpm files:
|
# Begin cabal-rpm files:
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
@ -103,7 +116,36 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||||
%doc changelog.md
|
%doc changelog.md
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with haddock}
|
||||||
|
%files doc -f %{name}-doc.files
|
||||||
|
%license LICENSE
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with ghc_prof}
|
||||||
|
%files prof -f %{name}-prof.files
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.101.0-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 0.11.101.0-10
|
||||||
|
- refresh to cabal-rpm-2.0.6
|
||||||
|
|
||||||
|
* Wed Feb 19 2020 Jens Petersen <petersen@redhat.com> - 0.11.101.0-9
|
||||||
|
- revise .cabal and refresh to cabal-rpm-2.0.2
|
||||||
|
|
||||||
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.101.0-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Aug 01 2019 Jens Petersen <petersen@redhat.com> - 0.11.101.0-7
|
||||||
|
- add doc and prof subpackages (cabal-rpm-1.0.0)
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.101.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.11.101.0-5
|
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.11.101.0-5
|
||||||
- refresh to cabal-rpm-0.13
|
- refresh to cabal-rpm-0.13
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue