[Rpm-maint] [rpm-software-management/rpm] Make "%patchlist -f patches" work. v2 (#1043)

Florian Festi notifications at github.com
Wed Feb 12 12:55:32 UTC 2020


ffesti commented on this pull request.



> +	rpmlog(RPMLOG_ERR, _("line %d: Bad option %s: %s\n"),
+	       spec->lineNum,
+	       poptBadOption(optCon, POPT_BADOPTION_NOALIAS),
+	       spec->line);
+	goto exit;
+    }
+
+    lst = argvNew();
+
+    for (arg = 1; arg < argc; arg++) {
+	if (rstreq(argv[arg], "-f")) {
+
+	    if (!argv[arg+1]) {
+		rpmlog(RPMLOG_ERR,
+		       _("line %d: \"%%%s -f\" requires an argument.\n"),
+		       spec->lineNum, name);

Done.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1043#discussion_r378232549
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200212/f9ce6e91/attachment.html>


More information about the Rpm-maint mailing list