Accepting request 432731 from devel:languages:haskell:lts:7
version / revision update OBS-URL: https://build.opensuse.org/request/show/432731 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-ed25519?expand=0&rev=5
This commit is contained in:
@@ -23,12 +23,11 @@ Version: 0.0.5.0
|
||||
Release: 0
|
||||
Summary: Ed25519 cryptographic signatures
|
||||
License: MIT
|
||||
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/2.cabal
|
||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@@ -39,7 +38,6 @@ BuildRequires: ghc-doctest-devel
|
||||
BuildRequires: ghc-filepath-devel
|
||||
BuildRequires: ghc-hlint-devel
|
||||
%endif
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
This package provides a simple, fast, self-contained copy of the Ed25519
|
||||
@@ -62,20 +60,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
|
||||
@@ -89,6 +81,5 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS.txt CHANGELOG.md README.md
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user