update to 1.2.4.2 for haskell-platform-2011.4.0.0
- update to cabal2spec-0.25
This commit is contained in:
parent
1cbfbe6bc0
commit
d197a6b72d
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
HUnit-1.2.2.1.tar.gz
|
||||
/HUnit-1.2.2.3.tar.gz
|
||||
/HUnit-1.2.4.2.tar.gz
|
||||
|
@ -6,24 +6,42 @@
|
||||
for Java.
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
# part of haskell-platform-2011.2.0.1
|
||||
Version: 1.2.2.3
|
||||
Release: 7%{?dist}.3
|
||||
# part of haskell-platform-2011.4.0.0
|
||||
Version: 1.2.4.2
|
||||
Release: 1%{?dist}
|
||||
Summary: %{common_summary}
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: BSD
|
||||
URL: http://hunit.sourceforge.net/
|
||||
# BEGIN cabal2spec
|
||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
ExclusiveArch: %{ghc_arches}
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: hscolour
|
||||
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
||||
# END cabal2spec
|
||||
BuildRequires: ghc-base-prof
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
|
||||
|
||||
%package -n ghc-%{pkg_name}-devel
|
||||
Summary: Development files for %{common_summary}
|
||||
Group: Development/Libraries
|
||||
# BEGIN cabal2spec
|
||||
%{?ghc_devel_requires}
|
||||
Obsoletes: ghc-%{pkg_name}-prof < %{version}-%{release}
|
||||
Provides: ghc-%{pkg_name}-prof = %{version}-%{release}
|
||||
# END cabal2spec
|
||||
# Haskell devel dependencies are autogenerated by ghc-deps.sh
|
||||
|
||||
%description -n ghc-%{pkg_name}-devel
|
||||
%{common_description}
|
||||
|
||||
This package contains the development files.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
|
||||
@ -43,13 +61,20 @@ BuildRequires: hscolour
|
||||
rm %{buildroot}%{_bindir}/*-tests
|
||||
rm -r %{buildroot}%{_datadir}/%{pkg_name}-%{version}
|
||||
|
||||
echo %doc README doc/Guide.html examples/Example.hs >> %{name}-devel.files
|
||||
|
||||
%postun -n ghc-%{pkg_name}-devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
|
||||
%ghc_lib_package
|
||||
%ghc_files LICENSE
|
||||
%doc README doc/Guide.html examples/Example.hs
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Dec 27 2011 Jens Petersen <petersen@redhat.com> - 1.2.4.2-1
|
||||
- update to 1.2.4.2 for haskell-platform-2011.4.0.0
|
||||
- update to cabal2spec-0.25
|
||||
|
||||
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.2.2.3-7.3
|
||||
- rebuild with new gmp without compat lib
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user