Add "Obsoletes:" for upgrades from F37/F38

f39
Artur Frenszek-Iwicki 2 years ago
parent 839ee2eae5
commit cc41a61374

@ -57,6 +57,9 @@ Requires: %{name}-lcl%{?_isa} = %{version}-%{release}
Recommends: %{name}-doc = %{version}-%{release}
# For smooth upgrade from F38 or older. Can be removed in F41.
Obsoletes: lazarus < 2.2.6-2
ExclusiveArch: %{fpc_arches}
%description
@ -85,6 +88,9 @@ Requires: fpc-src
Requires: gdb
Requires: make
# For smooth upgrade from F38 or older. Can be removed in F41.
Obsoletes: lazarus < 2.2.6-2
%description ide
Lazarus is a cross-platform IDE and component library for Free Pascal.
@ -98,6 +104,9 @@ Requires: binutils
Requires: fpc%{?_isa}
Requires: glibc-devel%{?_isa}
# For smooth upgrade from F38 or older. Can be removed in F41.
Obsoletes: lazarus < 2.2.6-2
%description tools
Lazarus is a cross-platform IDE and component library for Free Pascal.
@ -108,6 +117,9 @@ This package provides helper programs used for building Lazarus projects.
Summary: Lazarus IDE documentation
License: %{license_doc}
# For smooth upgrade from F38 or older. Can be removed in F41.
Obsoletes: lazarus < 2.2.6-2
%description doc
Lazarus is a cross-platform IDE and component library for Free Pascal.
@ -119,6 +131,9 @@ Summary: Lazarus Component Library
Recommends: %{name}-lcl-nogui%{?_isa} = %{version}-%{release}
Recommends: %{name}-lcl-gtk2%{?_isa} = %{version}-%{release}
# For smooth upgrade from F38 or older. Can be removed in F41.
Obsoletes: lazarus < 2.2.6-2
%description lcl
Lazarus is a cross-platform IDE and component library for Free Pascal.
@ -129,6 +144,9 @@ This package contains the common parts of the Lazarus Component Library.
Summary: Lazarus Component Library - non-graphical components
Requires: %{name}-lcl%{?_isa} = %{version}-%{release}
# For smooth upgrade from F38 or older. Can be removed in F41.
Obsoletes: lazarus < 2.2.6-2
%description lcl-nogui
Lazarus is a cross-platform IDE and component library for Free Pascal.
@ -142,6 +160,9 @@ Requires: %{name}-lcl%{?_isa} = %{version}-%{release}
Requires: gtk2-devel%{?_isa}
# For smooth upgrade from F38 or older. Can be removed in F41.
Obsoletes: lazarus < 2.2.6-2
%description lcl-gtk2
Lazarus is a cross-platform IDE and component library for Free Pascal.
@ -469,6 +490,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdat
- Move lazbuild and other tools to a separate sub-package
- Apart from the default GTK2, build the LCL with GTK3, Qt and Qt5
- Use multiple jobs during the build
- Add Obsoletes: for smooth upgrade from F37/F38
* Wed Mar 08 2023 Artur Frenszek-Iwicki <fedora@svgames.pl> - 2.2.6-1
- Update to v2.2.6

Loading…
Cancel
Save