obsoletes ghc8.10
This commit is contained in:
parent
682df27912
commit
d85561818a
15
ghc.spec
15
ghc.spec
@ -46,6 +46,11 @@
|
|||||||
|
|
||||||
%global ghc_unregisterized_arches s390 s390x %{mips} riscv64
|
%global ghc_unregisterized_arches s390 s390x %{mips} riscv64
|
||||||
|
|
||||||
|
%global obsoletes_ghcXY() \
|
||||||
|
Obsoletes: ghc%{ghc_major}%{?1:-%1} < %{version}-%{release}\
|
||||||
|
Provides: ghc%{ghc_major}%{?1:-%1} = %{version}-%{release}\
|
||||||
|
%{nil}
|
||||||
|
|
||||||
Name: ghc
|
Name: ghc
|
||||||
Version: 8.10.7
|
Version: 8.10.7
|
||||||
# Since library subpackages are versioned:
|
# Since library subpackages are versioned:
|
||||||
@ -154,6 +159,7 @@ Suggests: %{name}-manual = %{version}-%{release}
|
|||||||
%if %{with ghc_prof}
|
%if %{with ghc_prof}
|
||||||
Suggests: %{name}-prof = %{version}-%{release}
|
Suggests: %{name}-prof = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
|
%obsoletes_ghcXY
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GHC is a state-of-the-art, open source, compiler and interactive environment
|
GHC is a state-of-the-art, open source, compiler and interactive environment
|
||||||
@ -192,7 +198,7 @@ Obsoletes: %{name}-filesystem < %{version}-%{release}
|
|||||||
%ifarch %{ghc_llvm_archs}
|
%ifarch %{ghc_llvm_archs}
|
||||||
Requires: llvm%{llvm_major}
|
Requires: llvm%{llvm_major}
|
||||||
%endif
|
%endif
|
||||||
Conflicts: ghc%{ghc_major}-compiler = %{version}
|
%obsoletes_ghcXY compiler
|
||||||
|
|
||||||
%description compiler
|
%description compiler
|
||||||
The package contains the GHC compiler, tools and utilities.
|
The package contains the GHC compiler, tools and utilities.
|
||||||
@ -206,6 +212,7 @@ install the main ghc package.
|
|||||||
%package doc
|
%package doc
|
||||||
Summary: Haskell library documentation meta package
|
Summary: Haskell library documentation meta package
|
||||||
License: BSD
|
License: BSD
|
||||||
|
%obsoletes_ghcXY doc
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
Installing this package causes %{name}-*-doc packages corresponding to
|
Installing this package causes %{name}-*-doc packages corresponding to
|
||||||
@ -218,6 +225,7 @@ License: BSD
|
|||||||
Obsoletes: ghc-doc-cron < %{version}-%{release}
|
Obsoletes: ghc-doc-cron < %{version}-%{release}
|
||||||
Requires: %{name}-compiler = %{version}-%{release}
|
Requires: %{name}-compiler = %{version}-%{release}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%obsoletes_ghcXY doc-index
|
||||||
|
|
||||||
%description doc-index
|
%description doc-index
|
||||||
The package enables re-indexing of installed library documention.
|
The package enables re-indexing of installed library documention.
|
||||||
@ -227,6 +235,7 @@ The package enables re-indexing of installed library documention.
|
|||||||
Summary: Shared directories for Haskell documentation
|
Summary: Shared directories for Haskell documentation
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Obsoletes: %{name}-filesystem < %{version}-%{release}
|
Obsoletes: %{name}-filesystem < %{version}-%{release}
|
||||||
|
%obsoletes_ghcXY filesystem
|
||||||
|
|
||||||
%description filesystem
|
%description filesystem
|
||||||
This package provides some common directories used for
|
This package provides some common directories used for
|
||||||
@ -240,6 +249,7 @@ Summary: GHC manual
|
|||||||
License: BSD
|
License: BSD
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: %{name}-filesystem = %{version}-%{release}
|
Requires: %{name}-filesystem = %{version}-%{release}
|
||||||
|
%obsoletes_ghcXY manual
|
||||||
|
|
||||||
%description manual
|
%description manual
|
||||||
This package provides the User Guide and Haddock manual.
|
This package provides the User Guide and Haddock manual.
|
||||||
@ -300,6 +310,7 @@ Requires: %{name}-compiler = %{version}-%{release}
|
|||||||
Obsoletes: ghc-libraries < %{version}-%{release}
|
Obsoletes: ghc-libraries < %{version}-%{release}
|
||||||
Provides: ghc-libraries = %{version}-%{release}
|
Provides: ghc-libraries = %{version}-%{release}
|
||||||
%{?ghc_packages_list:Requires: %(echo %{ghc_packages_list} | sed -e "s/\([^ ]*\)-\([^ ]*\)/%{name}-\1-devel = \2-%{release},/g")}
|
%{?ghc_packages_list:Requires: %(echo %{ghc_packages_list} | sed -e "s/\([^ ]*\)-\([^ ]*\)/%{name}-\1-devel = \2-%{release},/g")}
|
||||||
|
%obsoletes_ghcXY devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This is a meta-package for all the development library packages in GHC
|
This is a meta-package for all the development library packages in GHC
|
||||||
@ -311,6 +322,7 @@ except the ghc library, which is installed by the toplevel ghc metapackage.
|
|||||||
Summary: GHC profiling libraries meta package
|
Summary: GHC profiling libraries meta package
|
||||||
License: BSD
|
License: BSD
|
||||||
Requires: %{name}-compiler = %{version}-%{release}
|
Requires: %{name}-compiler = %{version}-%{release}
|
||||||
|
%obsoletes_ghcXY prof
|
||||||
|
|
||||||
%description prof
|
%description prof
|
||||||
Installing this package causes %{name}-*-prof packages corresponding to
|
Installing this package causes %{name}-*-prof packages corresponding to
|
||||||
@ -674,6 +686,7 @@ env -C %{ghc_html_libraries_dir} ./gen_contents_index
|
|||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Sep 28 2022 Jens Petersen <petersen@redhat.com> - 8.10.7-122
|
* Wed Sep 28 2022 Jens Petersen <petersen@redhat.com> - 8.10.7-122
|
||||||
|
- obsoletes ghc8.10
|
||||||
- use llvm 12 (for ARM)
|
- use llvm 12 (for ARM)
|
||||||
|
|
||||||
* Sat Aug 6 2022 Jens Petersen <petersen@redhat.com> - 8.10.7-121
|
* Sat Aug 6 2022 Jens Petersen <petersen@redhat.com> - 8.10.7-121
|
||||||
|
Loading…
Reference in New Issue
Block a user