@dmnks commented on this pull request.
> @@ -80,6 +94,33 @@ static int doShell(rpmSpec spec)
}
#endif
+static int printSpecAddresses(rpmSpec spec, bool printPatches)
+{
+ SpecSrcIter iter(rpmSpecSrcIterInit(spec));
+ if (!iter) return 1;
+ rpmSpecSrc src;
+ while ((src = rpmSpecSrcIterNext(iter.get())) != NULL)
+ {
+ bool isPatch = (rpmSpecSrcFlags(src) & RPMBUILD_ISPATCH) != 0;
+
+ if (isPatch == printPatches){
+ const char* url = rpmSpecSrcFilename(src,1);
Also, to not block you from fixing & polishing this first version, we can do
the above a bit later as a separate commit(s).
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4262#discussion_r3537972103
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/4262/review/[email protected]>_______________________________________________
Rpm-maint mailing list
[email protected]
https://lists.rpm.org/mailman/listinfo/rpm-maint