import 1.2.5.2-31 (pkg review #1069081) to move out of haskell-platform

epel9
Jens Petersen 11 years ago
parent ee8ea098cf
commit 823d05db51

1
.gitignore vendored

@ -1,3 +1,4 @@
HUnit-1.2.2.1.tar.gz HUnit-1.2.2.1.tar.gz
/HUnit-1.2.2.3.tar.gz /HUnit-1.2.2.3.tar.gz
/HUnit-1.2.4.2.tar.gz /HUnit-1.2.4.2.tar.gz
/HUnit-1.2.5.2.tar.gz

@ -1,28 +1,37 @@
%global pkg_name HUnit # https://fedoraproject.org/wiki/Packaging:Haskell
%global common_summary Haskell %{pkg_name} library
%global common_description HUnit is a unit testing framework for Haskell, inspired by the JUnit tool\ %global pkg_name HUnit
for Java.
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
# part of haskell-platform # part of haskell-platform
Version: 1.2.4.2 Version: 1.2.5.2
Release: 4%{?dist} Release: 31%{?dist}
Summary: %{common_summary} Summary: Unit testing framework for Haskell
Group: System Environment/Libraries
License: BSD License: BSD
# BEGIN cabal2spec
URL: http://hackage.haskell.org/package/%{pkg_name} URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
ExclusiveArch: %{ghc_arches}
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} BuildRequires: ghc-rpm-macros
# END cabal2spec # Begin cabal-rpm deps:
BuildRequires: ghc-deepseq-devel
# End cabal-rpm deps
%description %description
%{common_description} HUnit is a unit testing framework for Haskell, inspired by JUnit for Java.
%package devel
Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%prep %prep
@ -41,23 +50,29 @@ BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
%ghc_lib_install %ghc_lib_install
# remove unwanted files # remove unwanted files
rm %{buildroot}%{_bindir}/*-tests rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/{README,doc/Guide.html,examples/Example.hs,prologue.txt}
rm -r %{buildroot}%{_datadir}/%{pkg_name}-%{version}
%ghc_devel_package %post devel
%ghc_pkg_recache
%ghc_devel_description
%postun devel
%ghc_pkg_recache
%ghc_devel_post_postun
%files -f %{name}.files
%doc LICENSE
%ghc_files LICENSE
%files devel -f %{name}-devel.files
%doc README doc/Guide.html examples/Example.hs %doc README doc/Guide.html examples/Example.hs
%changelog %changelog
* Mon Feb 24 2014 Jens Petersen <petersen@redhat.com> - 1.2.5.2-31
- split out of haskell-platform
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4.2-3 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

@ -1 +1 @@
b834809dc5c4ac4d1e519d8d6c456600 HUnit-1.2.4.2.tar.gz 1ba79aaeb57361a8593e864694539025 HUnit-1.2.5.2.tar.gz

Loading…
Cancel
Save