Accepting request 432841 from devel:languages:haskell:lts:7
version / revision update OBS-URL: https://build.opensuse.org/request/show/432841 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zlib?expand=0&rev=20
This commit is contained in:
parent
9b8cc15b77
commit
24a19a3381
@ -23,12 +23,11 @@ Version: 0.6.1.1
|
||||
Release: 0
|
||||
Summary: Compression and decompression in the gzip and zlib formats
|
||||
License: BSD-2-Clause
|
||||
Group: System/Libraries
|
||||
Group: Development/Languages/Other
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal
|
||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: zlib-devel
|
||||
@ -40,7 +39,6 @@ BuildRequires: ghc-tasty-devel
|
||||
BuildRequires: ghc-tasty-hunit-devel
|
||||
BuildRequires: ghc-tasty-quickcheck-devel
|
||||
%endif
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
This package provides a pure interface for compressing and decompressing
|
||||
@ -57,11 +55,9 @@ Summary: Haskell %{pkg_name} library development files
|
||||
Group: Development/Libraries/Other
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: ghc-compiler = %{ghc_version}
|
||||
# Begin cabal-rpm deps:
|
||||
Requires: zlib-devel
|
||||
Requires(post): ghc-compiler = %{ghc_version}
|
||||
Requires(postun): ghc-compiler = %{ghc_version}
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description devel
|
||||
This package provides the Haskell %{pkg_name} library development files.
|
||||
@ -70,20 +66,14 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
||||
|
||||
%install
|
||||
%ghc_lib_install
|
||||
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
%{cabal} test
|
||||
%endif
|
||||
|
||||
%cabal_test
|
||||
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
@ -97,6 +87,5 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc changelog examples
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user