reinstate deleted post script; update to cabal2spec-0.25.1
This commit is contained in:
parent
d197a6b72d
commit
4a38647792
@ -8,7 +8,7 @@ for Java.
|
||||
Name: ghc-%{pkg_name}
|
||||
# part of haskell-platform-2011.4.0.0
|
||||
Version: 1.2.4.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: %{common_summary}
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -26,22 +26,6 @@ BuildRequires: ghc-base-prof
|
||||
%{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}
|
||||
|
||||
@ -62,8 +46,12 @@ rm %{buildroot}%{_bindir}/*-tests
|
||||
rm -r %{buildroot}%{_datadir}/%{pkg_name}-%{version}
|
||||
|
||||
|
||||
%postun -n ghc-%{pkg_name}-devel
|
||||
%ghc_pkg_recache
|
||||
%ghc_devel_package
|
||||
|
||||
%ghc_devel_description
|
||||
|
||||
|
||||
%ghc_devel_post_postun
|
||||
|
||||
|
||||
%ghc_files LICENSE
|
||||
@ -71,6 +59,10 @@ rm -r %{buildroot}%{_datadir}/%{pkg_name}-%{version}
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Dec 30 2011 Jens Petersen <petersen@redhat.com> - 1.2.4.2-2
|
||||
- fix accidently deleted post script
|
||||
- cabal2spec-0.25.1
|
||||
|
||||
* 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
|
||||
|
Loading…
Reference in New Issue
Block a user