#23 Add dependencies for the rpmdb migration scriptlet (#2055033)
Merged 2 years ago by ngompa. Opened 2 years ago by ngompa.
rpms/ ngompa/rpm pre-scriptlet-deps  into  rawhide

file modified
+9 -8
@@ -30,7 +30,7 @@ 

  

  %global rpmver 4.17.0

  #global snapver rc1

- %global baserelease 8

+ %global baserelease 9

  %global sover 9

  

  %global srcver %{rpmver}%{?snapver:-%{snapver}}
@@ -129,6 +129,11 @@ 

  BuildRequires: fsverity-utils-devel

  %endif

  

+ # For the rpmdb migration scriptlet (#2055033)

+ Requires(pre): coreutils

+ Requires(pre): findutils

+ Requires(pre): sed

+ 

  %description

  The RPM Package Manager (RPM) is a powerful command line driven

  package management system capable of installing, uninstalling,
@@ -434,13 +439,6 @@ 

      done

  fi

  

- %triggerun -- rpm < 4.15.90-0.git14971.10

- # Handle rpmdb rebuild service on erasure of old to avoid ordering issues

- # https://pagure.io/fesco/issue/2382

- if [ -x /usr/bin/systemctl ]; then

-     systemctl --no-reload preset rpmdb-rebuild ||:

- fi

- 

  %triggerun -- rpm < 4.17.0-7

  # Handle rpmdb migrate service on erasure of old to avoid ordering issues

  if [ -x /usr/bin/systemctl ]; then
@@ -607,6 +605,9 @@ 

  %doc docs/librpm/html/*

  

  %changelog

+ * Wed Feb 16 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-9

+ - Add dependencies for the rpmdb migration scriptlet (#2055033)

+ 

  * Wed Feb 02 2022 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-8

  - Really fix spurious %%transfiletriggerpostun execution (#2023311, #2048168)

  

Also, drop a "duplicate" trigger that's no longer needed to fix a spec error.

Once this is merged, the rawhide branch can be fast-forwarded to the f36 branch and built for both Rawhide and F36.

Pull-Request has been merged by ngompa

2 years ago
Metadata