osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-digest revision:7, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-digest?expand=0&rev=55
This commit is contained in:
Peter Simons 2023-03-30 08:26:23 +00:00 committed by Git OBS Bridge
parent 7903b7e191
commit e4ad98c29a
4 changed files with 45 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7bdb5dd1ae1f86cd77c6a9bbc4a5f9f5eda4daf1815dddb3801ebdafa009f2d2
size 3914

3
digest-0.0.1.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b23d6c804e6fed0ac9bb0d35b7aed5785330d63efebe296cf0073dab17e05f0a
size 4067

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sun Mar 12 14:11:03 UTC 2023 - Peter Simons <psimons@suse.com>
- Update digest to version 0.0.1.7.
## 0.0.1.7 — 5th March 2023
- Don't use 'pkg-config' to locate zlib on FreeBSD (Thanks to @arrowd): <https://github.com/TeofilC/digest/pull/13>
-------------------------------------------------------------------
Sun Mar 5 21:35:54 UTC 2023 - Peter Simons <psimons@suse.com>
- Update digest to version 0.0.1.6.
## 0.0.1.6 — 5th March 2023
- Introduce 'pkg-config' cabal flag (Thanks to @jonathanlking): <https://github.com/TeofilC/digest/pull/11>
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 24 15:49:59 UTC 2023 - Peter Simons <psimons@suse.com> Tue Jan 24 15:49:59 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@ -17,15 +17,19 @@
%global pkg_name digest %global pkg_name digest
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.0.1.5 Version: 0.0.1.7
Release: 0 Release: 0
Summary: Various hashes for bytestrings; CRC32 and Adler32 for now Summary: Various hashes for bytestrings; CRC32 and Adler32 for now
License: BSD-2-Clause License: BSD-2-Clause
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
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-devel BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(zlib)
@ -48,6 +52,22 @@ Requires(postun): ghc-compiler = %{ghc_version}
%description devel %description devel
This package provides the Haskell %{pkg_name} library development files. 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 %prep
%autosetup -n %{pkg_name}-%{version} %autosetup -n %{pkg_name}-%{version}
@ -69,4 +89,9 @@ This package provides the Haskell %{pkg_name} library development files.
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%doc CHANGELOG.md %doc CHANGELOG.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 %changelog