#3 Obsolete zram package from zram-generator-defaults
Closed 8 months ago by zbyszek. Opened 9 months ago by zbyszek.
rpms/ zbyszek/rust-zram-generator obsolete-zram  into  master

file modified
+5 -1
@@ -5,7 +5,7 @@ 


  Name:           rust-%{crate}

  Version:        0.2.0

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        Systemd unit generator for zram swap devices


  # Upstream license specification: MIT
@@ -53,6 +53,7 @@ 

  %package     -n %{crate}-defaults

  Summary:        Default configuration for %{crate}

  Requires:       %{crate} = %{version}-%{release}

+ Obsoletes:      zram < 0.4-2

  BuildArch:      noarch


  %description -n %{crate}-defaults
@@ -117,6 +118,9 @@ 




+ * Mon Jul  6 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2.0-2

+ - Obsolete zram package from zram-generator-defaults


  * Sat Jul 04 17:30:46 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.2.0-1

  - Update to 0.2.0


It doesn't make much sense to have both zram-generator-defaults and zram
installed at the same time. It's likely to only lead to user confusion.

Also approved in https://fedoraproject.org/wiki/Changes/SwapOnZRAM#Scope.

/cc @probinson

Related PRs:

Use zram-generator instead of zram

Replace 'zram' with 'zram-generator', and exclude Cloud edition

Replace the zram service

I think we need to wait with this until anaconda gets rid of their zram thing?

I was thinking that 'zram-generator-defaults' should obsolete 'zram', only in the case of fc31/fc32 -> fc33. This is basically the upgrade path because 'zram' already is installed on Workstation since fc31. And isn't installed by default anywhere else.

Everything else has landed, so this can be merged.

OK, let's merge this then.

Pull-Request has been closed by zbyszek

8 months ago