obsolete ghc-gtk2hs gconf, gstreamer, and svgcairo
- obsoletes moved from ghc - use ghc_pkg_obsoletes from ghc-rpm-macros-0.9.0
This commit is contained in:
parent
a039ca05af
commit
a561e2446c
@ -6,15 +6,12 @@
|
|||||||
|
|
||||||
%global ghc_pkg_c_deps glib2-devel
|
%global ghc_pkg_c_deps glib2-devel
|
||||||
|
|
||||||
%bcond_without shared
|
# obsolete old gtk2hs packages
|
||||||
%bcond_without hscolour
|
%global ghc_pkg_obsoletes ghc-gconf-devel < 0.11, ghc-gstreamer-devel < 0.11, ghc-svgcairo-devel < 0.11
|
||||||
|
|
||||||
# debuginfo is not useful for ghc
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.11.2
|
Version: 0.11.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: %{common_summary}
|
Summary: %{common_summary}
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -25,18 +22,16 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||||||
# fedora ghc archs:
|
# fedora ghc archs:
|
||||||
ExclusiveArch: %{ix86} x86_64 ppc alpha
|
ExclusiveArch: %{ix86} x86_64 ppc alpha
|
||||||
BuildRequires: ghc, ghc-doc, ghc-prof
|
BuildRequires: ghc, ghc-doc, ghc-prof
|
||||||
BuildRequires: ghc-rpm-macros >= 0.8.1
|
# 0.9.0 or later for obsoletes
|
||||||
%if %{with hscolour}
|
BuildRequires: ghc-rpm-macros >= 0.9.0
|
||||||
BuildRequires: hscolour
|
BuildRequires: hscolour
|
||||||
%endif
|
|
||||||
%{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}}
|
%{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}}
|
||||||
BuildRequires: gtk2hs-buildtools
|
BuildRequires: gtk2hs-buildtools
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
%{common_description}
|
||||||
%if %{with shared}
|
|
||||||
This package provides the shared library.
|
This package provides the shared library.
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%{?ghc_lib_package}
|
%{?ghc_lib_package}
|
||||||
@ -60,6 +55,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 25 2010 Jens Petersen <petersen@redhat.com> - 0.11.2-3
|
||||||
|
- obsolete ghc-gtk2hs gconf, gstreamer, and svgcairo
|
||||||
|
- using ghc_pkg_obsoletes from ghc-rpm-macros-0.9.0
|
||||||
|
|
||||||
* Tue Sep 7 2010 Jens Petersen <petersen@redhat.com> - 0.11.2-2
|
* Tue Sep 7 2010 Jens Petersen <petersen@redhat.com> - 0.11.2-2
|
||||||
- fix the build macro
|
- fix the build macro
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user