|
|
|
@ -2,9 +2,11 @@
|
|
|
|
|
|
|
|
|
|
%global pkg_name Diff
|
|
|
|
|
|
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
Version: 0.3.0
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 0.3.4
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: O(ND) diff algorithm in Haskell
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
@ -16,10 +18,18 @@ BuildRequires: ghc-rpm-macros
|
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
|
BuildRequires: ghc-array-devel
|
|
|
|
|
BuildRequires: ghc-pretty-devel
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
BuildRequires: ghc-QuickCheck-devel
|
|
|
|
|
BuildRequires: ghc-directory-devel
|
|
|
|
|
BuildRequires: ghc-process-devel
|
|
|
|
|
BuildRequires: ghc-test-framework-devel
|
|
|
|
|
BuildRequires: ghc-test-framework-quickcheck2-devel
|
|
|
|
|
%endif
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Basic implementation of the standard diff algorithm.
|
|
|
|
|
Implementation of the standard diff algorithm, and utilities for pretty
|
|
|
|
|
printing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
@ -45,6 +55,14 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
%install
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
%cabal test
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
@ -55,13 +73,16 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
%doc LICENSE
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 23 2016 Jens Petersen <petersen@redhat.com> - 0.3.4-1
|
|
|
|
|
- update to 0.3.4
|
|
|
|
|
|
|
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|