Unverified Commit 4493f72b authored by Paul Meyer's avatar Paul Meyer Committed by GitHub
Browse files

dnf5: 5.2.6.2 -> 5.2.7.0 (#355666)

parents d7afffe7 e6d544a4
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "dnf5";
  version = "5.2.6.2";
  version = "5.2.7.0";

  outputs = [
    "out"
@@ -43,7 +43,7 @@ stdenv.mkDerivation (finalAttrs: {
    owner = "rpm-software-management";
    repo = "dnf5";
    rev = finalAttrs.version;
    hash = "sha256-V/8vVKgQphWiCfdIlBMPHaJiOSIYUIEeYdt9Rm+8rCY=";
    hash = "sha256-gKPC8nrEoayOGGrO+pk164w1xRuhrx74JcxJ1JDhOug=";
  };

  nativeBuildInputs =
@@ -102,13 +102,14 @@ stdenv.mkDerivation (finalAttrs: {
  '';

  prePatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail "/usr/lib/systemd/system" "$out/lib/systemd/system"
    substituteInPlace dnf5daemon-server/dbus/CMakeLists.txt \
      --replace '/etc' "$out/etc" \
      --replace '/usr' "$out"
      --replace-fail "/usr" "$out"
    substituteInPlace dnf5daemon-server/polkit/CMakeLists.txt \
      --replace '/usr' "$out"
      --replace-fail "/usr" "$out"
    substituteInPlace dnf5/CMakeLists.txt \
      --replace '/etc/bash_completion.d' "$out/etc/bash_completion.d"
      --replace-fail "/etc/bash_completion.d" "$out/etc/bash_completion.d"
  '';

  dontFixCmake = true;