#1112 Show correct pre and posttrans arguments
Merged 7 months ago by ngompa. Opened 7 months ago by tibbs.
tibbs/packaging-committee issue1051  into  master

@@ -42,12 +42,12 @@ 

  [cols=",,,",]

  |===================================

  | |install |upgrade |uninstall

- |%pretrans |$1 == 0 |$1 == 0 |(N/A)

+ |%pretrans |$1 == 1 |$1 == 2 |(N/A)

  |%pre |$1 == 1 |$1 == 2 |(N/A)

  |%post |$1 == 1 |$1 == 2 |(N/A)

  |%preun |(N/A) |$1 == 1 |$1 == 0

  |%postun |(N/A) |$1 == 1 |$1 == 0

- |%posttrans |$1 == 0 |$1 == 0 |(N/A)

+ |%posttrans |$1 == 1 |$1 == 1 |(N/A)

  |===================================

  

  Note that these values will vary

Years ago RPM fixed the scriptlet arguments for %pretrans and %posttrans
to not be zero. This catches up the Scriptlets document to match that
reality.

Fixes #1051.

Pull-Request has been merged by ngompa

7 months ago
Metadata