[Bug 511321] New: Enforce patch tagging by rpmlint check
http://bugzilla.novell.com/show_bug.cgi?id=511321 Summary: Enforce patch tagging by rpmlint check Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: dmueller@novell.com ReportedBy: prusnak@novell.com QAContact: qa@suse.de CC: ro@novell.com, mrueckert@novell.com Found By: Development We are trying to use patch tagging in packages .spec files. This is documented here: http://en.opensuse.org/Packaging/Patches I suggest to create a simple RPMlint check which does the following: ("patch lines" are the lines in spec preamble which match "^Patch.*:") * checks if any of the patch lines contain %version or %{version} macro * checks if any of the patch lines have missing patch comment on the previous line * checks if all of the patch comments match this regexp: ^# PATCH-\{FIX\|FEATURE\}-\{OPENSUSE\|SLE\|UPSTREAM\} .*\.patch .* .*@.*\..* If the spec does not follow these points a warning with a link to the wiki should be emitted. We might want to raise an error, but this is better to be discussed with darix. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=511321
User prusnak@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=511321#c1
--- Comment #1 from Pavol Rusnak
http://bugzilla.novell.com/show_bug.cgi?id=511321
User dmueller@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=511321#c2
Dirk Mueller
http://bugzilla.novell.com/show_bug.cgi?id=511321
User prusnak@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=511321#c3
Pavol Rusnak
http://bugzilla.novell.com/show_bug.cgi?id=511321
User mrueckert@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=511321#c4
--- Comment #4 from Marcus Rückert
http://bugzilla.novell.com/show_bug.cgi?id=511321
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=511321
https://bugzilla.novell.com/show_bug.cgi?id=511321#c5
Dirk Mueller
participants (1)
-
bugzilla_noreply@novell.com