Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare rpm changelogs & pre/postinstall scripts #38

Open
davidpodeur opened this issue Jul 29, 2019 · 0 comments
Open

Compare rpm changelogs & pre/postinstall scripts #38

davidpodeur opened this issue Jul 29, 2019 · 0 comments

Comments

@davidpodeur
Copy link

Hi,

In order to get changelog diff & pre/postinstall scripts diff, i suggest the following modification:

diff --git a/pkgdiff.pl b/pkgdiff.pl
index e6024b4..89ffc1a 100644
--- a/pkgdiff.pl
+++ b/pkgdiff.pl
@@ -3187,7 +3187,7 @@ sub readPackage($$)
                 $TotalDeps{$Kind." ".$N} = 1;
             }
         }
-        $PackageInfo{$Attr{"Name"}}{"V$Version"} = queryRPM($Path, "--info");
+        $PackageInfo{$Attr{"Name"}}{"V$Version"} = queryRPM($Path, "--info --changelog --scripts");
         $Group{"Format"}{$Format} = 1;
     }
     elsif($Format eq "ARCHIVE")

Best regards,
David

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant