forked from pool/ghc-hledger-lib
Accepting request 1075895 from devel:languages:haskell
update for ghc-9.4.4 OBS-URL: https://build.opensuse.org/request/show/1075895 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-hledger-lib?expand=0&rev=19
This commit is contained in:
commit
2e347c8d43
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 17:06:58 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 1 17:16:27 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-hledger-lib
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,6 +17,7 @@
|
||||
|
||||
|
||||
%global pkg_name hledger-lib
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 1.28
|
||||
@ -27,49 +28,92 @@ URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-Decimal-devel
|
||||
BuildRequires: ghc-Decimal-prof
|
||||
BuildRequires: ghc-Glob-devel
|
||||
BuildRequires: ghc-Glob-prof
|
||||
BuildRequires: ghc-aeson-devel
|
||||
BuildRequires: ghc-aeson-pretty-devel
|
||||
BuildRequires: ghc-aeson-pretty-prof
|
||||
BuildRequires: ghc-aeson-prof
|
||||
BuildRequires: ghc-ansi-terminal-devel
|
||||
BuildRequires: ghc-ansi-terminal-prof
|
||||
BuildRequires: ghc-array-devel
|
||||
BuildRequires: ghc-array-prof
|
||||
BuildRequires: ghc-base-devel
|
||||
BuildRequires: ghc-base-prof
|
||||
BuildRequires: ghc-blaze-markup-devel
|
||||
BuildRequires: ghc-blaze-markup-prof
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-bytestring-prof
|
||||
BuildRequires: ghc-call-stack-devel
|
||||
BuildRequires: ghc-call-stack-prof
|
||||
BuildRequires: ghc-cassava-devel
|
||||
BuildRequires: ghc-cassava-megaparsec-devel
|
||||
BuildRequires: ghc-cassava-megaparsec-prof
|
||||
BuildRequires: ghc-cassava-prof
|
||||
BuildRequires: ghc-cmdargs-devel
|
||||
BuildRequires: ghc-cmdargs-prof
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-containers-prof
|
||||
BuildRequires: ghc-data-default-devel
|
||||
BuildRequires: ghc-data-default-prof
|
||||
BuildRequires: ghc-deepseq-devel
|
||||
BuildRequires: ghc-deepseq-prof
|
||||
BuildRequires: ghc-directory-devel
|
||||
BuildRequires: ghc-directory-prof
|
||||
BuildRequires: ghc-doclayout-devel
|
||||
BuildRequires: ghc-doclayout-prof
|
||||
BuildRequires: ghc-extra-devel
|
||||
BuildRequires: ghc-extra-prof
|
||||
BuildRequires: ghc-file-embed-devel
|
||||
BuildRequires: ghc-file-embed-prof
|
||||
BuildRequires: ghc-filepath-devel
|
||||
BuildRequires: ghc-filepath-prof
|
||||
BuildRequires: ghc-hashtables-devel
|
||||
BuildRequires: ghc-hashtables-prof
|
||||
BuildRequires: ghc-megaparsec-devel
|
||||
BuildRequires: ghc-megaparsec-prof
|
||||
BuildRequires: ghc-microlens-devel
|
||||
BuildRequires: ghc-microlens-prof
|
||||
BuildRequires: ghc-microlens-th-devel
|
||||
BuildRequires: ghc-microlens-th-prof
|
||||
BuildRequires: ghc-mtl-devel
|
||||
BuildRequires: ghc-mtl-prof
|
||||
BuildRequires: ghc-parser-combinators-devel
|
||||
BuildRequires: ghc-parser-combinators-prof
|
||||
BuildRequires: ghc-pretty-simple-devel
|
||||
BuildRequires: ghc-pretty-simple-prof
|
||||
BuildRequires: ghc-regex-tdfa-devel
|
||||
BuildRequires: ghc-regex-tdfa-prof
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-safe-devel
|
||||
BuildRequires: ghc-safe-prof
|
||||
BuildRequires: ghc-tabular-devel
|
||||
BuildRequires: ghc-tabular-prof
|
||||
BuildRequires: ghc-tasty-devel
|
||||
BuildRequires: ghc-tasty-hunit-devel
|
||||
BuildRequires: ghc-tasty-hunit-prof
|
||||
BuildRequires: ghc-tasty-prof
|
||||
BuildRequires: ghc-template-haskell-devel
|
||||
BuildRequires: ghc-template-haskell-prof
|
||||
BuildRequires: ghc-text-devel
|
||||
BuildRequires: ghc-text-prof
|
||||
BuildRequires: ghc-time-devel
|
||||
BuildRequires: ghc-time-prof
|
||||
BuildRequires: ghc-timeit-devel
|
||||
BuildRequires: ghc-timeit-prof
|
||||
BuildRequires: ghc-transformers-devel
|
||||
BuildRequires: ghc-transformers-prof
|
||||
BuildRequires: ghc-uglymemo-devel
|
||||
BuildRequires: ghc-uglymemo-prof
|
||||
BuildRequires: ghc-unordered-containers-devel
|
||||
BuildRequires: ghc-unordered-containers-prof
|
||||
BuildRequires: ghc-utf8-string-devel
|
||||
BuildRequires: ghc-utf8-string-prof
|
||||
ExcludeArch: %{ix86}
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-doctest-devel
|
||||
BuildRequires: ghc-doctest-prof
|
||||
%endif
|
||||
|
||||
%description
|
||||
@ -93,6 +137,22 @@ Requires(postun): ghc-compiler = %{ghc_version}
|
||||
%description devel
|
||||
This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%package -n ghc-%{pkg_name}-doc
|
||||
Summary: Haskell %{pkg_name} library documentation
|
||||
Requires: ghc-filesystem
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n ghc-%{pkg_name}-doc
|
||||
This package provides the Haskell %{pkg_name} library documentation.
|
||||
|
||||
%package -n ghc-%{pkg_name}-prof
|
||||
Summary: Haskell %{pkg_name} profiling library
|
||||
Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
|
||||
Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
|
||||
|
||||
%description -n ghc-%{pkg_name}-prof
|
||||
This package provides the Haskell %{pkg_name} profiling library.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
|
||||
@ -117,4 +177,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc CHANGES.md README.md
|
||||
|
||||
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
|
||||
%license LICENSE
|
||||
|
||||
%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user